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