简体   繁体   English

MS CRM 2011 - 用于共享仪表板视图的自定义插件

[英]MS CRM 2011 - custom plugin to share dashboard views

I'm trying to create a MS CRM Dynamics 2011 plugin that shares views in a dashboard when the dashboard is shared with users. 我正在尝试创建一个MS CRM Dynamics 2011插件,该插件在仪表板与用户共享时在仪表板中共享视图。 Right now, when we share a dashboard, users cannot see the views because the views have not been shared as well. 现在,当我们共享仪表板时,用户无法查看视图,因为视图尚未共享。

在此输入图像描述

I know how to share records with code, but I'm not sure how to hook my plugin to a dashboard share event. 我知道如何与代码共享记录,但我不知道如何将我的插件挂钩到仪表板共享事件。 Normally I use the Plugin Registration Tool and specify an entity and CRUD operation required to kick off my plugin: 通常我使用插件注册工具并指定启动插件所需的实体和CRUD操作:

在此输入图像描述

But because Dashboards are not entities (Contact, Account, etc.), I'm not sure how to fire my plugin during sharing. 但由于仪表板不是实体(联系人,帐户等),我不确定如何在共享期间触发我的插件。 Does anyone know how to do this? 有谁知道如何做到这一点?

Figured this out. 想出这个。 Message: GrantAccess. 消息:GrantAccess。 Primary Entity: userform 主要实体:userform

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM