Home Search

DriveWorks Pro 21
Export Form

Send Feedback

Export Form

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.

What the Export Form looks like
The 3D Preview Box control is supported in DriveWorks 15 or newer.
Content displayed in the 3D Preview box, at the time of the export, will be included in the image file.
Exporting a Form that contains a 3D Preview Control is not supported via IIS.
To successfully Export a Form containing a 3D Preview when using IIS, you will need to place the Release Document Task that Exports the Form on the Leave State Event of an Automatic State, or the Enter State Event of the Paused State after the Automatic State. Be aware this method requires DriveWorks Autopilot.

To Add an Export Form document

In DriveWorks Administrator open the Project the Document is to be applied and go to Stage4: Output Rules then Documents - Files

  1. Click the "Add" button on the command bar.
  2. Choose the Export Form item from the Documents list in the Create Document wizard.
  3. Enter a name for the Document in the field below the Document and Document Template list. 
  4. Click "Finish".

General Settings

Form to Export

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.

To change the Form to Export

  1. Click the "Build Rule" button at the end of the Form to Export field.
  2. In the rule builder enter the name of the form that is required to be exported.
  3. Click OK in the Rule Builder to apply the rule.

File Location

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:

  1. Click the Build button at the end of the Path Rule field
  2. Enter a qualified path in the Rule Builder that will be the location of the new document.

Please see Info: Where To Store DriveWorks Data for information on where to store the data associated to a DriveWorks implementation.

Path Rule Examples

RuleMeaning

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.

Hide From Document List

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.