Aly
11/23/2024, 7:06 PMCeligo AI
11/23/2024, 7:06 PMAI generated answer (using internal Slack threads):To hide the 'Create Template' and 'Search' buttons on the job record, you can use a combination of SuiteScript and workflows. Here are the steps: 1. Create a User Event Script that triggers on the beforeLoad event. In this script, you can use the
form.removeButton
method to remove the buttons. Here's a sample code snippet:
javascript
function beforeLoad(context) {
if (context.type !== context.UserEventType.VIEW) return;
var form = context.form;
form.removeButton('createTemplate');
form.removeButton('search');
}
2. Deploy this script to the Job record.
Alternatively, you can create a workflow that removes the buttons. The workflow should have a 'Remove Button' action that targets the 'Create Template' and 'Search' buttons. This workflow should be triggered whenever the Job record is viewed.
Please note that both methods require administrative privileges and knowledge of SuiteScript and workflows.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/23/2024, 7:07 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810079
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803422391
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802849472
Celigo AI
11/23/2024, 7:07 PM