Versions Compared

Key

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

This routine is available starting with 

  • Power Scripts 3.0.7 (server)
  • SIL Engine™ (former katl-commons) 3.0.7

Syntax

lfHideAllExcept(fields_tabs_and_panels)

Description

Excerpt
Hides all the given fields, panels, and tabs except the ones given as parameters.

Parameters

...

...

Example

Please note
Note
Note

Note that this routine hides all the elements that are not specified as parameters; so, . So if you want to show a field, don't forget to add the tab or panel it belongs to as a parameter.

Parameters

ParameterTypeRequiredDescription
fields_tabs_and_panelsStringYesSpecifies the fields, panels, or tabs to hide.

Example

Code Block
lfHideAllExcept("details_panel", "issueType", "priority", "activity_panel", "comments_tab",  "Field Tab", "customfield_10101");

This is equivalent withto

Code Block
lfShow("details_panel");
lfShow("issueType");
lfShow("activity_panel");
lfShow("comments_tab");
lfShowTab("Field Tab");
lfShow("customfield_10101");
//for all the other fields, tabs and panels: lfHide(element);

Additional

...

fields

In addition to the Fields fields and graphic elements supported by Live Fields accepted by all Live Fields routines, lfHideAllExcept can also handle:

ElementField (to be used in routine)
Details Paneldetails_panel
People Panelpeople_panel
Dates Paneldates_panel
Timetracking Paneltimetracking_panel
Activity Panelactivity_panel
Comments Tabcomments_tab
History Tabhistory_tab
Worklog Tabworklog_tab
Activity Tabactivity_tab
All Taball_tab

...