How? Same column, different coloured text

Looking at the Discussion template (discsw6.ntf), I’ve noticed that in the Topic column for the All Documents/($All) view, the main documents’ text has a green colour and bold style, while the responses have a plain style and black colour. How is this effect achieved? Thanks.

Subject: How? Same column, different coloured text

OK, to change the text colour in a column you need a column just to the left (usually hidden) which has “Use value as color” ticked.

Now, if the formula for this colour column is something like “100:100:100” this will produce a darkish grey on all rows of the column(s) to the right.

But… what if the formula for the colour column had a bit more logic in it?

For example, if you want to show boys names in blue and girls names in pink, you could have a different colour in the hidden colour column based on the value of a gender field in the document.

eg.

@If( Gender=“Female” ; “100:0:0” ; Gender=“Male” ; “0:0:100” ; “”)

Got it?

Subject: How? Same column, different coloured text

I’ve solved the problem. I needed to add a column to the left of the Topic column, with ‘Show responses only’ checked. Then I made the Topic column bold and colourful and the selection formula to make response documents null. Now my mains are bold and colourful and my responses are normal text, very pretty!

Subject: How? Same column, different coloured text

This is a new feature of Domino Designer. The Domino Designer help contains an excellent rundown of all the new features. If you read the document about new features for designing views, I’m confident you’ll find the information you seek.

Subject: RE: How? Same column, different coloured text

I’ve noticed that in the Topic column for the main view in the Discussion database, the “Use value as color” option isn’t selected, also this doesn’t explain how the main topic’s text is in bold. Also can someone please tell me how the twisties for the responses were indented? Thanks.