How to setup a friendly URL for a Service Catalog Item?

smorri
Giga Expert

How to setup a friendly URL for a Service Catalog Item?

Example:  https://utswsb.service-now.com/ess/com.glideapp.servicecatalog_cat_item_guide_view.do?v=1&sysparm_initial=true&sysparm_guide=3ef151db87bad2006ece9ab31a434da6&sysparm_link_parent=53b7b739c0a80005009741be7980440e&sysparm_catalog=e0d08b13c3330100c8b837659bba

 

 https://utswsb.service-now.com/ess/IARForm

 

1 ACCEPTED SOLUTION

reginabautista
Kilo Sage

Hi, please follow the steps below to achieve this.

 

1. Create a page by going to Content Management-> Pages. Fill out form then set URL suffix to your preferred suffix i.e. IARForm. Save the page then click on Edit Page from Related links

find_real_file.png

2. Click Add Content

find_real_file.png

3.  Select Content Blocks - > New Dynamic content then click Add here button as displayed below. After that click X on the top right hand to close the window

find_real_file.png

 

4. Follow step below

find_real_file.png

 

5. On the Dynamic Content page, fill out the form, enter the following jelly code, then click submit

<?xml version="1.0" encoding="utf-8" ?>

<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<head>
<script>
location.href = '/com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=3a25637b47701100ba13a5554ee490a0'; //change sysid to the sysid of your catalog item
</script>
</head>
</j:jelly>

find_real_file.png

 

7. Then on your ess site, add the newly created page to the related list:

find_real_file.png

 

 

This should now bring your user to your catalog item when using the url below

https://yourinstance.service-now.com/ess/IARForm

View solution in original post

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

Use below fromat get the link of catalog item

 

 

 

com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=0cc1c2266f21120022a309c54b3ee44c

 

 

 

Change the sys_id with your catalog item sys_id from maintain items module.

 

Regards,

Sachin

reginabautista
Kilo Sage

Hi, please follow the steps below to achieve this.

 

1. Create a page by going to Content Management-> Pages. Fill out form then set URL suffix to your preferred suffix i.e. IARForm. Save the page then click on Edit Page from Related links

find_real_file.png

2. Click Add Content

find_real_file.png

3.  Select Content Blocks - > New Dynamic content then click Add here button as displayed below. After that click X on the top right hand to close the window

find_real_file.png

 

4. Follow step below

find_real_file.png

 

5. On the Dynamic Content page, fill out the form, enter the following jelly code, then click submit

<?xml version="1.0" encoding="utf-8" ?>

<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<head>
<script>
location.href = '/com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=3a25637b47701100ba13a5554ee490a0'; //change sysid to the sysid of your catalog item
</script>
</head>
</j:jelly>

find_real_file.png

 

7. Then on your ess site, add the newly created page to the related list:

find_real_file.png

 

 

This should now bring your user to your catalog item when using the url below

https://yourinstance.service-now.com/ess/IARForm

Thank you so much.  This was just what I needed.