Category Archives: CRM

Introducing a new productivity Visual Studio extension for CRM developers

New in 3.9: Added support for Portal content snippets New in 3.8: Added support for client ID/secret and MFA New in 3.7: Automatic Portal cache refresh (xRM CE Portal only) New in 3.6: Auto-deployment of linked items New in 3.5.3: … Continue reading

Posted in CRM | 7 Comments

‘Plug-in assembly does not contain the required types or assembly content cannot be updated.’ when importing CRM solution

I was importing a simple solution with a few plugins into my Test environment and got this error message: Plug-in assembly does not contain the required types or assembly content cannot be updated. Apparently this can occur for a number of … Continue reading

Posted in CRM | Leave a comment

Showing the ‘records associated with this view’ button for sub-grids in CRM

Sub-grids on CRM forms typically have a button that takes you to a view showing all records associated with the main record, as shown below. Have you ever wondered how to remove this button or add it back? The visibility … Continue reading

Posted in CRM | 4 Comments

Connector for Dynamics: ‘Could not find key [ID field] in Dictionary for entity’ when mapping to custom entity in CRM

Using the Connector for Dynamics I was mapping an entity in GP 2010 to a custom entity in CRM 2013. In this case the schema name of my custom CRM entity is ng_courseinvoice (the display name is Course Invoice). When the map is … Continue reading

Posted in CRM, Dynamics Connector, Dynamics GP | Leave a comment

Getting formatted value/label for OptionSetValue in early-binding

In the CRM SDK, when you retrieve the value of an Option Set attribute for an entity, only the integer value is returned. This is true for both early and late binding. To retrieve the formatted value, i.e. the corresponding … Continue reading

Posted in CRM | Leave a comment

Retrieving related records using RetrieveRequest in CRM

Retrieving related records in CRM may not be straightforward for someone starting out in CRM development. I previously wrote about how you can do this using QueryExpression and LinkEntity. However, I recently learnt of another, and probably better, approach using RetrieveRequest. … Continue reading

Posted in CRM | 1 Comment

Retrieving related records in an N:N relationship using QueryExpression in CRM

This post explains how the QueryExpression class can be used in conjunction with IOrganizationService.RetrieveMultiple() in CRM 2013 to retrieve related records for an entity in an N:N relationship. This is something that I could not find much documentation on, and it … Continue reading

Posted in CRM | 8 Comments

Form notification with timeout in CRM 2013

Form and field notification are new to CRM 2013 and there have already been quite a few posts about these. I was playing around with form notification and wanted to display an Info notification that would automatically go away after … Continue reading

Posted in CRM | Leave a comment

CRM 2013: Web.config error (HTTP 500.19) after installing .NET Framework 4.5

I had a vanilla installation of CRM 2013 running smoothly on Windows Server 2008 R2. I installed Visual Studio 2013, which adds .NET Framework 4.5. I then started getting the error below when browsing to CRM: HTTP Error 500.19 – Internal … Continue reading

Posted in CRM | Leave a comment