As part of a requirement I needed to create a plugin to set the ownership of a record prior to its creation as setting it after this event would not work for what the customer needed, this means that it would run on PreOperation and subsecuently set the property OwnerId to the resulting owner that … Continue reading Changing security attributes is not allowed in stage 20 plugins.
Today I had to build a method to retrieve a Security Role based on its name and I would like to share it so hopefully it can help anyone. LINQ is used to do the actual search.
Prerequisites XRM Toolbox. Before editing the Site Map, make sure you have a backup of it. To do this, you can create a new Solution and add “SiteMap” by clicking on: Add Existing --> Sitemap. As a last step, export the solution. If something goes wrong, just import it again and all issues in the … Continue reading How to edit SiteMap