How to direct user to external link when click on request button for catalog item

Abeer-khan
Tera Guru

Hello,

 

There is a catalog item when I click on it to open, it opens an external link and displays alert box to enter user's credentials to access that page, with normal search on sp portal and when I do the same search by activating Genius results it is opening a page with "sp?id=sc_cat_item&sys_id" page which doesn't redirect to the link.

Need help on how to configure the alert box on Genius card request button. Thanks

 

Best regards,

Abeer

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @Abeer-khan,

 

To redirect users to an external link when they click the request button for a catalog item in ServiceNow, you can leverage the "External Content" option within the catalog item's content configurationThis allows you to specify a URL that the user will be directed to when they click the request button. 
 
Here's how you can achieve this:
  1. Navigate to the Service Catalog: Go to Service Catalog > Maintain Items in your ServiceNow instance.
  2. Select the Catalog Item: Choose the specific catalog item you want to configure for the redirect.
  3. Go to "Content": Expand the "Content" section of the catalog item.
  4. Create an External Content Item: Click on "New" to create a new content item.
  5. Set "Content Type" to "External Content": Choose "External Content" as the content type.
  6. Enter the URL: In the "URL" field, enter the full external URL you want the user to be redirected to.
  7. Optional: Add a Description: Provide a brief description of the redirect, if desired.
  8. Save the Content Item: Click "Submit" or "Save" to save the external content item.
  9. Test the redirect: Go to the Service Catalog, select the catalog item, and click the "Request" or "Submit" button. You should be redirected to the specified external URL in a new tab or window. 

If this is helpful, please hit the thumbs up button and accept the correct solution by referring to this solution in future it will be helpful to them.

 

Thanks & Regards,

Abbas Shaik

Hello @Abbas_5 ,

 

I have created the redirection as mentioned above but it doesn't work. It opens the request button in sp?id=sc_cat_item&sys_id

Also, the results below genius card aren't working as expected. For this it opens in sp?id=form&table=sc_cat_item&sys_id

Instead these both must directly open the url (external link) to which we want this catalog item to open.

Enclosed here with screenshots.

 

Best regards,

Abeer