Can a workflow start with items already selected on the map?
My users want to be able to search for an address from the main search box at the top of the screen. (The search works fine). Then they want to launch the 'Print-Mailing-Label' report and have the workflow know they already selected a property. Is that possible?
What they don't like is launching the 'Print-Mailing-Label' report and then having to use a drawing tool to re-select a property they already highlighed on the map. Other than that the 'Print-Mailing-Label' report works great.
-
Yes, you can. Use the 'GetSelectedFeatures' activity in workflow with the 'FeatureSet Collection Id' parameter set to 'Active'.
The output will be a List (of EssentialsFeatureSet) containing all of the currently selected features. Look at the Id's of these featuresets to see if you have any of the tax parcels you are interested in, and proceed from there.
A much more fleshed out example is included in the RunReports.xaml workflow included with the LA county sample site. It's a bit more complex than your use case though as it can run any reports associated with any features on the map.
Hope this helps.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar