Views:

Description

Returns the localized optionset value for the optionset value defined by 'entitylogicalname.attributelogicalname' and optionsetname based on the langauge settings for the current user. You can also pass in language code (LCID).

Signature

GetOptionSetValue(
  'entitylogicalname.attributelogicalname', 
  'optionsetname'
)

Example

GetOptionSetValue('opportunity.rating', 'Hot') 
Returns '1'

Parameters

Name Type Description Required
entitylogicalname.attributelogicalname xxxx xxxx xxxx
optionsetname xxxx xxxx xxxx