Originally posted on Hosk's Dynamic Blog:
I created a new Microsoft Dynamics CRM Online trial, went to the account screen and realised Bing maps wasn’t appearing Usually when things don’t work, the first place to look is in System settings and found the setting The reason it isn’t enabled ? By enabling this command,…
Monthly Archives: May 2016
Unit Testing (Microsoft Fakes) RetrieveSharedPrincipalsAndAccessResponse in Plugin in CRM 2016 (and earlier)
Originally posted on Nishant Rana's Weblog:
Hi, While trying to write Fakes for RetrieveSharedPrincipalsAndAccessResponse we’d realize that PrincipalAccess is read only property and the class itself is sealed. So to unit test it we need to write a wrapper class as suggested here http://alexanderdevelopment.net/post/2013/10/17/unit-testing-custom-microsoft-dynamics-crm-code-part-4/ The wrapper class /// <summary> /// Wrapper class for retrieve…