The Export Form Document type will create an image (.png) of a Specified user form as it appears at the point the export is triggered.
In DriveWorks Administrator open the Project the Document is to be applied and go to Stage4: Output Rules then Documents - Files
This is the name of the Form to be exported as a .png file. This field is automatically populated with the name of the first Form to be created in the Project. This will be Details if no Form has been added.
This is the name of the Document and the location to where it will be created. This field is automatically populated with the name of the first Form to be created in the Project along with the .png file extension.
This is the location to store the new document when it is created.
To Build a Path Rule
The rule for the path to store the new document is built by:
Please see Info: Where To Store DriveWorks Data for information on where to store the data associated to a DriveWorks implementation.
Path Rule Examples
Rule | Meaning |
---|---|
If no file path is specified the document will be located at the location specified by the settings Default Specification Folder and Specification Path to form the location: Default Specificaton Folder \ Specification Path | |
"..\Documents" | Will go back a level (..\) from the Project location and place the new document in a folder named Documents. If the
Documents folder does not exist DriveWorks will create it when the
document is created |
"F:\DriveWorks\" & CustomerReturn & "\" & DWVariableOrderNumber & "\Documents" | Will create the document on the network drive F:\DriveWorks. From this point the folder structure calculated by the input Customer, the variable OrderNumber and \Documents will be created. |
"\\FileServer\DriveWorks\" & CustomerReturn & "\" & DWVariableOrderNumber & "\Documents" | Will create the document on the UNC path \\FileServer\DriveWorks. From this point the folder structure calculated by the input Customer, the variable OrderNumber and \Documents will be created. |
When this setting is enabled (by checking the box) the document will be hidden from the Documents list in the Specification Explorer.
The Export Form Document is triggered in the Specification Flow by the Release Documents task.