web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Get Option set value label from List Rows

(0) ShareShare
ReportReport
Posted on by 274
Hi All,
 
I'm hitting a bit of a wall with getting the option set value label from List Rows.
Essentially I am setting the outputs into a CSV and this seems to always show up blank.
 
 
I've tried to get the output using the following expressions:
 
outputs('List_rows')?['body/OPTIONSET_NAME_label']
Triggeroutputs()?['body/OPTIONSET_NAME@OData.Community.Display.V1.FormattedValue']
outputs(‘List_rows’)?[‘body/OPTIONSET_NAME@OData.Community.Display.V1.FormattedValue']
 
I have also tried Parsing JSON but can't initialize the variable in an apply to each.
 
Any ideas where I'm going wrong?
 
Cheers
Sam
I have the same question (0)
  • Verified answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Get Option set value label from List Rows
    Hi,
     
    In my test, get the label of the Contact Method option set field in the Contact entity.
     
    The Power Automate Flow is shown below.
     
    The value of the ContactMethod property is: item()?['preferredcontactmethodcode@OData.Community.Display.V1.FormattedValue']
     
    The test results show information for all contacts. 
     
     Below are links that can be referenced.

    Best Regards,
    Dengliang Li
     
  • Sam Conroy Profile Picture
    274 on at
    Get Option set value label from List Rows
    Thank you Dengliang, that worked perfectly. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 284

#2
Sohaib Cheema Profile Picture

Sohaib Cheema 104 User Group Leader

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 77

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans