File Name Restriction

From SmartWiki
Jump to: navigation, search

On Single File and Multiple File Upload fields, you can enforce a file naming convention to files uploaded to SmartSimple.

To configure this feature, edit the custom field, enter the file name you want to enforce on all files uploaded to this field, and save your changes.

FileNameRestriction.png

The file name restriction feature is variable processor compatible for both single file and multiple file uploads. For example, the following configuration will enforce uploaded files to be renamed to: name of the current Level 1 record - current year:

VariablesInFileNameRestrictions.png

Note: Enforcing a file name does NOT affect the file extension.

When users upload their files, they will be presented with a message informing them that their files will be renamed per the naming convention you have specified:

File Renamed To.png


When File Name Restriction is configured, multiple files uploaded to the same field will be named with version numbers. If your File Name Restriction is set to filename, the first file uploaded will be renamed filename, the second file uploaded will be renamed to V_1_filename, etc.

Note that any spaces in file names specified will be replaced by the underscore character ("_"). Certain special characters including colons, commas, asterisks, percentage signs and question marks in the file names will also be replaced with underscores.

See Also