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 / why web Template not r...
Power Pages
Answered

why web Template not returning any data from adx_entitypermission Table?

(0) ShareShare
ReportReport
Posted on by 121

Hello Experts,

 

I have requirements from clients that, based on privileges(Read, Create, Write, Append etc) from table permission hide and show content through custom code(JavaScript).

So, I have created web template to read the data from table "adx_entitypermission" but this web template is returning no data although there is data present in the table "adx_entitypermission".

 

I am not sure why its not returning the data. 

Is there any other way to read the privileges from the table "adx_entitypermission" and its values?

Please refer the web template code below 

{% fetchxml ResultData %}

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

<entity name="adx_entitypermission">

<attribute name="adx_append"/>

<attribute name="adx_appendto"/>

<attribute name="adx_write"/>

<attribute name="adx_entityname"/>

</entity>

</fetch>

{% endfetchxml %}

{% if ResultData.results.entities.size > 0 %}

{

“results”:

[
{% for Data in ResultData.results.entities %}

{

"adx_append": "{{Data.adx_append}}",

"adx_appendto": “{{Data.adx_appendto}}”,

"adx_write": "{{Data.adx_write}}",

"adx_entityname": “{{Data.adx_entityname}}”

}

{% unless forloop.last %},{% endunless %}

{% endfor %}

]

}

{% else %}

No data found.

{% endif %}

 any quick help is really appreciable.

 

Best Regards,

Pranesh 

Categories:
  • Verified answer
    praneshJ Profile Picture
    121 on at

    This issue is resolved,

    There was missing table permission for table "adx_entitypermission" and privilege(Read) because of this it was not returning any data.

     

    Thanks,

    Pranesh 

  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @praneshJ ,

    Glad that you have found the solution and thanks for your sharing!

    Best regards,

    Allen 

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Have you tried using the Liquid Object for table permissions? 

    https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-objects#table-permissions

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 43

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 20 Super User 2026 Season 2

Last 30 days Overall leaderboard