We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Resizable pane control from script

pbodlev
Tera Contributor

Hello,

 

Is it possible to collapse right pane if its empty? How it is controlled?

I behaviour I am aiming exist in List component, when user clicks on quick edit button. 

Unfortunately I am not able to configure it to base resizable pane component.

4 REPLIES 4

Tanushree Maiti
Giga Sage

Hi @pbodlev 

 

There is a App named "Resizable panes component" available in ServiceNow Store.

I guess it will help you to implement your requirement.

 

Key features
  • Provides resizable containers that can be used to build pages in UI Builder
  • Ability to resize panes horizontally or vertically
  • Configure panes displayed, divider bar positioning and styles
  • Optional action bar can be enabled where user can set which panes to display 
  • An optional divider button can be configured for more advance use cases like expand and collapse. 
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

GlideFather
Tera Patron

Hi @pbodlev,

 

could you share a screenshot to better understand what pane exactly?

 

If you are talking about workspace, then I believe it "remembers" your last option, so if you collapse it and navigate to that page next time, it will be collapsed or expanded... 

 

Perhaps this can be controlled by User Preference, try to collapse/expand it for a user or two (using impersonation) and then review the User Preference table to see if any new records are getting created or not.

_____
100 % GlideFather experience and 0 % generative AI

@pbodlev you probably mean something else, but this is an example how the preferences work:

 

Screenshot 2026-02-26 at 14.22.28.png

 

Screenshot 2026-02-26 at 14.22.18.png

 

Screenshot 2026-02-26 at 14.22.09.png

 

Please share what pane do you want to adjust and then you can create it accordingly.

_____
100 % GlideFather experience and 0 % generative AI

Hello,

 

I found the solution. Its similar to your proposal, but its controlled in components configuration. Basically I am binding a client state parameter to that option and using a separate button I control the state of the parameter.