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 / Show records which are...
Power Pages
Unanswered

Show records which are not assigned to logged in user

(0) ShareShare
ReportReport
Posted on by 79

Hi all,

for the logged in user I want to display all records of a list which are not assigned to this user. 
The user comes from the related contact table.

I have build the other way around (show all records where the logged in user is assigned as a contact) with access type "Contact access" and a table permission but this wont held for this usecase. 

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Can you give more details of the requirement? Sounds a bit strange one to me

  • xxYYxx Profile Picture
    79 on at

    Sure. I have a table which is called applications and has a relation to the standard contact table. 
    So an application could be assigned to a specific user. 
    The requirement is, that the logged in user sees in a list, which application is not assigned to him. 


  • GWham1 Profile Picture
    on at

    Sounds like a little bit of an obscure one!

     

    Have you tried to use Advanced Find / Query to get the results you want? If you can do that - then I suggest using FetchXML in a web template to display the results on your portal page. Reminder: you will need to create a table permission for the tables you are querying.

     

    Here is an example to get you started.

     

    {% fetchxml tickets %}
     // put fetch here
    {% endfetchxml %}
    
    {% if tickets.results.entities.size > 0 %}
     {% for result in tickets.results.entities %}
     {{ result.name }}
     {% endfor %} 
    {% endif %}

     

     

     

     

  • Fubar Profile Picture
    8,344 Super User 2025 Season 2 on at

    You would need Global permission on the Table in question, and then create a View where the criteria is contact lookup field does not equal a contact (any contact - the portal will substitute in the current logged in user), or if only after unassigned the lookup field does not contain data - and then only use those views on the List.

    However, adding a Global permission may play havoc with your contact scoped permission depending on what else you may be doing.

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