web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Hide a records visibility based on an event

(1) ShareShare
ReportReport
Posted on by 1,672

Hi,

I have a requirement to hide a record in the from all other users except the users who hides it.

That is, I have a product and when the sales manager selects the option "block this product for my client", the this product should be visible to this sales manager only. This product should be hidden from others. How I can achieve this requirement?

Thanks in Advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi Nijos, Hiding Fields, Options and Sections on a Form is something we can do with either Business Rules or JS. However Access to data / records is controlled by the crm security model which is based on record ownership & security roles. so depending on how you are showing your products (fields vs line items) then you will need to consider this.

    I hope this helps :)

  • Verified answer
    Community Member Profile Picture
    on at

    Hi Nijo,

    You achieve this requirement by doing some customization and writing the plugin on retreive multiple of products entity , what you can do create one lookup of user on product entity and ones you clicked on block this product for my client then just set the current user to the custom lookup of user on product entity.

    And write the retrieve multiple plugin on product entity and filter the product, if the current user is not equal to user of custom lookup then filter it from the collection.

  • Nijos Profile Picture
    1,672 on at

    Hi Mohit,

    Initially I tried with option and this works perfect for a great extend. But I want to avoid the plugins and codes to reduce the page loading overheads, that is why am looking an option which uses the CRM builtin features

    Thanks,

    Nijo

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Nijo,

    As per you requirement i don't' think so it is achievable through OOB.

    Are you facing any performance issue with this approach ?

  • Nijos Profile Picture
    1,672 on at

    Hi Mohit,

    YesI am facing performance issues with this approch

    Thanks,

    Nijo

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans