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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Filter View on Custom Entity Lookup to User

(0) ShareShare
ReportReport
Posted on by 81
Hello,
 
I'm using D365 CE and have a custom entity (Boats) with a lookup to User (Captain).  I'm trying to create a view that will show all Boats where the Captain is the current User or the Captain is 'Under' the current User.  Basically, trying to mimic the OOB functionality of the Owner field and the 'Equals current user of their reporting hierarchy'.
 
Is there a way a view like this can be created?
 
Any help is appreciated.
 
Thank you,
 
Jim
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    By setting up hierarchical security for users, it is possible to realize that higher-level users can access the records of lower-level users.
    The steps are as follows.
     
    Step 1. Create records for each of the two Users (Captain) and assign the records to them.

     
    Step 2. Set up hierarchy security.
    1. Click Advanced Settings -> Security ->  Hierarchy Security -> Enable Hierarchy Modeling -> Save and Close

        2.Click Advanced Settings -> Security -> Position -> NEW to create positions for users

     

     

     
    Step 3. The results show that users with a higher level can access the records of lower level users.

     

     
     I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Dengliang Li
     

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 148

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 86 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 85 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans