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

Dr Atul G- LNG
Tera Patron
Tera Patron

HI @AllegedCanadian 

 

Please provide some screenshot to understand your requirement more,.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

AllegedCanadian
Tera Contributor

For some reason I couldn't before, but this should be it.

Hi @AllegedCanadian 

 

I doubt we can change, as it core code and changing may impact others. ( It can be done via DOM manipulation, which is not recommended)

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

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