<NameFormat>
Section:
Web Services
Required:
No
Value type:
Formatting string (see description)
Default:
None
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
A format string used to create a particular MIME type. The name format is an arbitrary string that can contain variables that correspond to attribute names. These values of the attributes are substituted for the variables when the object's name is displayed.
The formatting string has the syntax: %variable_name%. Any characters other than a carriage return or line feed may be used to format the displayed name.
If a MIME type does not specify a <NameFormat> tag, then Creo Elements/Direct Model Manager uses the <DefaultNameFormat>. This string is returned from the getObjName() method of any WMRelatedFile.
This tag may be configured to use a localization catalog.
Example
<NameFormat>%PhysName%%FileExtension%</NameFormat>
Was this helpful?