Returns the display value for an item in a Schema option list.

For example, assume an option list exists for a custom metadata field named Customer. In the database there is a schema table with the CustomerName and a unique CustomerID. On checkin the CustomerName is visible to the user but the CustomerID is what is stored in the database. The getFieldViewDisplayValue function extracts the human-readable CustomerName based on the CustomerID.

Type and Usage


Takes three parameters:

  • The first parameter is the name of the field to be used for the option list.

  • The second parameter is the name of the schema view used for the current field.

  • The third parameter is the value assigned to the field.


Returns the display value.


<$customerName = getFieldViewDisplayValue("xCustomer", "Customer_View", "1234")$>