DriveWorks Pro 15: Default File Name [send feedback...]

Default File Name

The file name and path to use for the next uploaded file. If a file extension is omitted it will be taken from the uploaded file. It is possible to use prefixes such as <Project>.

Property Type: Dynamic

Default Value: No default value is applied to this property

Hierarchical Reference: ControlNameDefault

To Change the Default Value

The default value of the property can be changed by any of the following methods:

  • Enter the required value directly into the enabled property field.
    1. Click in the property for the control to be changed.
    2. Type the required value directly into the property field.
  • Activate the rule builder.
    1. Click in the property for the control to be changed.
    2. Click the build button at the end of the property field to launch the rule builder .
    3. Enter the rule in the rule editor and click OK to apply.

Examples

Default File Name Property ValueResultNotes
"\\DriveWorks\ProjectName\Images\" & UploadControlWill upload a file to the specified location and use the original file name e.g. \\DriveWorks\ProjectName\Images\OriginalName.jpgNote the ControlName (UploadControl) and not UploadControlReturn is used.
"\\DriveWorks\ProjectName\Images\" & DWVariableImageName & FsGetExtension(UploadControl)Will upload a file to the specified location and give it a new file name e.g. \\DriveWorks\ProjectName\Images\NewName.png
"\\DriveWorks\ProjectName\Images\" & DWVariableCurrentUser & "\" & DWVariableImageName & FsGetExtension(UploadControl)Will upload a file to the specified location, based on the CurrentUser name and give the file a new name e.g.\\DriveWorks\ProjectName\Images\JohnSmith\NewName.png

Value can be controlled by a rule.

Table of Contents