Irina Mitrova
03/18/2025, 2:33 PMCeligo AI
03/18/2025, 2:33 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** Based on the conversations, it seems that hiding a button added by a workflow in NetSuite is not straightforward. The button added by the workflow is not available for manipulation during the before load user event because the workflow runs after the user event. However, there are a few potential workarounds: 1. You could use a client script to control the button. This would involve manipulating the DOM using JavaScript. 2. Another option is to attach a client script to a user event script. This can be done using the
Form.clientScriptModulePath
property.
Please note that these methods involve manipulating the DOM, which is not officially supported by NetSuite and could lead to unexpected behavior or issues with future updates.
Unfortunately, there is no direct way to hide a button added by a workflow in NetSuite. It's recommended to handle the logic of the button visibility within the script or workflow itself.Celigo AI
03/18/2025, 2:33 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84550339
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832572877
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824606478
Celigo AI
03/18/2025, 2:33 PM