-
Archives
- May 2025
- August 2023
- June 2023
- July 2022
- November 2021
- October 2021
- July 2021
- February 2021
- February 2020
- January 2020
- November 2019
- October 2019
- June 2019
- September 2018
- August 2018
- July 2018
- June 2018
- April 2018
- March 2018
- January 2018
- December 2017
- September 2017
- August 2017
- July 2017
- June 2017
- April 2017
- February 2017
- January 2017
- December 2016
- August 2016
- July 2016
- April 2016
- March 2016
- February 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- January 2014
- December 2013
- November 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- May 2012
- April 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- February 2010
- January 2010
-
Meta
Author Archives: Bernado
Interesting behaviours with enum in .NET
When defining an enum type, we can assign an int value to each of the enum members. Below is an example. Now there are two behaviours that you may not be aware of. Firstly, given the above definition, you can … Continue reading
Form JavaScript returning incorrect saveMode in CRM – Microsoft bug?
I think I may have found a bug in the internal CRM JavaScript, and it is to do with retrieving the saveMode in form script. As you may be aware, you can determine the save mode by executing executionObject.getEventArgs().getSaveMode() in form … Continue reading
Which ID property to use in early-binding programming in CRM?
Have you noticed that the generated early-binding classes always have 2 ID properties? For example, the Account class would have Id and AccountId. The Contact class would have Id and ContactId. Which property should you use in early-binding programming? Well, if … Continue reading
Posted in CRM
Leave a comment
Plugin/workflow attribute filtering and updating records via web service (the right way)
Recently we ran into an issue where a workflow configured to run upon changing a particular field was being triggered even though that field was not being updated. In the end it turned out that this was because of the … Continue reading
How to update plugin/workflow assembly in CRM database programmatically
In certain scenarios you might need to update a plugin/workflow assembly deployed to the CRM database programmatically. A good example is for CI build/deployment purposes. From a CI build/deployment perspective, an issue with deploying the assembly to the database, and promoting the assembly … Continue reading
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
‘Could not load file or assembly ‘Microsoft.Interop.Security.AzRoles, Version=1.2.0.0…’ when installing GP 2010 Web Services
I was installing GP 2010 Web Services on a Windows Server 2012 R2 and received the error below: System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.Interop.Security.AzRoles, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified. File … Continue reading
Posted in Dynamics GP
Leave a comment