Thank you guys for the help! It looks like the solution was to edit the custom step processor javascript logic. The solution that I came up with that seems to work is:
aspect.after(this, "addResponseButtons", function(evt){
this.processorButtonBar._buttons[0].destroy();
});
When placing that same logic in a function for after "addProcessButtons", it seems to not destroy the object but placing it in that after "addResponseButtons" works! I really appreciate the help!!!
Thanks,
Chris
------------------------------
Christopher Hegel
------------------------------
Original Message:
Sent: Wed October 16, 2024 07:12 AM
From: Christoph Sünderkamp
Subject: Removing "Move to In-Basket" logic/button
Hi Christopher,
You should control this using your own plugin. There you can either remove the button from the toolbar via an aspect after executing the addProcessButtons function or you can overwrite the function and use your own StepProcessorToolbar.
As Dave has already explained: your manual changes in the deployed application are not included in the compressed scripts. You can test load the uncompressed Dojo classes using the additional URL parameter &debug=true.
But: direct code adjustments are not recommended. If possible, use a plugin - this also works for StepProcessors. Then you can control on which desktop the StepProcessor should be customized and you will also have fewer problems with updates from the ICN.
regards
Christoph
------------------------------
Christoph Sünderkamp
Original Message:
Sent: Tue October 15, 2024 02:16 PM
From: Christopher Hegel
Subject: Removing "Move to In-Basket" logic/button
Good afternoon, I have been tasked with removing the "Move to In-Basket" button from the step processors we have in our content navigator instance. I was able to find some information here: https://www.ibm.com/support/pages/can-move-basket-button-be-removed-content-navigator-step-processor
However, when I removed any/all references to the "Move to In-Basket" present in:
"ecm/widget/process/StepProcessorLayout",
"dojo/text!custom/templates/EmbeddedViewerStepProcessorLayout.html"
And the button appeared to still show up in content navigator. Our custom code has no references to the Move In Basket button so I am not sure where else it could be being generated or where to go to turn it off.
Does anyone have any input/insight as to what could be going on? I'd greatly appreciate any assistance/input on this.
Thanks!
Chris
------------------------------
Christopher Hegel
------------------------------