cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User
Super User

@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
Highlighted
Super User
Super User

@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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,310)