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> see Prefixes for more information.
This Control property can be found in the Upload Form Control.
Property Type: Dynamic
Default Value: No default value is applied to this property
Hierarchical Reference: ControlNameDefault
The default value of the property can be changed by any of the following methods:
Default File Name Property Value | Result | Notes |
---|---|---|
"\\DriveWorks\ProjectName\Images\" & UploadControl | Will upload a file to the specified location and use the original file name e.g. \\DriveWorks\ProjectName\Images\OriginalName.jpg | Note 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 | |
"\\DriveWorks\ProjectName\Images\" & DWVariableCurrentUser & "\" & DWVariableImageName &"\" &DWProjectName & FsGetExtension(UploadControl) | Will upload a file to the specified location, based on the CurrentUser, name, Project name and give the file a new name e.g.\\DriveWorks\ProjectName\Images\JohnSmith\NewName\ProjectName.png | |
"<Project>\Images\"& DWVariableImageName & FsGetExtension(UploadControl) | Will upload the file to the location of the Project in a subfolder named Images. |
Value can be controlled by a rule.