Loading in 2 Seconds...
Loading in 2 Seconds...
Can you help with this problem? I am trying to use a command line switch to generate a document and there have been difficulties. First ,I have to make sure the document specification works. Starting it from the directory works so I believe the . dsx is set up correctly – true?.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Can you help with this problem? I am trying to use a command line switch to generate a document and there have been difficulties.
First ,I have to make sure the document specification works.
Starting it from the directory works so I believe the .dsx is set up correctly – true?
Result - The document is generated and has the correct file name.
…And the dxl is modified for the correct path names (see screen shot on previous page for path names),…
When using this script retrieved from the forum the results are different.
The module attribute is defined per instructions…
// Export module using RPE with named RPE Specification
SJF 2010/07/20 Created
This script reads the value of an RPE specification associated with this module from a module attribute.
It then invokes RPE launcher which generates the document
For this script to function the module needs to have a module attribute called 'RPE Specification'
The value of this attribute should be the name of the DSX file associated with the module (without the .dsx extension)
If the DSX file is in a subfolder within the RPE specifications folder (defined by string variable 'RPESpecFolder')
then the subfolder should be part of the attribute value and these should be separated with a double backslash
e.g. m."RPE Specification" should be equal to "Project 01\\Business Requirements"
// Set the value of RPESpecFolder to point to the folder where your RPE Specifications are stored
// This would normally be a mapped drive on a server
// Note: double back slashes must be used to separate nested folder names
// Note: value must end with a double back slash
string RPESpecFolder = "Z:\\RPE Demonstration\\"
Module m = current
string RPESpecAttrName = "RPE Specification"
if(!exists attribute RPESpecAttrName)
ack "Module attribute '" RPESpecAttrName "' does not exist'"
string RPESpecName = m.RPESpecAttrName
string RPESpecFullName = RPESpecFolderRPESpecName ".dsx"
string RPEHome = getenv "RPE_HOME"
string LauncherFullName = RPEHome "launcher\\rpe-launcher.exe"
system "\"" LauncherFullName "\" -publish " RPESpecFullName "\""
And the results is a blank document without the correct file name.
Can anyone spot the problem?