I'm trying to create a mapping where:
1. Create a Case
2. Add a contact to the Case
I want the Location on the Contact to appear on the Case.
The Location field on the Contact is an Option Set.
Is this possible?
There are a number of approaches you could take:
1. Create a workflow that runs on the update of the Case that gets the location from the Contact and updates the Case. This is the easiest, but will not run until after the Case is saved meaning the Location value will not be present on the form.
2. Create a plugin that does the same - this will mean once the case has been saved, the location will be populated. msdn.microsoft.com/.../gg695782.aspx
So it really depends on your development skills available.
Read my Blog | Follow Me on Twitter | Rockstar365
With regards to number 1...
I don't know if it's because it's been a long week but I couldn't seem to get it to work?
I tried creating a workflow:
Upon Create, Update Case, Set Location = Contact Location.
Both the Case Location and Contact Location are option set fields. Is it possible to do this with Option Set fields?
Provided you use a 'global option set' when you create the location field on the Contact and on the Case so that they match - you can copy the values between the two in a workflow. If they use 'Local' optionsets you can not.
See - www.powerobjects.com/.../global-option-sets-in-dynamics-crm-2011
Hope this helps!
Perfect! Thanks Scott!