Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to add icon in the Reference field

ramesh_r
Mega Sage

Hi All

I want to add the below icon in the reference field, Please help me how to do this

like this

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

Omkar Mone
Mega Sage

Hi 

You need to add Attribute in this case. Create a Ui Macro. And in the dictionary of a field (Where you want the icon) add attribute something like this :-

ref_contributions=add_edit_user;

//add_edit_user is the Ui Macro.

 

 

Go through the below example for the same :-

https://www.servicenowguru.com/system-ui/ui-macros/add-me-ui-macro-user-group-fields/

Regards.

View solution in original post

4 REPLIES 4

Sri Harsha3
Tera Expert

You need to set that in your custom UI Macro for the tag <g:reference_decoration

Amit Singh1
Tera Contributor

hi

u can create ui macro ana add attribute in a table on particular field

Omkar Mone
Mega Sage

Hi 

You need to add Attribute in this case. Create a Ui Macro. And in the dictionary of a field (Where you want the icon) add attribute something like this :-

ref_contributions=add_edit_user;

//add_edit_user is the Ui Macro.

 

 

Go through the below example for the same :-

https://www.servicenowguru.com/system-ui/ui-macros/add-me-ui-macro-user-group-fields/

Regards.

working for native ui and how in csm workspace?