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 :
Customer experience | Sales, Customer Insights,...
Unanswered

How append a string value to the same string liquid language Portals

(0) ShareShare
ReportReport
Posted on by 195

Hi 

{% assign brand ="717690000,717690001" %}

{% assign brandfilter= brand  | split: ',' %}

{% for value in brandfilter %}
{%if brandfilter.size > 1 %}
      {% assign brandfiltermultiselect='<condition attribute="mrc_brandvaluemultiselect" operator="in" value="{{value }}" />' | append : " "%}
{% else %}
      {% assign brandfiltermultiselect='<condition attribute="mrc_brandvaluemultiselect" operator="in" value="{{value }}" />' %}
{% endif %}
{% endfor %}

If(brandfilterValue>1)

string a1 = '<condition attribute="mrc_brandvaluemultiselect" operator="in" value="{{value1 }}" />

<condition attribute="mrc_brandvaluemultiselect" operator="in" value="{{value1 }}" />'

}

Based on the no.of  values need to keep on adding/assigning <condition atrribute="mrc_brandvaluemultiselect" operator="in"  value={{}}"/> to the single variable  

[No.of values = no.of <condition attribute=....../>

If I have 3 values in brandfilter then I want the three  <condition attribute=....../> with the values inside  

Please help me with this.

Thanks in advance!!.

Regards,

Susritha

I have the same question (0)

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans