How to add a help text next/above a reference field (not in a record producer)

Alon Grod
Tera Expert

Is there any way of adding a help text to a reference field or maybe add a help text above or next to the reference field? (Not in record producer but when you want to create an incident from Service Operation Workspace)

1 ACCEPTED SOLUTION

AnimeshP_96
Tera Guru

@Alon Grod 
so for this you can either use g_form.addInfomessage("field_name","message") 

OR

 

g_form.showFieldMsg("field_name","message ",true)

check the syntax before you save the code, let me know if this works.


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh

View solution in original post

4 REPLIES 4

Ranjit Nimbalka
Mega Sage

Hi @Alon Grod ,

 

You can use field decorators for this below I have given an example also a link for reference.

 

Screenshot (11).png 

Link for reference:- https://www.servicenow.com/community/itsm-forum/how-to-show-help-text-for-fields-in-service-operatio...

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit
 

 

@Ranjit Nimbalka its not working

Sid_Takali
Kilo Patron
Kilo Patron

Hi @Alon Grod you can setup annotation for an workspace view. Refer below Screenshots.

1. Go to form layout of the record.

2. Select appropriate view of the workspace.

3. Add Annotations from Available Slush bucket to Selected Slush bucket.

4. Configure Annotations and write down your information.

SiddharamTakali_0-1714717980642.png

SiddharamTakali_1-1714718368939.png

https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/administer/workspace/task/...

 

Please mark my reply Correct/Helpful,

Regards,

Siddharam

 

 

AnimeshP_96
Tera Guru

@Alon Grod 
so for this you can either use g_form.addInfomessage("field_name","message") 

OR

 

g_form.showFieldMsg("field_name","message ",true)

check the syntax before you save the code, let me know if this works.


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh