Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
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:
  • Fubar Profile Picture
    7,964 Super User 2025 Season 1 on at
    Re: Show records which are not assigned to logged in user

    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.

  • GWham1 Profile Picture
    on at
    Re: Show records which are not assigned to logged in user

    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 %}

     

     

     

     

  • xxYYxx Profile Picture
    79 on at
    Re: Show records which are not assigned to logged in user

    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. 


  • oliver.rodrigues Profile Picture
    9,319 Most Valuable Professional on at
    Re: Show records which are not assigned to logged in user

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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43