latest Post

Option Set Mismatch between CRM Environments.

Last week I came across an issue where some of our option sets were missing from our live environment after applying a solution upgrade after using patching.

On investigating I found that some of our option sets did not match between the unmanaged development solution and the managed solution in our live environment. I can only assume that the additional option sets had been added via the data import functionality when importing data from legacy systems.   

This meant that essentially when applying the solution upgrade any option set labels not in the option set list field in the unmamaged solution were removed when the solution was upgraded. 

To fix I had to check each option set that existed in the solution and ensure that it had both a label and value. Note: Removing an option set in CRM will simply mean the record cannot display the text but the underlying value will still exist. 

 It can be difficult to surface the value once the option set has  been removed within the CRM interface therefore to get the corresponding values I used the brilliant FetchXML builder from XRMToolbox. 

This tool allowed me  to easily query each option set for a distinct list of option set values and check for any that did not have a label.  For example the below screenshot clearly shows that row 9 has a value of "100000005" and no corresponding label.

















Luckily for us we had recently requested a backup from Microsoft so I was able to cross reference the value to get the corresponding option set text  from the database backup. 

However, I could of also reinstalled a backup of the live default solution on a development server to get the corresponding text value. 

I simply then added the option set values back into the corresponding fields in the development environment and re imported the solutions back into live as managed and the records then showed the correct values.


Recommended Posts × +

3 comments:

  1. They have explained about this is mismatched in such a precise and understandable way. I am a big fan of them for sharing this knowledge and content in such a positive way. You can check https://www.brillassignment.co.uk/courseworks/ info the these students who are interested in assignment work. That the new readers are enjoying visiting and reading the information.

    ReplyDelete
  2. I really want to thank Dr Emu for saving my marriage. My wife really treated me badly and left home for almost 3 month this got me sick and confused. Then I told my friend about how my wife has changed towards me. Then she told me to contact Dr Emu that he will help me bring back my wife and change her back to a good woman. I never believed in all this but I gave it a try. Dr Emu casted a spell of return of love on her, and my wife came back home for forgiveness and today we are happy again. If you are going through any relationship stress or you want back your Ex or Divorce husband you can contact his whatsapp +2347012841542 or email emutemple@gmail.com website: Https://emutemple.wordpress.com/ Https://web.facebook.com/Emu-Temple-104891335203341

    ReplyDelete
  3. Option set mismatch is a common issue for customers with different CRM environments, e.g. when a CRM install creates option sets per organization the customer wants to obtain option sets based on the customer master. Also, customers want to align their usage of option sets with the way they maintain their product catalogs. You have to check dark web links to get knowledge about the dark web.We are very happy that companies are taking the time to set up their product options in different environments and it will greatly help their sales team. But we found that some of these companies need to do a few more things to make the matching work best in the CRM.

    ReplyDelete