Color coding items in dialog list

Tags:
Domino Designer
I have a list of 6 items in a dialog list. I would like to color code each item to be a different color so that all of the like items are the same color. Example: Stabilities will always show as red, bulk shipments will always show as blue, etc.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can point the dialog list to a view for its items. The view can contain a column that defines color, for example, something like
<pre>@If (@Contains (ResourceName; “Stabilities”); 255:0:0;
@Contains (ResourceName; “Bulk”); 0:0:255;
150:150:150)</pre>
With that in the first column and the dialog listing selecting the second column, you will see a color-coded dialog list

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: