M-Files API 23.11.13135.0
SemanticAliases Object
Members 
Description
The SemanticAliases class represents the semantic aliases of a metadata structure element.
Public Methods
Creates a copy of the object.
Public Properties
A semicolon-separated list of semantic aliases.
Remarks

Semantic aliases can be defined for numerous different elements like object types, classes, value lists, property definitions, workflows, states, named access control lists and external sources.

By using semantic aliases, you can identify metadata structure elements with a textual identifier, without relying on the numeric IDs. This is especially useful for applications and scripts that need to work in more than one vault. For example, you could use the API call GetPropertyIDByAlias( "MyApp.CustomerName" ) to find out the ID of the property definition that has "MyApp.CustomerName" as one of its semantic aliases.

 

An example of the semantic aliases list (highlighted with the green rectangle) for an object type in M-Files Admin.

See Also

SemanticAliases Members