Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to hide views based on Security Role/Team ?

Posted on by Microsoft Employee

Hi ,

I have created so many views for the sake of Dashboard reports but those are showing to everyone. I want to show those views to particular group or something like that is that possible?

Regards,

Manikandan S.

*This post is locked for comments

  • Suggested answer
    Mohan Kumar  Profile Picture
    Mohan Kumar 90 on at
    RE: How to hide views based on Security Role/Team ?

    Basically, create a new UCI App -  similar to the existing one and configure the views that needs to be showed/hidden for each entity. Assign the security roles as needed. Hope this helps.

  • VINAY012 Profile Picture
    VINAY012 on at
    RE: How to hide views based on Security Role/Team ?

    There is no out of the box way to hide view based on security roles, but you can do custom development or can use this tool :rolebasedviews.codeplex.com

    This tool is not available  can any one suggest any other tool or idea would be appreciated

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to hide views based on Security Role/Team ?

    Hi Manikandan,

    proceed as follows.

    1) Add at the begin (or end) of your view name a code, like ALL or TEAM NAME X, o TEAM NAME Y

    2) Create a plugin/workflow which share or unshare view following some rule, like:

    if(view.name.contains(ALL)) then share with all teams/users

    else if(view.name.contains(TEAM)) then share with all team name

    Please let me know if you solve.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: How to hide views based on Security Role/Team ?

    Hi Mani,

    You can also create a Private view and Share it with the Team of the Business Unit. This will give access to all the users that are members of that team access to the view.

    Just another alternative to custom code or using Role Based Views tool.

    Hope this helps.

  • Suggested answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: How to hide views based on Security Role/Team ?

    Hi mani,

    As mahendar suggested there is no OOB feature available and you can use XrmToolBox to achieve it. If you are looking something using SDK then follow the below link.

    [View:http://alagunellaikumar.blogspot.sg/2015/11/hide-view-in-crm.html?m=1]

    Hope this helps.If the suggestion resolved your query .Pls mark it as answered/verified to close the thread.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to hide views based on Security Role/Team ?

    Hi,

    you can check it here:www.xrmforyou.com/products.html

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to hide views based on Security Role/Team ?

    Hi Mahender,

    That link has warning like"This tool is no longer maintained and available in codeplex. ".

    Regards,

    Manikandan S.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to hide views based on Security Role/Team ?

    Hi Mani,

    There is no out of the box way to hide view based on security roles, but you can do custom development or can use this tool :rolebasedviews.codeplex.com

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans