用于导出到 Excel 的 CRM 插件
我希望编写一个插件,拦截Dynamics CRM 4.0中导出到excel的功能。当用户导出到 Excel 联系人数据时,我想限制数据(基于安全逻辑)。 我找不到与导出相关的消息,它只是执行消息。 Exceutioncontext 中是否有可用于识别导出的属性?
I wish to write a plugin which intercepts export to excel function in dynamics CRM 4.0. I want to limit the data (based on a security logic) when user exports to excel contact data.
I can not find a message related to export, it is just execute message. Is there any property in Exceutioncontext which could be used to identify export?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CRM 4.0 对可导出的记录数量没有限制。但是,我使用自定义 ISV 按钮、.Net 导出页面(类似于 OOB 中的页面)来实现,并根据角色限制记录数量(角色详细信息在配置中维护)。这是完整的定制解决方案。安全角色的 OOB 导出已禁用。
CRM 4.0 doesn't have a restriction on number of records can be exported. However, I've implemented using a custom ISV button, .Net Export page (similar to the one in OOB) and restricted the number of records based on the role (the role detail were maintained in the configuration). This is complete custom solution. The OOB export was disabled to the security roles.