Collapse a section in Workspace View

Anand34
Tera Contributor

Is there any way by which we can collapse a section in Workspace view on form load ? e.g Collapsing "Schedule" Section on "Control Test " Form in Workspace view on form load !

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi @Anand 

unfortunately there is no way. Workspaces will render sections fully without option to collapse.

Kind regards
Maik

Benedek Nagy1
Tera Contributor

Hello @Anand34,

I have ran into the same requirement and my solution is a new UI Policy

Table: your table (Control test?)

Short description: Hide Sections on workspace

When to apply -> Uncheck Global checkbox, set your view e.g.: Workspace. Keep "On load" checkbox checked.

Script -> Run scripts in UI Type: "All".


Add this line to the Execute if true field:

g_aw.setSectionExpanded('schedule', false);

Add this line as well if you would like to hide a specific form section:

g_form.setSectionDisplay('notes', false);

 

Cheers,

Beni

 

Please mark my answer helpful if my proposal has resolved your issue.

This is working in workspace but due to this the context menu on the incident form in UI16 is not accessible which shows 

g_aw.setSectionExpanded('schedule', false); is not supported in UI 16.

RichardSaunders
Tera Guru

Is there a way to do this in configurable workspace? Specifically a New Change Request record from a related list from the OOTB Project workspace.