Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
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>

 

 

 

  • Rostyk1 Profile Picture
    4 on at
    Re: Liquid Language output showing in preview but not on the site

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

  • Verified answer
    ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Liquid Language output showing in preview but not on the site

    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.

     

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Liquid Language output showing in preview but not on the site

    Hi @Rostyk1 

     

    Can you also post your table permissions screenshot? 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35