add link to a record of the value in a field

Andre8
Giga Guru

I have a catalog client script that displays a message of the value exists in another table. How do I add a link to the record of the value that is displayed in the u_barcode variable and include the link in the popup message that is displayed?

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron
https://community.servicenow.com/community?id=community_question&sys_id=e5394e151b16ec1038739979b04bcbc3

Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

View solution in original post

3 REPLIES 3

Gunjan Kiratkar
Kilo Patron
Kilo Patron
https://community.servicenow.com/community?id=community_question&sys_id=e5394e151b16ec1038739979b04bcbc3

Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Please check this thread.

Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Moy1
Kilo Guru

 

The URL that is displayed  in the popup is your instance url.

 

You can find find it in a script using gs.getProperty('glide.servlet.uri')