I'm new to AppStudio and QT and I'm attempting to modify the Map Viewer template to return sorted results on a feature query. I've modified the QueryParameters to be:
QueryParameters { id: featureParameters
maxFeatures: 25
orderByFields: [
OrderBy { fieldName: "NAME";
sortOrder: Enums.SortOrderAscending
}
]
}
The maxFeatures change from the original 10 to 25 is being applied but my orderByFields
doesn't appear to work. What am I missing?