Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Event Portal - display option set labels

(0) ShareShare
ReportReport
Posted on by 40

Hi

I am customizing a self-hosted events portal and would like to display the event type on the listing,

{{ event.eventType }}  pulls in the value and not the label. 

Help would be appreciated to how I can get the label to display.  
  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Event Portal - display option set labels

    Hi Redweb,

    It is very glad that your problem has been solved.

    If you had found my answer helped, please kindly mark it as verified(by clicking "Yes" above the reply) to close the thread, it would be really appreciated.

    Regards,

    Clofly

  • Suggested answer
    Redweb Profile Picture
    Redweb 40 on at
    RE: Event Portal - display option set labels

    Brilliant.  Many thanks.  Works great.

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Event Portal - display option set labels

    Hi Redweb,

    Thanks for your feedback!

    Currently, option text is(OData Formatted Value) not supported by Event API. 

    We can also find in console that the field only returns numeric value.

    5852.JPG

    A workaround is that you could display label manually with ngSwitch directive .

    E.g: add customization code inside card-body class element of home.component.html file.

    pastedimage1597199607594v1.png

    Executive briefing
    Conference
    Demonstration
    Training
    Webcast
    No type is selected.

    Result

    pastedimage1597199721741v2.png

    Please share your thought to Ideas forum.

    Regards,

    Clofly

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans