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
.
Takes three parameters:
The name of the schema view used for the current field.
The value stored in the database for the ID.
The column name associated with the view.
Returns the display value.
<$custName = getViewValue("Customer_View", "1234", "CustomerName")$> <$custRegion = getViewValue("Customer_View", "1234", "CustomerRegion")$>