Information on this page is only applicable to M-Files (server) version 12.0.6783.0 and higher.

Property definition ID by alias


Resolves a single property definition alias to its ID.

The alias should be URI-encoded. If resolving multiple aliases, or your alias contains the character \, then it is recommended to use /structure/properties/itemidbyalias, or /structure/metadatastructure/itemidbyalias.


Output: int
  Returns the ID of property definition with the given alias, or -1 if none could be found.

If multiple property definitions have the same alias then -1 will be returned.