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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Read value in web temp...
Power Pages
Unanswered

Read value in web template having choice as datatype in CDS

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

I am writing web template using fetchxml and liquid. I have one column in CDS in having choice as datatype. Can some please tell me how can I read that in web template

Please help
@OOlashyn 
@OliverRodrigues 

@justinburch 

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,453 Most Valuable Professional on at

    Hi, you can read it using the following dotation:

    • .label - for the display name
    • .value - for the choice value itself

    for example:

    {{ account.industrycode.value }}
    {{ account.industrycode.label }}
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 53

#2
DP_Prabh Profile Picture

DP_Prabh 40

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 28 Most Valuable Professional

Last 30 days Overall leaderboard