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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dyn365 Portals - Liquid Display Optionsets on Web Page Templates

(0) ShareShare
ReportReport
Posted on by

I am creating a web template and want to display an option set value:

I am passing the record id as a parameter to this page using the web template.

here is my code:

{% assign stuff = entities.new_stuff[request.params.id] %}

{% if stuff %}

Stuff Picklist: {{stuff.new_stuffpicklist.value}}

Stuff String: {{stuff.new_stuffstring}}

{% endif %}

Entity Permissions are setup.

There are values in the record.

The string value shows up on the web page.

The picklist value does not (nothing shows up).

This issue was posted here:

https://community.adxstudio.com/forums/adxstudio-portals/0cfad678-bc5b-e511-80de-000d3a100e15

With no clear answer.

Is this just something that does not work (option sets on web page templates?)  Or is there something missing from my code?

I can get optionset values to show up on liquid embedded directly on a web page record.

Thanks

*This post is locked for comments

I have the same question (0)
  • Sainath Pillanagrovi Profile Picture
    217 on at


    {% assign Contact = entities.contact['D7A1E5B9-88DF-E311-B8E5-6C3BE5A8B200'] %}
    {% if Contact %}
    {{ Contact.fullname }} ({{ Contact.gendercode.label }}) ({{ Contact.gendercode.value }})
    {% endif %}

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans