ClearSelection works in Silverlight (v1.9), but not HTML5 (v1.2)
I have two simple workflows that have 3 steps each: ClearSelection, QueryTask, and SelectFeatures. One of the workflows queries out buildings where "TYPE = 'Restaurants/Bars'" The other workflow queries out buildings where "TYPE = 'Government'" Both should clear the previous selection before performing the query and selection.
When I use Silverlight 1.9's viewer to run the Restaurants/Bars workflow, 28 results show. If I run the other workflow, 14 Government buildings show up; perfect.
However, when I use HTML 5 1.2's viewers to do the same steps, the Government buildings workflow does not clear the 28 Restaurant results (for Desktop and Tablet); and the Handheld version goes on to add the Government results to the Restaurant results for a total of 42 results.
Has anyone else seen this? Thank you in advance for any responses.
-
Matt from Latitude Geographics' support group resolved this problem for me. He pointed out that ClearSelection is classified as an "external command," which can be viewer-specific (meaning that Silverlight supports it, but HTML5 does not). Moreover, to get my last selection to clear appropriately in an HTML5 viewer, I must utilize the option within the SelectFeatures command to "Clear Collection First."
After trying Matt's suggestion, my workflows began to function correctly.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar