Skip to the content
Documentation

NamePattern

No ratings yet

Summary

Sets the pattern that will be used to define the name of the object.

Usage

NamePattern=<tag>

Description

This setting sets the pattern that will be used to define the name of the object. The following tags are available:

  • <original_filename>: The same filename of the uploaded file is used as it was named on the locale machine
  • <original_filename_base>: Similar to original_filename. Again the same filename of the uploaded file is used as on the locale machine, but only the base of the name is used and, i.e, no suffix.
  • <original_filename_suffix>: Similar to original_filename. Again the same filename of the uploaded file is used as on the locale machine, but without the suffix
  • <mime_type>: The detected MIME type of the file is used.

This setting is case sensitive.

Examples

[flash_ClassSettings]
FileAttribute=file
NameAttribute=name
NamePattern=<original_filename_base>

For the flash class the name will be the same as the original file name but without suffixes.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.