Automatically Change Webportal Pages After an Event

Hi @ScottMcLeodPSLGroup,
you can trigger the next button programmatically via JavaScript, e.g. from a Generic JavaScript View. The code for that would be

parent.document.querySelector('.knime-step-next-button').dispatchEvent(new Event('click'));

Similarly, you can use jQuery enable and disable the button using this code:

parent.document.querySelector('.knime-step-next-button').prop('disabled', false) // enable
parent.document.querySelector('.knime-step-next-button').prop('disabled', true) // disable

Kind regards,
Alexander

1 Like