A quick review about the latest version of Microsoft Dynamics CRM can be found here.
Upon creating a custom entity as Activity Entity and not checking the “Display in Activity Menus” option, there is no supported way to alter this. However, here is the unsupported approach (in SQL): UPDATE Entity SET ActivityTypeMask = 1 WHERE EntityId = (SELECT EntityId FROM Entity WHERE Name = ‘custom_entity_schema_name’) After this minor adjustment, a… Continue reading Activity typed Entity – Display in Activity Menus
Sometimes, making an $.ajax request to a web service might return the “No Transport” error, if the web service is hosted in a different domain. To solve this issue, you need to set the CORS support on true: $.support.cors = true; before you make the $.ajax request and the following property on the request level:… Continue reading Fixing Ajax “No Transport” error
When creating a web service, the following configured bindings should be taken into consideration, based on the endpoint you are using (soap, rest etc.), to avoid large parameter structures not being processed or timeout issues: Also, the following runtime tag should look like this: Another best practice to avoid potential “System.InvalidOperationException: The JSON request was too large… Continue reading WCF Service Bindings – web.config
Hello guys, Long time no see. Hope you will find this brief post useful. To add custom filters to a N:1 relationship (lookup) in Microsoft Dynamics CRM (2011 and above), please read this post. To filter a N:N relationship (many to many), please read this post (for CRM 2013) or this post (for CRM 2011).… Continue reading Filtering Relationships in CRM (N:1 & N:N)
Hello guys, This will be pretty straight forward. In order to use the extension methods below in C# for CRM 2011 development, such as plugins, custom workflow actions, windows services or any other type of CRM SDK based application, you need to follow these steps: 1. Download the latest CRM SDK here. 2. Navigate to… Continue reading Useful CRM 2011 .NET extension methods
If you register a plugin step as PreOperation (Create or Update) for a certain entity that has activityparty fields (for example “To” of the E-mail entity), you’ll notice that your code modifications won’t apply for the activityparty fields you try to alter. The solution is to change the Step Execution Stage to PreValidation and it… Continue reading CRM 2011 – Plugin PreOperation Issues