cancel
Showing results for 
Search instead for 
Did you mean: 

iTicker Display Template

Former Member
0 Kudos

Hi Experts,

I have a requirement for displaying different scrolling messages with different Text color and back ground colors.

Eg:

Message      Text ColorBack ground color
Message1WhiteBlue
Message2RedWhite
Message3BlackRed

Possible  Query Template  Output:

MessageCode
Message1Blue
Message2Red

Using iTicker display Template,  I am able to change the message text color using code column in color context.But I can configure

only 1 background color for all the messages.

is it possible to change the message background color along with the text color as per the message?

Regards,

Naga.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I tried your scenario.

I achieved the same as what you mentioned, i didnt find any way to change background color based on message code.

Regards,

Sriram

Former Member
0 Kudos

Hi Sriram,

Appreciate for trying to address my problem.

Do you have any suggestion for me to accomplish my requirement with or with out using display template?

Regards,

Naga.

swaroop_anasane
Active Contributor
0 Kudos

Hi Naga,

Please refer below link:

I have shared a screen grab, using this code you can create dynamic html elements. You can use span instead of td and style it to have some class assigned. This class then can be modified to change background or you can replace the class itself.

The output of trx can then be used with MARQUEE tag in html to achieve what you intend.

Hope this helps.

Regards,

Swaroop

swaroop_anasane
Active Contributor
0 Kudos

Hi Naga,

You are using a display template, I am afraid if this is possible. Been long time!

Did yiu try using "Color by column" of ticker area? It may help.

Best Regards,

Swaroop

Former Member
0 Kudos

Hi Swaroop,

I tried checking "Color by Column" . But it didn't help.

With out using Display template, is there a way to achieve this?

Regards,

Naga.