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>