Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Salesperson Filter on Contact table

(0) ShareShare
ReportReport
Posted on by

Hello experts

I would like to set up security on "Contact" for salesperson - a salesperson can only view/edit the contacts assigned to him/her. 

I tried to use the security filter on the table Contact in the user profile and everything seems to work but it is tedious since I need to set up 15 different profiles for 15 sales persons.  When I checked the table Contact, there is "Salesperson Filter" in the table by default. So I was wondering that whether the "Salesperson filter" is a more natural way or anything difference from the "security filter"?  

Your input is much appreciated.

Thanks 

*This post is locked for comments

  • Alicja_ Profile Picture
    249 on at
    RE: Salesperson Filter on Contact table

    Hello Paolo,

    Can you please repost the image? It is no longer working. I'm trying to set up the filters to test this solution.

    Thank you!

  • Suggested answer
    Rabin Profile Picture
    2,976 on at
    RE: Salesperson Filter on Contact table

    Hi Enc...

    Just add a code [Filter view: USERID] on the Page...

    When a sales person will try to open a page it will filter the records which has USERID = her/her USERNAME...

    Also Create Permission set where donot allow Sale Person to create a NEW record, only allow them to MODIFY the reocord...

  • The Simpsoid Profile Picture
    625 on at
    RE: Salesperson Filter on Contact table

    Beware a potential problem on this if your salespeople are able to create contacts - if there's a filter limiting them to only seeing those assigned to them, then at the point they create a new contact it would (almost?) immediately fail the check and no longer be viewable or editable by them.  The answer might be to allow all salespeople to see their own OR any not yet assigned to anyone.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Salesperson Filter on Contact table

    Hi,

    If the USERID matches with the salespersons, on the Page properties (I suppose Contact List) you can set a table filter

    Salesperson Code FILTER %USERID.

    s31.postimg.org/.../image.jpg

    If the USERID is more "like" the salespersons, you proceed in the same way, but you need to adjust the aim using the right string function, reference: msdn.microsoft.com/.../dd301259.aspx

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans