前提是CRM 2013:仅当用户选择记录上的文档按钮时,才创建共享点文档位置

问题描述 投票:0回答:2

目前,当创建帐户记录时,我的插件会创建SharePoint位置,但是我想避免创建不必要的SharePoint位置,即网站/文件夹,因此,只有当用户单击“文档”菜单(或可能是某些自定义按钮)时,才应创建SharePoint位置。

我可以这样做吗?如果是,如何?


现在使用“自定义”按钮,我可以创建SharePoint位置。但是现在的要求是在导航项目“文档”上创建它。我无法绑定“文档”导航项的Click事件。如果我尝试用

document.getelementbyid(item.getId()).onclick = function () {
    calljsfunction()
    }

出现错误

There was an error with this field's customized event
Field:window
Event:onload
Error:undefined
sharepoint location document dynamics-crm-2013
2个回答
0
投票

2个步骤:

1。编写创建DocumentLocation的CustomAction2.从javascript中调用它,此脚本由功能区中的CustomCommand执行

请参阅此帖子以获取更多信息:https://deepakexploring.wordpress.com/2013/10/23/actions-in-crm-2013/

如果需要更多说明,请添加评论。。


0
投票

您能够使它正常工作吗?我正在寻找相同的解决方案。

© www.soinside.com 2019 - 2024. All rights reserved.