Hi Folks - Not sure if this has been asked and solved, but I haven't found a solution yet. I have set up some domains and coded values for an AppStudio QuickReports app, and the sorting is just ridiculous. Even though I can update the sorting in the FeatureService online, QuickReports is simply not honoring it. For example, I have one Field where the Domain is "Abundance". The coded values are as follows:
1 - 10 Plants
10 - 100 Plants
101 - 1000 Plants
1001 - 10000 Plants
10001 or more Plants
Even though this is the order in the FeatureSevice, whenever the app is loaded it is resorted to the following:
10 - 100 Plants
1001 - 10000 Plants
101 - 1000 Plants
1 - 10 Plants
10000 or more Plants
This is incredibly frustrating to say the least.....Any solutions out there? How do you maintain a specific order, regardless of alphabetical or not?
You can take a look at the function getAttributeDomainValues() on QuickReport/pages/AttributePage.qml around line 181, I think this is how we get the coded domain value, and possibly sorting it, then add them to the model to be displayed.
Thank you,
Erwin.