lfDisableTab

Availability

This routine is available starting with

  • Power Scripts™ 2.5.12 / 2.6.7 (server)
  • SIL Engine™ (former katl-commons) 2.5.16 / 2.6.8

Syntax

lfDisableTab(field)

Description

Disables the given tab of a provided name.

Parameters

ParameterTypeRequiredDescription
fieldStringYesThe name of the tab to disable.

Example

You can disable the Field tab on the issue for users that are not admins.

 if(assignee != "admin") {
     lfDisableTab("Additional Tab");
 } 
Prior to DisableAfter Disable



See also