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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Hiding views shared with me

(0) ShareShare
ReportReport
Posted on by

Hi

I've got a long list of views shared with me for a certain entity. I only use a couple of these so I want to remove some.

I've done a search and found the blog below,

community.dynamics.com/.../creating-and-hiding-shared-views-in-microsoft-dynamics-crm-2011.aspx

Whenever I try to deactivate one of the views owned by someone else and shared to me, I get 'Access Denied'. (log below)

I am a system administrator.

================================================================

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #BAF0048DDetail:

<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">

 <ErrorCode>-2147220970</ErrorCode>

 <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />

 <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #BAF0048D</Message>

 <Timestamp>2013-08-08T11:02:24.7314773Z</Timestamp>

 <InnerFault>

   <ErrorCode>-2147187962</ErrorCode>

   <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />

   <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 785ad312-067c-e211-9d49-005056b41d39, OwnerId: 9eba9f1c-5c89-e111-aab9-005056b41d39,  OwnerIdType: 8 and CallingUser: c4c146ea-0595-e111-9675-005056b41d39. ObjectTypeCode: 4230, objectBusinessUnitId: 03f5c8ee-96aa-e111-8e24-005056b41d39, AccessRights: WriteAccess </Message>

   <Timestamp>2013-08-08T11:02:24.7314773Z</Timestamp>

   <InnerFault i:nil="true" />

   <TraceText i:nil="true" />

 </InnerFault>

 <TraceText i:nil="true" />

</OrganizationServiceFault>

================================================================

*This post is locked for comments

I have the same question (0)
  • Gus Gonzalez Profile Picture
    27,113 on at

    Ask the user who shared the view with you to give you "Share" permissions or maybe even to stop sharing it with you.

  • JayRogers Profile Picture
    on at

    Hi

    Currently the views are shared by team, so un-sharing it from the team will cause all members to lose the view.

    We can't remove the person from the team either.

    I will see what happens when the viewer has share permissions.

  • JayRogers Profile Picture
    on at

    I've just got a colleague to share a view with me with share permissions, I still get the access denied message when trying to deactivate the view.

  • Nuno Costa Profile Picture
    1,300 on at

    Hi Jayrogers,

    You need write permissions to be able to deactivate the view.

    If you are a system administrator then you may find the below article helpful with regards to taking over views from people that left:

    quantusdynamics.blogspot.com/.../dynamics-crm-2011-take-other-user-share.html

  • JayRogers Profile Picture
    on at

    Hi

    Let me go into a bit more detail:

    Person A creates a view and shares it with Team A (containing Person B)

    Person B doesn't want to see this view but Team A do.

    Person B want's to remove the view from their list.

    We do not want to reassign views.

    If person B has Write access, they get deactivate the view for everybody.

    If person B has Share access, they get the Access denied when trying to deactivate.

    What next?

  • Verified answer
    ScottDurow Profile Picture
    21 on at

    I think the only options you have are:

    1. Create a sub-set team that doesn't include Person B and share the view with that team

    2. Create a RetrieveMultiple Plugin that is registered on post operation Saved View and trim the results if the context.UserID is person B.  This would use a similar technique as I describe here - community.dynamics.com/.../multi-language-lookups.aspx or here blogs.c5insight.com/.../MS-CRM-4-0-How-to-Hide-System-Views.aspx (CRM4 but would work for CRM2011 as well)

    hth

  • Sumit Bhatnagar 99 Profile Picture
    1,850 on at

    Hi..

    May I have complete Server traces so that I can dig into it.

    thanks a  lot !

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans