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', 'languagecode')
Example 1
GetOptionSetValue('opportunity.rating', 'Hot') Returns '1'
Example 2
GetOptionSetValue('opportunity.rating', 'Hot', 1033) Returns '1'
Parameters
Name | Type | Description | Required |
---|---|---|---|
entitylogicalname.attributelogicalname | xxxx | xxxx | xxxx |
optionsetname | xxxx | xxxx | xxxx |