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 :
Service | Customer Service, Contact Center, Fie...
Answered

How to display MultiSelect Option Set in Dynamics 365 Web Portal with Liquid Template

(0) ShareShare
ReportReport
Posted on by 195

Hi,

I am trying to display the selected values of a MultiSelect Option Set in a custom Web page in Portals using Liquid Template.

I wrote the FetchXml query in a webTemplate.

{%fetchxml Contact %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="contact">
<attribute name="fullname" />
<attribute name="contactid" />
<attribute name="mrc_brandvaluemultiselect" />
<order attribute="fullname" descending="false" />
<filter type="and">
<condition attribute="fullname" operator="eq" value="{{username}}" />
</filter>
</entity>
</fetch>
{% endfetchxml %}
{% for item in Contact.results.entities %}
brandfilter = {{item.mrc_brandvaluemultiselect}}
{%endfor%}

I test it the query in XrmToolBox, it's return the field with values.

<resultset>
<result>
<fullname>ssssssss</fullname>
<contactid>{415CC5D2-3DEF-E911-A989-7467674746574}</contactid>
<mrc_brandvaluemultiselect name="[-1,717690001,-1]">[-1,717690001,-1]</mrc_brandvaluemultiselect>
</result>
</resultset>

But when Liquid Template executes the query in the Web Template, the brandfilter (multi select optionsetvalues) field is null or empty and getting values for Id,fullname.

Regards,

Susritha

I have the same question (0)
  • Verified answer
    LeoAlt Profile Picture
    16,341 Moderator on at

    Hi partner,

    I also tried in my portal to get a multiple opt field from custom entity and it also returned empty.

    pastedimage1588820059809v1.png

    I also found that portal does not support multiple opt field both in liquid template or entity form. It is by design, I recommend you to raise a ticket to Microsoft about this issue.

    Best Regards,

    Leo

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 63 Most Valuable Professional

#2
11manish Profile Picture

11manish 23

#3
Hamza H Profile Picture

Hamza H 14 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans