We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

URL in OnSubmit client script without hardcoding

Jake Adams
Tera Contributor

Hi,

 

I want to provide an URL to a Service Catalog based on condition.

 

At the moment I'm using Onsubmit client script and have stored the URL using HTML tag and showing that as Link in adderrormessage popup.

 

I want to do it without hardcoding the URL. How can I achieve this?

5 REPLIES 5

@sunil maddheshi 

are you sure this will work?

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