I have an issue with the Attribute Table widget that I am stumped on. Any ideas would be much appreciated.
We have a very large numbers of layers in our 5 maps services (just over 200) - only 5 of these are needed in the Attribute Table. To exclude out all the unwanted layers is cumbersome and doesn't work past a certain number of layers, plus we would like some of the layers (that are defined into pipeline types in the application to appear as one tab called Pipelines).
My solution to this was to create another service with just the 5 layers and publish that and then just exclude the 5 main map services and use this special one for the Attribute Table.
However, users might turn off the main services and the data wouldn't disappear because it would also be visible in the special service for the Attribute Table. So we made the special service 99% transparent and that did the trick... the Attribute Table worked well, bar two issues.
1) when the user turns off the layer in the main service, the data is still visible in the attribute table
2) the highlight feature function doesn't work as I'm assuming it has the same transparency as the layer and is therefore not displaying
We can live with the data being visible all the time in the table, but we really need the highlight to work as it is a busy, complex application and even though the zoom part works, you can't always tell which feature is selected.
Perhaps I need a separate highlight function but I'm not sure where in the code the selected item from the datagrid is accessed and zoomed to/highlighted.
I am working with the uncompiled 3.7 version. Does anyone have any suggestions for where I could start with this? Or other ideas to make this highlight work?
Thanks in advance.