How to add new Work Notes field (with styles) to new form in non-extended custom table?

Kevin McGartlan
Tera Contributor

Hello, 

I would like to add a new Work Notes field (with all styles like yellow bar on side of field) to a new form in a custom table that is not extended from the task table. So far, I have created a new Journal Input field, and matched the same configuration with the OOB Work Notes field on the task table. However, the newly created Work Notes field does not have the yellow bar on the side of the field like it does in any table extended from Task. I know there is a system property "glide.ui.activity_stream.style.work_note" which adds my desired style to the field, but I am not sure how to add that same style for my newly created "Work Notes" field. Any ideas? Below is a screenshot of what I'm describing: 

find_real_file.png

Thank you.

1 ACCEPTED SOLUTION
8 REPLIES 8

Shane J
Tera Guru

Try the solution offered in this post https://community.servicenow.com/community?id=community_question&sys_id=053d87a9db9cdbc01dcaf3231f96... and let us know if that works.

Brian Whyte
Kilo Guru

Links are dead.  I'm noticing that in a lot of solutions here, community members post links that don't go anywhere. Is this something the administrators of this community could look into?

I will ironically post a link:  
https://www.servicenow.com/community/community-resources/ct-p/community-resources

 

😁
If you don't post there, those running the Community site won't have any visibility to your ask.  I'm pretty sure 'dead links' has been a topic of discussion as of Day 1 since they moved to this new format, so good luck with getting any traction.

What are you trying to solve that brought you here?

Brian Whyte
Kilo Guru

Hey Shane, I was exploring means to style the work notes area in the Core UI.  I feel like this area can just become an endless list of input boxes and labels.  As a small example, I was hoping to do some CSS to bound parts of it using something like set a height for it and then do "overflow-y: scroll" so I can reduce the scrolling for information on this page.   In general, I can't stand the way this interface is laid out and I feel like the interface that the customer interacts with can be highly customized, but customizations options for the folks using the Core UI leaves a lot to be desired.  It seems like the DOM is blocked, so even if I wanted to do an onload event and inject and modify styles that way, I can't.