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

NameTypeDescriptionRequired
entitylogicalname.attributelogicalnamexxxxxxxxxxxx
optionsetnamexxxxxxxxxxxx

Notes: