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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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!

Users online (95,750)