The CreatorCon Call for Content is officially open! Get started here.

Is it possible to add formatting to a custom journal entry in the activities (filtered) stream?

AllegedCanadian
Tera Contributor

Good day,

 

I have added a custom type of Journal entry to issue corrections in incident records. As an additional way to bring these corrections to the attention of our users, I would like to change the colour of the bar on the left side of the activity.

 

Currently field edits are given a gray bar, comments a black one and work notes a yellow one. Is there a way for me to change this one to red?

1 ACCEPTED SOLUTION

Sohail Khilji
Kilo Patron

Hi @AllegedCanadian 

 

Intresting work ! Wish I could see a edit button to modify comments....  

 

But, There are System Properties for that.   They are named "glide.ui.activity_stream.style.field_name", where field_name is the name of the field you want to have a highlight.



The default value for comments is "transparent".   For the example below, the System Properties are set to the following:

 

SohailKhilji_0-1709571511803.png

 

 

SohailKhilji_1-1709571511870.png

 

So to your custom journal entry you can create or update such properties to set the color codes..

 

I hope this helps...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

6 REPLIES 6

This was exactly what I was looking for, thank you!

J Q H N
Tera Contributor

Hi there,

for anyone who is interested to also change the styling of the workspace; there is a limited number of attributes in the dictionary for field styles:

Workspace activity stream background
Workspace activity stream tile icon
Workspace activity stream icon color
See: https://www.servicenow.com/docs/csh?topicname=config-journal-field-icons-and-colors.html&version=lat...