How to perform an action in the runtime modification of the display form?
?Hello,
Is there is a way to perform an action (Run External Command) while the user have inputted the first value (AutoComplete Box) in the display form and moved to fill the second value and BEFORE the user hit the submit button. So I am looking on an action listener or event listener with a way to run external command in the run time modification in the display form.. Does anyone have a suggestion..
Thank you,
Ali
-
Hi Ali,
It sounds like you'll probably want to use the AutoComplete Box's change event. For the Autocomplete Box specifically, this event isn't fired while you're still typing. It's fired instead when you select a new suggestion from the suggestions list, or when you change the value by typing and then remove focus from the box (by clicking another part of the form or use the "tab" or "enter" button). Let us know if this matches what you had in mind.
I've attached a quick example, to show how you can use the AutoComplete Box's change event to run a viewer command. If you're testing it, you'll want to do so on a site that uses a world basemap in Web Mercator projection (eg, Esri's Gray Canvas or World Street Map).
0 -
Hello Amanda,
Thank you for your detailed answer, It is looking very helpful but I want your example to be xaml not json to import it, since I am using Geocortex ?Workflow Designer software v4.5.1202, so if there is a way to benefit from this file just tell me how, moreover I have searched for (event) option in the software but I didn't found it, knowing that I found it in the online Geocortex workflow designer, so please if you can clarify things for me.
Thank you!
0 -
Hi Ali,
If you're working with the workflow capability in Geocortex Essentials, you'll want to post your question over in the Essentials section in the Geocortex Support Center: https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&dc=Workflow&criteria=ALLQUESTIONS
This forum is for the new standalone Geocortex Workflow product. They share the same name and many of the same concepts, so there's bound to be confusion on this point -- apologies for that. You can find out more about the differences between Geocortex Workflow and Geocortex Essentials workflows here: https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/compared-to-geocortex-essentials-workflow.htm#Compared_to_Geocortex_Essentials_Workflow%3FTocPath%3DReference%7CCompared%2520to%2520Geocortex%2520Essentials%2520Workflow%7C_____0
0 -
Hi Ali,
Just adding to Jordan's comment here- the new standalone Geocortex Workfow product has detailed event handling for forms, but Essentials workflows (4.x) do not. RunTimeModifications is used to change the form right as it's first drawn, but can't be used to listen for events and perform actions after the form is already created in the viewer. In Essentials workflows, the only way to run viewer commands from that point would be to have the user press a button so that the form is submitted and other activities can run.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires