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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Role Based Views - MSCRM 2016

(0) ShareShare
ReportReport
Posted on by 3,710

Hey,

I want display the views based on the roles, in the team without using the Codeplex tool any suggestions and ideas?

Say USER 1 - TEAM A,  User 1 should be able to see the views of the records that belongs to TEAM A and not the views of the other TEAMS

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Santosh bhagat Profile Picture
    464 on at
    RE: Role Based Views - MSCRM 2016

    Try XRMTollbox Plugin

    dotnetdeveloper2012.blogspot.com/.../dynamics-crm-viewroleconfiguration.html

  • Suggested answer
    Alagunellaikumar Profile Picture
    6,212 on at
    RE: Role Based Views - MSCRM 2016

    Hi

    Please refer below URL to hide view through code
    alagunellaikumar.blogspot.in/.../hide-view-in-crm.html

  • Kishor Kumar Profile Picture
    3,710 on at
    RE: Role Based Views - MSCRM 2016

    Hi Mohd I had created as per the link is that, Team A consists of Two Users A and B, when passing the condition, While the User B is also part of the other team B,so my view is getting that team B records also, how to resolve it

  • Suggested answer
    Alagunellaikumar Profile Picture
    6,212 on at
    RE: Role Based Views - MSCRM 2016

    HI

    In the plugin you have to configure

    PLugin message retrieveMultiple

    Entity SavedQuery

    Pre-validation

    In the code you can apply fetchxml or queryexpression filter

    The above way will work.

  • Kishor Kumar Profile Picture
    3,710 on at
    RE: Role Based Views - MSCRM 2016

    Hi RajKumar,

    I want the similar stuff like if User is Kishor, he should able to view certain views and if other user, they should certain views exactlty same thing

    As code plex done with, but without that how we can achieve

    www.powerobjects.com/.../assigning-system-views-based-security-roles-dynamics-crm

  • Community Member Profile Picture
    on at
    RE: Role Based Views - MSCRM 2016

    First create a view and test if it's working. if yes then you have to do it for all the views.

  • Kishor Kumar Profile Picture
    3,710 on at
    RE: Role Based Views - MSCRM 2016

    Mohd,It is the issue am facing now, we have many views and many user and the users are related to Team as mentioned earlier. So when user with Team A  logged in to the system he should have the rights to view  Team A related Records and not other teams.

    So you are asking me to create a view with equals current user or team but give the user as security privilege depth for the users?

    Then what about the existing views whether I have re-customize as current user Mohd?

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: Role Based Views - MSCRM 2016

    Refer this thread:

    community.dynamics.com/.../128143

  • Community Member Profile Picture
    on at
    RE: Role Based Views - MSCRM 2016

    Make sure that security privilege depth for Security role assigned is User Level

  • Kishor Kumar Profile Picture
    3,710 on at
    RE: Role Based Views - MSCRM 2016

    Thanks Mohd,

    But how to restrict the  user not view the other views of record?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans