plugins - Allow only single attachments to notes for a specific entity in ms crm 2013 -


i need allow single attachment specific entity's note section. need develop plugin same. message should displayed user informing him single document allowed per audit rules , user should contact production services remove unwanted documents.

please me understand on entity , event need fire plugin.

thanks in advance!!!

register pre-operation synchronous plugin on create message of annotation. in plugin see if there exists other annotations related same record (using objectid field) attachments (using boolean isdocument).

in case another note attachment exists, throw exception message user, result in note not being created.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -