- Business Needs
- Application Integrations
- Delivery Technology
- About STR Software
About STR Software
I have been talking about this new 12.1.3 functionality at various regional OAUGs and webinars and the topic of removing the button all together has come up. How to do it?
First off, why would you want to remove the button? Well, this button shows up right in the middle of the user experience and you likely either want your users to use it, or do not want them touching it. If it’s the latter, you can simply use Forms Personalization to make the button disappear. Note that this could double as a tutorial on how to remove a button using Forms Personalization as well.
Step 1: Fire up the Submit Request Form and go to Help->Diagnostics->Custom Code->Personalize. If this menu item is not available or if you get a ‘Function not available to this responsibility’, check out the profile values ‘Hide Diagnostics menu entry’ and ‘Utilities:Diagnostics’.
Step 2: You’ll notice that the Personalization form comes up behind the Submit Request Form. You’ll also notice that you are unable to click on it to bring it to the foreground!
Odd behavior, but it is what it is. To get access to the form, hit cancel on the submit request form and back all the way out to the main menu screen. The Personalization Form will be behind the main menu and accessible to bring to the foreground.
Step 3: You want to set up a Form Level Personalization on a ‘WHEN-NEW-FORM-INSTANCE’ trigger. So, set:
Description: Any description
Trigger Event: WHEN-NEW-FORM-INSTANCE
Step 4: Switch the Actions tab and this is where we set the DISPLAYED property of the button to false, effectively removing it from the canvas:
Set the following values:
Description: Disable Delivery Options Button
Object Type: Item
Target Object: WORK_ORDER.DELIVERY
Property Name: DISPLAYED (APPLICATIONS COVER)
Step 5: Save your work and check it out, no more Delivery Options button.