A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Per Nergård (MVP)
Mar 5, 2010
  4002
(0 votes)

Collapsable properties functionality in edit mode

I guess most of you have workod on projects where the page types swell and a tab contains so much properties that it’s hard for the editor to quickly create or edit a page.

 

In my case the page type had a very flexible listing which had nine possible properties for the editor to use. Only two were mandatory and the editors very seldom used more than three.

On top of that it was possible to have four of those listings configured from the same tab.

 

To improve the editor experience I created a custom property that can be used to add collapse functionality for a group of properties.

It’s possible to configure the custom property for which this functionality should be used.

 

So in my example i decided that by default only display the three most commonly used properties for each listing and hide the rest. If the editor want to use the more advanced settings they had to click the “+” icon.

 

By doing this I hid 20 properties and all properties for that tab fitted on the screen so the editor didn’t need to scroll

I’ve made the source available over at EPiCode.

Collapsable property start page

Straight to the example screenshots

Mar 05, 2010

Comments

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP: Learning Optimizely Just Got Easier: Introducing the Optimizely Learning Centre

On the back of my last post about the Opti Graph Learning Centre, I am now happy to announce a revamped interactive learning platform that makes...

Graham Carr | Jan 31, 2026

Scheduled job for deleting content types and all related content

In my previous blog post which was about getting an overview of your sites content https://world.optimizely.com/blogs/Per-Nergard/Dates/2026/1/sche...

Per Nergård (MVP) | Jan 30, 2026

Working With Applications in Optimizely CMS 13

💡 Note:  The following content has been written based on Optimizely CMS 13 Preview 2 and may not accurately reflect the final release version. As...

Mark Stott | Jan 30, 2026

Experimentation at Speed Using Optimizely Opal and Web Experimentation

If you are working in experimentation, you will know that speed matters. The quicker you can go from idea to implementation, the faster you can...

Minesh Shah (Netcel) | Jan 30, 2026