How to Render external website in catalog item in Service Portal?

Mukesh Bhati
Giga Contributor

Hello Experts,

Can we render the external page (like w3school.com) in the catalog item of the service portal? once the user selects the catalog item instead of order and add to cart option I want the external page to be open there not in the new tab. can we do this? if yes provide some hints

 

Thanks in Advance!

Regards,

Mukesh

1 ACCEPTED SOLUTION

Hi Mukesh,

you can disabled the order now button as below

On Service Catalog items there are 3 flags:

Use Cart Layout -> set this to false
No Order Now -> set this to true
No order -> set this to true

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Mukesh,

you can use content item for this; it can take user to external content

please check below links:

https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/service-catalog-manage...

https://community.servicenow.com/community?id=community_question&sys_id=6d314f2cdb3e2b00f0612183ca96...

OR

else you can have a macro variable in your catalog item; on click it will take to that external link

Also ensure you hide the Order Now button, Add to Cart etc for this catalog item

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Ankur,

 

Thanks for your quick response.

 

Working well with the micro, but how to disable the order-now button?

 

Thanks In Advance!

 

Regards,

Mukesh

 

Hi Mukesh,

you can disabled the order now button as below

On Service Catalog items there are 3 flags:

Use Cart Layout -> set this to false
No Order Now -> set this to true
No order -> set this to true

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Cuong Phan
Kilo Sage

Hi Mukesh,

 

This is simple, you can use iFrame, object or embed in HTML5. Here is an example of emBed.

Step1. Create a "Macro variable" on catalog item

find_real_file.png

Step2. Create a Widget to store your embed HTML source and add widget to macro variable

find_real_file.png

Output:

find_real_file.png

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

 

Cuong Phan

DXC Consultant.

Regards,
Cuong Phan
ServiceNow Technical Lead