I am developing an app in ExB that receives URL parameters and based on the parameters passed, it will select and zoom to the features in the map.
I have worked out how to get the map and layer datasources the map is using, but am unable to select features in the layer datasource. I am trying to call the selectRecordsById(string[]) method on the layer datasource but my unit testing shows that the selectRecordsById() method is not doing anything, I am passing it objectids (is this correct?). Am I on the right track?
Is there a sample somehwere that demonstrates the best practice for selecting features in a map from a custom widget?