To view all the registered Plugin Steps (for all the plugins) in a single query, use the following SQL statement: SELECT T.PluginAssemblyIdName AS PluginName, S.name AS StepName, S.description AS StepDescription, M.name AS Action, E.name AS Entity, CASE S.Stage WHEN 20 THEN ‘PRE’ WHEN 40 THEN ‘POST’ ELSE ‘OTHER’ END AS Stage, CASE S.StateCode WHEN 0… Continue reading View all registered Plugin Steps (SQL)
Category: CRM 2013
Fixing Ajax “No Transport” error
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
WCF Service Bindings – web.config
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
Filtering Relationships in CRM (N:1 & N:N)
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)
CRM 2011 – enable tracing
To enable tracing in CRM 2011, go to regedit.exe > HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > MSCRM and add two new keys: TraceEnabled and TraceRefresh (both DWORD, value = 1)