Announcements
Hi
I was studying about onPremises and Online CRM. When we register Plugin in OnPremises CRM, we have 2 options: SandBox and None.
I have some questions about this topic.
1. what happened with plugins when we convert On-Premises to Online CRM.
2. Can we change Sandbox to NONE or vice-versa. if yes, what will be the effects of this active.
3. Can we change Database storage to DISK/GAC. if yes how it will affect our system.
4. when we are using plugin on post-operation, there is one thing that mentioned on Microsoft-Learning path, the changed values are saved in post-operation. Now if our plug-in fails, the saved changes are rolled back. Same happen with pre-validation and pre-Operation. Can any please give me some example when to use these three.??
Ok. Now its clear. Thank You :)
Hi,
1. CRM online only support Sandbox mode. We will have to convert plugin assembly Isolation mode to sandbox from None before migrating to online.
2. Yes we can always change from sandbox to none and vive versa. There are some limitations with sandbox plugin such as it can access event logs etc. You can read about this in below blog.
Plugin trace log will not be available for None mode.
3. Yes you can change to disk but you will have to manually deploy your plugin assembly to all the servers if you have multiple front end server.
4. Use post operation plugin when you need to create related record and associate that record with parent because you will only get record Id in post operation. For example creating Email record on create of Task and set the regarding field.
Use prevalidation when you need to validate user input and do some validation.
Use pre-operation when you need to set some fields value on your entity record
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156