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 / Liquid Language output...
Power Pages
Answered

Liquid Language output showing in preview but not on the site

(0) ShareShare
ReportReport
Posted on by 4

Hello, 

im having trouble with Liquid showing only in preview in portal edit but not when you browse the website. Im fetching xml from our dataverse and then using for to write out the output. Any ideas?

 

  • Permission are set to "available for everyone"
  • When inspecting elements in browser there is only empty <div>

 

 

 

<h1 style="text-align: center;">Our People</h1><br>
{% fetchxml pages %}
<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
 <entity name="adx_webpage">
 <attribute name="adx_name" />
 <attribute name="adx_rootwebpageid" />
 <attribute name="adx_partialurl" />
 <attribute name="adx_parentpageid" />
 <filter>
 <condition attribute="adx_rootwebpageid" operator="not-null" />
 <condition attribute="adx_parentpageid" operator="eq" value="2de50ebb-523d-ec11-8c63-6045bd8ed85e" />
 <condition attribute="adx_name" operator="ne" value="Access Denied" />
 <condition attribute="adx_name" operator="ne" value="Profile" />
 <condition attribute="adx_name" operator="ne" value="Page Not Found" />
 <condition attribute="adx_name" operator="ne" value="Contact us" />
 <condition attribute="adx_name" operator="ne" value="Search" />
 <condition attribute="adx_name" operator="ne" value="Pages" />
 </filter>
 </entity>
</fetch>
{% endfetchxml %}

<div class="our-people" style="display: grid; grid-template-columns: 3fr 3fr 3fr;">
 {% for item in pages.results.entities %}
 <p style="color:black;">{{ item.adx_name }}</p>
 <a href="https://canadian-chamber.powerappsportals.com/{{item.adx_partialurl}}">Link</a>
 {% endfor %}
</div>

 

 

 

Screenshot 2021-12-14 at 20.35.39.png
Screenshot 2021-12-14 at 20.47.38.png
Screenshot 2021-12-14 at 20.36.05.png
Categories:
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Rostyk1 

     

    Can you also post your table permissions screenshot? 

  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Rostyk1 

     

    huh !! I can see you need to use the "Anonymous" user web role  in the below screenshot 

     

    In the table permissions,  set the adx_Webpage permission as follows and remember to add your appropriate web role. Screenshot for reference 

     

    ragavanrajan_1-1639516021599.png

     

     

    Hit save and close 

     

    In Portal studio: 

     

    Syn config and Browse the website > Ctrl + F5( hard refresh) 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

  • Rostyk1 Profile Picture
    4 on at

    Yes, it was a table permission. Thanks for your time. 

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 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 33

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard