Skip to main content
Completed

To not include expression fields in select when they are hidden in a variant.

Related products:Windows GUIUniversal GUI

Freddy
  • Thinkwise Local Partner Brasil
  • 528 replies

We have a table with quite some expression fields, that normally do not give a lot of performance loss because they are usually always shown as a detail of an order.  

However, we've created a variant on this table that breaks with this and although I've hidden the majority of the fields, the select that is generated in the end product will still contain all these expression fields that really make things slow. Wouldn't it be a nice idea to not add expression fields to the select of a variant when they are hidden? 

I know I can make a seperate view, but I would like to not do that. It would be great if the selects for view/tables (based on variants) could only contain the data-elements that will be shown (non-hidden). 

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

8 replies

Jasper
Superhero
  • 678 replies
  • March 24, 2020

Hi Freddy,

We’re actually aready working on this feature to only select visible columns, and expect it to be released in a couple of months.


Forum|alt.badge.img+14

Hi Jasper,

Would this also work for columns that are hidden in the grid and only shown in the form?

 


Jasper
Superhero
  • 678 replies
  • April 28, 2021

Hi Andre,

Due to circumstances, this project has come to a standstill for some time. However, we plan on working on this again as part of the separate API endpoints for variants.

Initially, the GUI fetches all fields that may be visible, but in the future we want to make further optimizations by looking at the visible columns per component.

 


Freddy
Forum|alt.badge.img+16
  • Author
  • Thinkwise Local Partner Brasil
  • 528 replies
  • May 11, 2022
Jasper wrote:

Hi Andre,

Due to circumstances, this project has come to a standstill for some time. However, we plan on working on this again as part of the separate API endpoints for variants.

Initially, the GUI fetches all fields that may be visible, but in the future we want to make further optimizations by looking at the visible columns per component.

 

Hi @Jasper  what is the status of this idea/improvement?


Jasper
Superhero
  • 678 replies
  • May 13, 2022

Hi Freddy,

We continued the implementation of this feature with the Variant API project as part of the 2022.2 release. The first step, to make each variant have its own API endpoint, will be available with the release in June.

The next step is to allow the GUI to only select the available columns per variant, by providing the required metadata to do so. This is expected to be available with the 2022.3 release later this year.

(The challenge here is that we need to calculate the effective column permissions and dependencies for all columns in all variants. We'll have to do this upfront and persist this information to guarantee performance, so it has quite an impact.)


Jasper
Superhero
  • 678 replies
  • January 25, 2023
PlannedWorking on it!

Jasper
Superhero
  • 678 replies
  • August 30, 2023
Working on it!Completed

Jasper
Superhero
  • 678 replies
  • August 30, 2023

This idea has been delivered with the Variant effective rights feature of the 2023.2 release.

 


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