Passing values to a form via URL

Sandaru1
Tera Expert

Hi,

I'm in a need of passing URL parameters to a Custom Orderable Item (shown bellow). 

find_real_file.png

 

I have tried the usual way of using "^u_cpe_customer_id=300191" but it didn't work. 


https://[instance].service-now.com/nav_to.do?uri=%2Fcom.glideapp.servicecatalog_cat_item_view.do%3Fv%3D1%26sysparm_id%3D65960a1c376522003b12ab2943990ef8^u_cpe_customer_id=300191

How I can do this.

Thanks and Regards,

/Sandaru

1 ACCEPTED SOLUTION

The SN Nerd
Giga Sage
Giga Sage

You'll need to write a client script to get process parameters via the URL.
This functionality is not native for Catalogue Items.

Solution here https://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script...

 


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

View solution in original post

2 REPLIES 2

The SN Nerd
Giga Sage
Giga Sage

You'll need to write a client script to get process parameters via the URL.
This functionality is not native for Catalogue Items.

Solution here https://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script...

 


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi how can we use it for share points URL?