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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Liquide code into javascript fuction

(0) ShareShare
ReportReport
Posted on by

Hi

I want to poulate drop down list with facilities record fetched using liqued code. then when user select a facility, i want to display floor and area based on the facility selected.

for that i tried

1.  fetching the facility, then created drop down list using the fetched values,

2. added onchange javascription fuction on the drop down list to capture changed value

3. tried to pass the selected value and fetched floor and area entities related to the facility to create dropdown list for floor and area as below. however, i could not pass the right value to the following code.

{% include 'FetchXML Floor details' facilityid:{{selectedID}}>%}  this template has the code to fetch floor and area
i have attached the facility web template and FetchXML Floor details template files with this.
Also i included the code screen shot which has yellow highlights indicates the code not working. blue higlight indicate thee code portion which is working
Please advice me how i can make this work.
Thanks a lot
[View:/cfs-file/__key/communityserver-discussions-components-files/117/facilityWebTemplate.rtf:320:240]
[View:/cfs-file/__key/communityserver-discussions-components-files/117/FetchXML-Floor-details.rtf:320:240]
pastedimage1609977663346v1.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 164

#2
ManoVerse Profile Picture

ManoVerse 147 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 55

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans