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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Liquid Language output...
Power Pages
Unanswered

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>

 

 

 

Categories:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard