Virtual Agent not starting up in inbedded iframe unless user visited the servicenow site first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2019 12:35 AM
We are working on using Virtual Agent on our external support site for self help. Using this instruction to make it work.
https://docs.servicenow.com/bundle/london-performance-analytics-and-reporting/page/administer/virtua...
Well, it works. on one condition. That the user visit our servicenow instance and what i assume gets a cookie. They dont even have to login.
If you visit it on a new browser who never been on the servicenow instance website. You get an empty chat without the chatbot starting up.
It took us a long time to figure out what was happening. Because everyone who tested it from the start was also using servicenow. But the inteended target group are users who does not use servicenow..
- Labels:
-
Multiple Versions
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 12:24 PM
Hi,
This may be because the Chat is not marked as public and you need to login.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 11:38 PM
Hey Ashutosh. Thanks for taking time to answer.
1. How do i mark is at public?
2. I do not have to login. It works for any user without an account if they just go to the loginsite. Without logging in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2019 12:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2019 12:02 AM
Hey, we are not using the serviceportal solution at all atm. We want to use only the virtual agent embedded on a external site.
The topics themselves are set to public already.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2019 12:41 AM
Hi Tobias,
This is happening because you are allowing guest users to login in Virtual Agent embed URL. The guest users will not be allowed to see any of your custom topics.
Solution:
1) Go to script includes, search for SAML2_update1 and then Search for:
needNavFrame: function(requestURI, request) function
2) Add the following code in this
if (requestURI.indexOf("sn_va_web_client_app_embed") >= 0)
return false;
After this all users who are not logged in will be prompted to login. Let me know if any questions.
Please mark this comment as Correct Answer if it helped you.
Cheers,
Hardit Singh
