How do I show or hide the create work order button?
Here's how you manage the visibility of the Create Work Order button:
This applies to the following pages:
- SR Foldout: Work Order Panel (both main panel and sub view section)
- SR Detail Page: Work Order Section
Visibility Control:
A variable named $base.flow.variables.woCreateBtnOptIn
is used to
control the button's visibility. Set the variable to:
true
: Makes the Create Work Order button visible.false
: Hides the Create Work Order button.
For the work order list page only, setting
$base.flow.variables.woCreateBtnOptIn
to false
on
page load will hide the Create Work Order button.