Tip #1294: Export solution before running solution checker

Export Excellence Award

tl;dr If you are getting “Couldn’t Complete” message from the solution checker, verify you can export the solution before running the solution checker. That way you’ll be able to see what’s wrong instead of an unhelpful “couldn’t complete” message. Today’s tip is from Andrew Wolfe. Got a tip? Send it to jar@crmtipoftheday.com. Tip I created […]

Tip #1133: Rename the view that causes the drama

Scope viewer

Problem Guido “Future Olive Farmer” Preite was not having any luck importing a solution: This is the situation: Sandbox is 9.0.2.441, Production is 9.0.2.197. From the sandbox we exported a solution as managed, when we import to production we get the following error: this solution package cannot be imported because it contains invalid xml… The […]

Tip #514: Multi-entity Quick Find blocks solution uninstall

Select entities for Quick Find

The man himself Tanguy “The XRM Toolbox” Touzard has the podium today: If you are getting the error code -2147089917 while trying to uninstall managed solution and the message reads “[entity] did not have a valid Quickfind query”, verify that the entity is not in the list of entities enabled for multi-entity quick search: Settings […]

Tip #486: Don’t hard code currency in workflows

Bad currency workflow

If you have a workflow dealing with the entities that include money fields, avoid setting explicit currency. Instead, try to infer the currency from the related records. For mere mortals, it’s just a bad practice, for ISVs, it’s definitely a case of spießrutenlaufen. Why? Because if you activate your workflow and add it to a […]

Tip #446: How to avoid overwriting audit and duplicate detection flags

Audit On/Off

tl;dr To avoid overwriting some of the system entities flags for the customers, manually remove those flags from the managed solution files. WARNING! Super-duper unsupported. Some juicy details If you are a Dynamics CRM ISV or an infrastructure group within a large enterprise then, most likely, you distribute one or more managed solutions to your […]

Tip #418: 3 ways to find the blocking attribute

Shan “Smoke ’em” McArthur wonders during another mini truck stop if there is any way to find a blocking attribute using nothing but its id. The error message usually looks like this: A managed solution cannot overwrite the Attribute component with Id=e7840116-dead-beef-a5e5-8b5cb27e9509 for the CRM org noneofyourbusiness.crm.dynamics.com That said, I have no way of looking […]