It’s been a while since we’ve heard from Gayan “Not Daddy” Perera. As often the case with Gayan’s tips, this one is a nugget. Moving the stage of a cross entity business process flow programmatically can be achieved by using the NavigateToNextEntity request. Most of the parameters are self explanatory, the only tricky one is […]
Tip #587: Tipster guide to creating Dynamics CRM Package Deployer package
Video Friday’s here, get the popcorn. In this video we show you how to create Dynamics CRM Package Deployer package using Visual Studio. Additional Information on creating a package can be found here. Give us your feedback, all of it: good, bad, and ugly, I’m sure we can take it. Suggest new topics either in […]
Tip #575: Check your clocks
tl;dr If you receive an error “An error occurred when verifying security for the message” when connecting to Dynamics CRM, verify that the clocks on the client and the servers are no further than 5 minutes apart. Just a bit longer Code that was working yesterday refuses to run and spits an error on the […]
Tip #574: Hidden sources of javascript errors
Quite often developers complain about getting javascript errors when the form does not contain any scripts or events. Explicit script definitions are not the only source of the possible errors: Business Rules are deployed on the client as generated javascript. While it’s unlikely that business rules will generate an erroneous script, it’s worthwhile disabling the […]
Tip #570: Remote debugging in CRM with vorlon.js
Our resident visual effects tipster asked me the other day if I had any experience with using vorlon.js in CRM. I didn’t as I never heard of it. But since someone somewhere some time ago pointed out that these days <random noun>.js is probably a valid javascript library, I decided to take a look. As it […]
Tip #569: Migrate knowledgebase articles to Interactive Service Hub like a boss
If there is one bonus take away from the yesterday’s tip, it’s existing KB functionality will soon be deprecated so it is advisable to transition to new KB as soon as possible. So people started to ask, how to do that. tl;dr Long version Yes, some assembly is required. Good news, it’s not that difficult. […]
Tip #556: Rumors about Microsoft.Xrm.Client death are exaggerated
Update 18-Nov-2016: Bugs reported have been fixed and there are no compelling reasons (beyond the support of the existing codebase) to continue use of Microsoft.Xrm.Client. One thing you’d notice about Dynamics CRM 2016 SDK is that some of the assemblies has gone MIA. For example, Microsoft.Xrm.Client, a home to some useful developers extensions, including a […]
Tip #550: Subgrids and scripts
One of the Easter Eggs in CRM Online 2015 Update 1/CRM 2016 are the ability to execute scripts when subgrids load. With this enhancement, CRM developers can set event handlers for the OnLoad event of the subgrid. Scripts can be used to: Get the current view selected in the view selector Change the view of the […]
Tip #549: Cannot convert A into A
If you were playing with the uber-administrator’s way to create non-intractive users then you might have seen the following error: Cannot process argument transformation on parameter ‘conn’. Cannot convert the “Microsoft.Xrm.Tooling.Connector.CrmServiceClient” value of type “Microsoft.Xrm.Tooling.Connector.CrmServiceClient” to type “Microsoft.Xrm.Tooling.Connector.CrmServiceClient”. Ugh? Say again? Cannot convert “A” to “A”? The other possible error gives away a bit more: […]
Tip #542: Who do you think you are
One of the great features of Dynamics CRM is the ability to impersonate other users’ accounts. Just set CallerId property on CrmConnection object and go on with your business as usual. However, make sure that your code or the code that you call, do not rely on the current user identity obtained using WhoAmIRequest. As […]