Is it possible to automatically open the chatbot in Service Portal landing page?

Rajini2
Mega Sage

We are in Utah and trying to automatically open the chatbot on the service portal landing page.  Is this possible?

1 ACCEPTED SOLUTION

Rajini2
Mega Sage

Found out the issue. I had Proactive Triggers installed and I had this system property set as true "com.glide.cs.advanced-chat-popover".  I doubted if this was interfering and gave the value "false". Then the chat opened onload of the index page. 

View solution in original post

10 REPLIES 10

nataliya_b
Tera Guru

you could use this article as base: https://www.servicenow.com/community/virtual-agent-nlu-articles/toggling-virtual-agent-chat-client-u...

1. create new widget

2. put in client controller 

api.controller=function() {
  /* widget controller */
  var c = this;
c.toggleChat();
 
};
3. place your widget on page where you want chat to be open
 

I did follow that article, but I doubt the class names have changed in utah.  Please correct me if I am wrong.

 

Rajini2_0-1711577416729.png

 

clear all your code and just leave the line in client controller

  var c = this;
c.toggleChat();
 
than place your custom widget on index (for exampl) page . Chat shall be opened by default
 

 

No luck 😞