Skip to main content
Open

Connect conditional layout condition & prefilters to domain elements

Related products:Software Factory
  • December 5, 2019
  • 2 replies
  • 121 views
  • Mark Jongeling
    Mark Jongeling
  • Isaak Kroes
    Isaak Kroes
  • Ruben
    Ruben
  • Rony
  • Roy van Uffelen

Mark Jongeling
Administrator

Currently I use conditional layout on a Status column and if for some reason I change my domain element database values, I have to change the conditional layout conditions too.

 

So I got the thought, why can’t we connect it straight to a domain element? My column import_message_status has a same-called domain with elements for each status. If I could select an element of this column's domain, that would mean any changes in the domain will also affect the conditional layout condition. 

Example:
Let say if I change the Done status from value 5 to 6, I only need to change it at the domain elements and the conditional layout condition will read that value over there instead of I need to change it at all places where I name the status column in conditional layouts. 

Implementation suggestion:

Column determines which domain.

Type of value: (Domain) Element

Value: Lookup to select which element of the column's domain

In code, a join/a subquery is used to get the right db value of the chosen element

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

2 replies

Arjan Sollie
Thinkwise blogger
Forum|alt.badge.img+14
  • Thinkwise blogger
  • 85 replies
  • December 10, 2019

Mark,

I'd guess that you probably would like the same feature for prefilters columns? Otherwise there would be a deviation between conditional layout and prefilters.


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Author
  • Administrator
  • 3958 replies
  • December 10, 2019
Arjan Sollie wrote:

Mark,

I'd guess that you probably would like the same feature for prefilters columns? Otherwise there would be a deviation between conditional layout and prefilters.

Great idea Arjan, that would be a nice addition.


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