Change Lable/Caption of job-buttons for a specific workflow


i wan’t to change the Lable/Caption of the “Discard” button to “some text” for a specific workflow (not for the whole server).

Is this possible ?

Hi Tim,
it is possible but disclaimer: This will only work for the old WebPortal and is a hack! You could put this in a Generic JavaScript View in each component of your workflow:

parent.document.querySelector('.knime-discard-button > span > span').innerHTML = "<sometext>";

Kind regards,

Hmm thanks Alex,
but if this is not working with newer version is not an option for me.
thanks anyway