Service Portal in 3rd part website through iframe?

VJ_291989
ServiceNow Employee
ServiceNow Employee

Is there any way to set up a service portal through iframe inside 3rd party website? 

3 REPLIES 3

Ethan Davies
Mega Sage
Mega Sage

Yes, it is possible, but that does not mean it is easy.

 

From the ServiceNow documentation:
"If you are interested in integrating ServiceNow with your intranet you should be aware that the ServiceNow login portlet is the only content supported within an iframe HTML element. Any other method of attempting to include the ServiceNow platform outside of your instance is not supported.

There are several ways you can add a ServiceNow login link to your intranet.

You can add a login link by:

  • Enabling the PortletLogin Script include to be Client Callable.
  • Creating a simple HTML link to your instance that takes your users directly to the ServiceNow login page.
  • Adding an iframe link to the ServiceNow login portlet in one of your HTML pages to permit direct login."

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0717165

 

You will also need to set a System Property to enable your portal to render outside of ServiceNow. You will need to set it to false.

glide.set_x_frame_optionsEnable this property to set the X-Frame-Options response header to SAMEORIGIN for all UI pages. The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame> or <iframe>. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites. https://developer.mozilla.org/en/the_x-frame-options_response_header

Default: Yes

I have a similar requirement where I am facing issue to get current logged in user in my VA. How can i get my logged in user in VA ? Have you come across such issue.

 

Thanks in Advance

eric_hemmer
ServiceNow Employee
ServiceNow Employee

For the past 5 years customers have been using ServiceNow as their intranet portal. The key to this is Employee Center Professional with its employee communications, Approvals Hub, and AppLauncher features. I formed a special interest group of customers who have already done this or are interested in doing so and that group has over 880 members today. You can find a lot of resources to pursue this here: https://www.servicenow.com/community/ex-platform-for-the-modern/gh-p/sig-modern-intranet