crm dynamics 2016 limit the number of files in a note

不想你离开。 提交于 2020-01-06 07:25:13

问题


I'm trying to attach a document to the opportunity. My question is Can the note be altered so that only one file can be attached and not several?

some example?


回答1:


You can write a plugin on Pre-operation stage of Annotation Create message to evaluate if there is an attachment already for that particular Opportunity & stop the execution by throwing InvalidPluginExecutionException exception.

You can attach only one file in each Notes entry. So this should work.



来源:https://stackoverflow.com/questions/50606322/crm-dynamics-2016-limit-the-number-of-files-in-a-note

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!