Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
    Info
    titleAvailability
    Table plus
    applyColStyleToCelltrue
    heading0
    columnTypess,s,s,s
    multiplefalse
    columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
    enableSortingfalse

    Syntax

    lfShowTab(field)

    Package

    Alias

    Pkg Usage

    Description

    Excerpt
    hiddentrue
    Shows the given tab.

    Shows the given tab.

    Parameters

    Table plus
    applyColStyleToCelltrue
    columnTypess,s,s,s
    heading0
    multiplefalse
    enableSortingfalse

    Parameter name

    Type

    Required

    Description

    field

    String

    Yes

    Specifies the tab to show

    Return Type

    None

    Example

    The following example demonstrates how to show the Field Tab from the issue issue if the assignee is admin.

    Code Block
     if(assignee == "admin") {
         lfShowTab("Field Tab");
     } 

    Now that the field is shown, you can use use lfHideTab to hide it on the issue screen.

    See also

    Filter by label (Content by label)
    showLabelsfalse
    max3525
    showSpacefalse
    sorttitle
    cqllabel = "lf_routine" and space = currentSpace ( )
    labelsarray_routines