Skip to main content
Solved

Change default lay-out of entity overview screen

  • August 29, 2023
  • 1 reply
  • 93 views

Albert de Ruiter
Star Blazer L3
Forum|alt.badge.img+4

Hi all,

I have created a new entity in the metamodel, let's say with properties A, B, C and D (in that order).

In the user interface the overview screen of this entity is a list-overview, showing the properties in the same order as defined in the entity.

I would like to be able to adjust this lay-out, like D, B, C and not showing A. Refer to the example in the attachment for more clarity.

How can I accomplish this?

In addition, how can I define a filter on one of the property columns?

Kind regards,

Albert de Ruiter

Best answer by Cansu

Hi @Albert de Ruiter, thanks for posting. I see that our Support team has provided you with a solution to list the columns in a different way. I’m sharing this here just in case another community member has the same question in the future. Also for future reference in the latest versions we are supporting this with the updated UI ⭐

{ 
"_type": "entity.page.listing", 
"children": { 
"_type": "entity.listing.v2", 
"renderers": { 
"_default": { 
"columns": { 
"A": { 
"enabled": false 
}, 
"D": {}, 
"B": {}, 
"C": {}, 
} 
} 
} 
} 
}

List the columns like this. The names in the layout JSON reflect the names of properties in the MMD (the entity model). Usually it's pascalCased label of the column header you see on the screen. E. g. nameoverallQuality

View original
Did this topic help you find an answer to your question?

1 reply

Cansu
Community Manager
Forum|alt.badge.img+3
  • Community Manager
  • 625 replies
  • Answer
  • October 3, 2023

Hi @Albert de Ruiter, thanks for posting. I see that our Support team has provided you with a solution to list the columns in a different way. I’m sharing this here just in case another community member has the same question in the future. Also for future reference in the latest versions we are supporting this with the updated UI ⭐

{ 
"_type": "entity.page.listing", 
"children": { 
"_type": "entity.listing.v2", 
"renderers": { 
"_default": { 
"columns": { 
"A": { 
"enabled": false 
}, 
"D": {}, 
"B": {}, 
"C": {}, 
} 
} 
} 
} 
}

List the columns like this. The names in the layout JSON reflect the names of properties in the MMD (the entity model). Usually it's pascalCased label of the column header you see on the screen. E. g. nameoverallQuality


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings