Something I stumbled on by chance this week, had me scratching my head for a while……
I was working on some reports for CRM 2011 which worked fine in my VM image, but failed to run on live environment..
The logs were of no use, as was the error message.
Eventually I realised the only difference between my VM image and Live was a lookup field to Contacts for a Secondary contact on the main Account form. We had placed one there on the live environment, and rather than export the solution, I just re-created it on my VM.
However it was causing an issue.
On closer inspection I noticed that they were named differently:
Why should this be the case? Effectively they were the same field, same lookup and same relationship.
The difference was the way it was created.
The two ways to create this sort of relationship in CRM 2011 are:
Create a field on a form of type lookup
Create a new relationship (N:1) THEN add the resulting field to the form:
Both produce the same effect, but name them differently.
I had created the lookup in one way, and the Live system had been created in the other way.
Probably not something you’ll encounter, but if you do, you now know why.
0 comments:
Post a Comment