Availability
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
Hides all given fields, panels, and tabs except the ones given as parameters.
Note that this routine hides all elements that are not specified as parameters. So if you want to show a field, don't forget to add the tab or panel it belongs to as a parameter.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
fields_tabs_and_panels | String | Yes | Specifies the fields, panels, or tabs to hide. |
Example
lfHideAllExcept("details_panel", "issueType", "priority", "activity_panel", "comments_tab", "Field Tab", "customfield_10101");
This is equivalent to:
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 and graphic elements accepted by all Live Fields routines, lfHideAllExcept can also handle:
Element | Field (to be used in routine) |
---|---|
Details Panel | details_panel |
People Panel | people_panel |
Dates Panel | dates_panel |
Timetracking Panel | timetracking_panel |
Activity Panel | activity_panel |
Comments Tab | comments_tab |
History Tab | history_tab |
Worklog Tab | worklog_tab |
Activity Tab | activity_tab |
All Tab | all_tab |
See also