I have a list of saved customization items in a DB with version="10.2.20102.2045" formatVersion="1.6"
LoadCustomization doesn't work for version="16.1.20161.2231".
How should I change fields in saved XML files to fix the issue?
<xamDataPresenter version="10.2.20102.2045" formatVersion="1.6">
<fieldLayout key="ContactViewModel" fieldList="Selected;Boolean, ...">
<field name="Selected" extendedInfo="Selected;.../>
<ComparisonCondition Operator="Equals" Value="Boolean:True" />
Thank you for contacting Infragistics. Please provide a sample that isolates this behavior. You should not have any issues loading different versions of the xml from a prior version of Infragistics. I'd like to review this on my end and determine if it's something we may have fixed already in a most recent volume release.
Let me know if you have any questions.
There is only LoadCustomization method on a XamDataGrid. It was working fine before the upgrade.
Probably, it is the same issue https://www.infragistics.com/community/forums/f/ultimate-ui-for-wpf/110005/xamdatagrid-loadcustomization-version-incompatibility
But I should change my saved collection somehow in a DB.
Thank you for following up. You should not have to change your DB or anything internal for the LoadCustomizations to work correctly after an upgrade. This appears to be an issue in our API and I'd like for you to please provide a sample that demonstrates the behavior, with steps to follow, so I can investigate this further for you.
I found a problem.
As I mentioned we have saved settings with all fields in our DB. So, in case if at least one field was removed from XamDataGrid LoadCustomizations do nothing(no errors).
I will appreciate if you can fix it with new releases.
Thank you for following up. From my understanding is that you are adding/removing fields from the datasource, thus changing the schema for the XamDataGrid in the UI and performing LoadCustomizations? This won't result in an error since customizations have no bearing on changes made to the datasource.
The Save and Load Field Customization feature is designed to save and load end user’s customizations as written in this topic:
You can perform your own SaveCustomization .You can consider this as a new product idea and make your suggestions at http://ideas.infragistics.com. This site places you in direct communication with our product management teams who plan and prioritize new features and products based on community and user feedback.
Please let me know if you have any other questions on this matter.
After some more research I determined that we added an extra overload to the LoadCustomization method in 16.2 to help in this situation when a key is applied to FieldLayouts. Try and see if the issue is resolved in the latest service release.
The latest Service Release build is available at Infragistics.com.
1. Go to Keys & Downloads. You may be prompted to log in with your username and password.
2. You will see a list of all of your registered keys. Select the version of Infragistics you are interested in. (eg. 16.2)
3. Select the "Services Releases" tab on the bottom.
4. Click on the item you want to download.