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:
Seq: 10
Description: Any description
Level: Form
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:
Seq: 10
Type: Property
Description: Disable Delivery Options Button
Object Type: Item
Target Object: WORK_ORDER.DELIVERY
Property Name: DISPLAYED (APPLICATIONS COVER)
Value: FALSE
Step 5: Save your work and check it out, no more Delivery Options button.
No comments:
Post a Comment