How to add serial number in the click of Preview Icon

PrashantT
Giga Guru

Hi, 

I have one requirement where I have to add the serial number as well on the click of preview icon. This variable is created in the catalog item, and it is editable in the RITM.

 

PrashantT_0-1757573421002.png

 

Thanks

 

5 REPLIES 5

Viraj Hudlikar
Giga Sage

Hello @PrashantT 

 

Refer below articles and links.

How to customize fields displayed on the reference... - ServiceNow Community

Customize the Reference Icon Pop-up - ServiceNow Developer Pro-Tips

https://youtu.be/vfjVie_YrrE?si=TGP1slgAe-DxWNs_

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Ankur Bawiskar
Tera Patron
Tera Patron

@PrashantT 

you will have to customize the sys_popup view for your referenced table

How to Display fields of your choice on sys_popup of reference fields 

Note: Remember this will be a global change and will impact every place where this table is being referred

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

AbinC
Tera Contributor

Hi @PrashantT ,

here have been instances where we have been asked to control the display of fields on popup of reference type fields.Like in below snapshot if we wnt to display the related list or the additional fields which are not visible on the reference field popup yet.

AbinC_0-1757576016748.png

 

 

I have tried to explain it in few steps as follows:

1. Sys_popup is a view available in most of the instances and if not then,you have to create it manually.

2. Sys_popup is being used to decide the form display of the pop-up of reference fields.

For ex.If the reference field 'assignment_group' is present on the 'Incident' form and on clicking at the pop-up,the form fields are being displayed which are by default.

But suppose if you want to display some related lists(which are not being displayed on default view of assignment group) So,you have to follow following steps:

2.1. Navigate to System UI-->Views

2.2. Search for 'Sys_popup' under title column

2.3. If found 'Yes' then,click on it and under 'Form sections' tab ;add 'sys_user_group'

      If found 'No' then click on create 'New' and name it as 'Sys_popup' and place the 'sys_user_group' under 'Form sections'

2.4. Now,navigate to the 'Group' list and click on any of the group from the list

2.5. Right click on the form banner and click on the 'foem layout'

2.6. Go to the 'Form view and section' and select the 'Sys_popup' in the 'view name' drop-down.

2.7. Now ,customize the slush bucket as you desire ,put the related lists here if wish to see

2.8. Now go the incident forma and click on the 'pop-up' tab against 'assignment group'.You will be able to see the desired result.

 

Thanks,

Abin

 

if you found it helpful please mark it as helpful and accept the soloution

 

Thanks,

Abin

Chavan AP
Kilo Sage

@PrashantT -

Just go through below articles which sugest you to configure sys_pop view for your reference table.

Useful links:

https://www.servicenow.com/community/itsm-articles/how-to-display-fields-of-your-choice-on-sys-popup...

https://www.servicenow.com/community/developer-forum/how-do-i-configure-a-pop-up-view-on-a-reference...

 

https://www.servicenow.com/community/servicenow-ai-platform-blog/how-to-customize-fields-displayed-o...

Glad I could help! If this solved your issue, please mark it as Helpful and Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****