cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

CDS Formatted OptionSets

When performing a select query for fields in CDS (D365), is there a way to return formatted data results?

 

I.e., instead of the enum 8200000, I want to get back 'Work'

 

I tried adding to the end of a field in the selectQuery view.

OData.Community.Display.V1.FormattedValue

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions

@Greggomatic - Test this out with a Compose step: body/<fieldname>@OData.Community.Display.V1.FormattedValue

 

Here is an example: body/statuscode@OData.Community.Display.V1.FormattedValue

 

Refer to the great blog by @LinnZawWin - https://community.dynamics.com/365/b/linn-s-power-platform-notebook/posts/get-the-lookup-display-nam...

View solution in original post

1 REPLY 1

@Greggomatic - Test this out with a Compose step: body/<fieldname>@OData.Community.Display.V1.FormattedValue

 

Here is an example: body/statuscode@OData.Community.Display.V1.FormattedValue

 

Refer to the great blog by @LinnZawWin - https://community.dynamics.com/365/b/linn-s-power-platform-notebook/posts/get-the-lookup-display-nam...

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (9,688)