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 / 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,482 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,505 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 50

#1
11manish Profile Picture

11manish 50

#3
Valantis Profile Picture

Valantis 26

Last 30 days Overall leaderboard