Skip to main content
Solved

Have the User create color conditional format


Blommetje
Forum|alt.badge.img+13

Hi,

In the web gui i can set a domain with a color picker. I would love to have an option to use for conditional formatting. Example. 
The user creates an office 'Office A’ and selects 'Red’. And 'Office B’ and 'Blue’. In the list with Tasks/Invoice/whatever, the end user will see the rows for Office A marked as Red. 

Is there any way to facilitate this? 

 

Alex

Best answer by Jasper

This is one way to achieve that:

  1. Create a domain with elements for all the colors that you want the user to choose from (Red, Blue, Green, etc.)
  2. Let the user select one of these colors when creating an Office
  3. Add an expression field to every entity that you want to apply the conditional layout to (Task, Invoice, etc.) that selects the color from the Office
  4. Create separate conditional layouts for each color on every entity, based on the expression field 

 

Steps 3 and 4 can be automated using Dynamic Modeling, e.g. based on tags.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Jasper
Superhero
  • 679 replies
  • Answer
  • October 24, 2022

This is one way to achieve that:

  1. Create a domain with elements for all the colors that you want the user to choose from (Red, Blue, Green, etc.)
  2. Let the user select one of these colors when creating an Office
  3. Add an expression field to every entity that you want to apply the conditional layout to (Task, Invoice, etc.) that selects the color from the Office
  4. Create separate conditional layouts for each color on every entity, based on the expression field 

 

Steps 3 and 4 can be automated using Dynamic Modeling, e.g. based on tags.


Blommetje
Forum|alt.badge.img+13
  • Author
  • Partner
  • 206 replies
  • October 28, 2022

I’ll tinker with this. Sounds like a possible solution! 

Thanks! 


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