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 :
Power Platform Community / Forums / Power Pages / Access HTML control va...
Power Pages
Unanswered

Access HTML control value in liquid template

(0) ShareShare
ReportReport
Posted on by

Hello,

Requirement:

  1. Web template have search parameters as HTML control and a Apply button.
  2. Need to access user selection from HTML control and append where condition and form Fetch XML
  3. Get data from CRM and display result in Liquid template.

Limitation:

Cannot implement which Entity List filter option as search parameter has date time control which is not possible OOB.

 

Query:

Need a best solution for this scenario. Currently facing challenge in accessing html control values so implemented solution is to send selected values as query string /cache and reload same page and then fetch result and show.

 

Any better solution to this? Pls. suggest.

Categories:
  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @PallaviW,

     

    If you want to use liquid to display data based on the user input the solution with submitting filter condition as a query string and reload page is the only possible way as liquid is server side rendering. If you would like to dynamically filter data and also present it without page reload I would advice you to check out this post from Colin Vermander where he shows how to use liquid to return json, so you will be able to request data using some js code and show it using some visualization library (like datatables).

     

    Hope this will help.

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 16 Super User 2026 Season 2

#3
anirudhev Profile Picture

anirudhev 4

Last 30 days Overall leaderboard