Execute Script after clicking the Accept in the wizard

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
nelis
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Tue Mar 14, 2017 7:34 am

Execute Script after clicking the Accept in the wizard

Post by nelis » Thu Mar 16, 2017 6:16 am

I want to execute some codes after clicking Accept on the wizard of AddPropertyGroupToWizard, is this possible?

nelis
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Tue Mar 14, 2017 7:34 am

Re: Execute Script after clicking the Accept in the wizard

Post by nelis » Fri Mar 17, 2017 12:33 am

I just need to know which method of which class is executed when the accept button is clicked.
What i really want is an automation where the user uploads a file, then a property group will be added to the wizard, after that, a copy of a file will be sent to another folder. The problem here is that once i copy the file to another directory, the inputted data on the wizard is not included in the file(the created file when the method OKMDocument.copy() is executed) because the automation automatically executes the next action without waiting for the wizard to close.

nelis
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Tue Mar 14, 2017 7:34 am

Re: Execute Script after clicking the Accept in the wizard

Post by nelis » Fri Mar 17, 2017 1:43 am

Never mind i found it please disregard this thread

jllort
Moderator
Moderator
Posts: 9642
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Execute Script after clicking the Accept in the wizard

Post by jllort » Fri Mar 17, 2017 8:53 am

OK, anyway I will answering because some user might be interested on it. Basically automation action send a flag to UI for showing the wizard. Then the wizard is what takes the control on it ( the class is WizardPopup.java )

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests