Skip to main content
Community site session details

Community site session details

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

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: why web Template not returning any data from adx_entitypermission Table?

    Have you tried using the Liquid Object for table permissions? 

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

     

  • v-albai-msft Profile Picture
    on at
    Re: why web Template not returning any data from adx_entitypermission Table?

    Hi @praneshJ ,

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

    Best regards,

    Allen 

  • Verified answer
    praneshJ Profile Picture
    121 on at
    Re: why web Template not returning any data from adx_entitypermission Table?

    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 

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