Remove "Close" Button after executing Custom Operation

Any issue about Cyclos 4 scripting and Webservices

Moderators: alexandre, hugo, rmvanarkel

Post Reply
Eddomin
Posts: 9
Joined: Thu May 09, 2024 10:26 am

Remove "Close" Button after executing Custom Operation

Post by Eddomin »

Hello!

I´d like to know if it is possible to work with the "Close" Button that appears after you finish the execution of a Custom Operation of type Plain Text or others like it.

Either to always send the user to the Main menu for example, or to disable it, so the user cannot use it to return to the recently executed Custom Operation.

I am using a Custom Operation with actions, and when the CO finishes with an action I don't want it to return to the last CO.

Using a notification result with the backTo property returns the page to the results of the first CO (after its first execution), and I want it to either go back to the Main Menu or somewhere else, regardless of where the CO is called, or at least to the very first page of the CO before it is executed.

I'd like to know if it is possible to have full control of either this button or what happens after a CO is executed so the user is sent to another page.

Thanks for the help!
Attachments
Close button after executing CO.jpg
Close button after executing CO.jpg (27.3 KiB) Viewed 50396 times
alexandre
Posts: 1122
Joined: Wed Sep 06, 2006 9:06 am

Re: Remove "Close" Button after executing Custom Operation

Post by alexandre »

HI,

Here you have more details to what is possible:
https://documentation.cyclos.org/4.16/c ... on-actions

Regards
Alexandre Caurrinhos
Cyclos development team.
Eddomin
Posts: 9
Joined: Thu May 09, 2024 10:26 am

Re: Remove "Close" Button after executing Custom Operation

Post by Eddomin »

Hello! I am sorry for my late answer.

For this operation, I ended up using a Wizard in order to guide the user thru the necessary steps of the process. After execution,the wizard leaves the user in the results page and without the option to return to the previous step.

It has worked as I was hoping for.

With the custom operation I had to do some steps in order to delete the data of the form and stop the user from executing it again if he decided to go back, but it was not a satisfactory solution.

The wizard worked better in this case.

Thank you for your help!
Post Reply