Saturday, 9 January 2016

Changing security attributes is not allowed in stage 20 plugins

Hi,

Recently we were working on setting Owner of the record in the Pre-Create of the plugin based on our business rules. When we were testing we got the below message. I remember that we did the same in CRM 2013 which used to work properly, some how it is not working in CRM 2015 RTM.

Changing security attributes is not allowed in stage 20 plugins

Moved the code to trigger on Post-Create operation and written a code for assigning a record.

Hope this helps.

--
Happy CRM'ing

Gopinath

No comments:

Post a Comment