Do the Autocomplete Box work with a Feature Service?
I have a map service and feature service of the exact same data. I created a workflow that allows a user to select from an autocomplete box and then uses a 'Set Layer Definition' activity to filter the map based off their selection. The workflow works perfectly using the map service. However, when using the feature service, the autocompelte box just spins and spins and never spits out any choices....Ideas?
0
-
Here is my workflow for reference...
https://drive.google.com/file/d/0B5rgPuFOw9yfcVZxQjJrb2RDd2s/view?usp=sharing0 -
GetMapServiceInfo returns different output information based on whether you're using a map service or feature service. With a map service, it returns the map service URL and the layer ID in separate outputs. With a feature service, it returns the full URL to the feature layer as the map service URL (the layer ID is unecessary). It's easiest to see the different between the two by turning on debugging and looking at the results in your viewer.
Also, you can get the token during the GetMapServiceInfo activity by assigning the Token out argument. That way you don't need the GenerateToken activity.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer