How can I show feature template picker and use user's choice in workflow?
In my sign inventory workflow I have enabled it to add a new sign and display the attribute form for data input after the icon appears on the map. Challenge is the feature class has two different subtypes: one for Regulatory Signs and one for Warning Signs, each with a distinct list of sign codes to choose from, and so I want to enable the user to select the subytype before the input form appears. Reason for this is the relevant list of sign types is shown in the form and the other is hidden, depending of which subtype the selected feature is.
I find that by putting a RunExternalCommand for ShowFeatureTemplatePicker in the flowchart just before the DisplayCaptureGeometry, the feature template picker appears only after the DisplayCaptureGeometry is saved and the attribute entry form is saved. So then when picking one of the templates, the user must then click a location on the map, which makes the default attribute entry form come up.
So how can I make the feature template picker appear at the proper time in my flowchart, and how can I make it bring up the custom form instead of the default one? I would post the workflow but for the fact it requires a password. Let me know if you need to see it and I will post it.
0
-
Historically speaking, trying to combine workflows with built-in feature editing tools doesn't go well. That doesn't mean this is impossible (no idea if it is or not), but it'd probably be much simpler to do the entire feature creation process in the workflow.
In this case, that would mean using a display form with a listbox or dropdown to choose the feature type and then loading a custom attribute editing display form based on the type they chose. More work to build, but the user experience will likely be better enough to be worth the effort.0 -
Thanks John. That's the approach I began to attempt after making my initial post. I have been away from the task a few days, and am heading home now, so will carry on with my attempt next week.
Cheers,
Justin0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer