- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 12:37 PM
We are in Utah and trying to automatically open the chatbot on the service portal landing page. Is this possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 09:04 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 08:46 AM
Just download the share item.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 05:00 PM
Hi @Rajini2 ,
Yes it is possible , refer this article which explained on how to open a chat bot on portal while landing.
I hope this helps...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 08:00 AM
Yes, I tried "Toggle Chat client automatically", it is not working for me. This is my script,
Server Script:
(function() {
/* populate the 'data' object */
/* e.g., data.table = $sp.getValue('table'); */
data.chatbottime = gs.getProperty('toggle_chatbot_time');
})();
Client Controller:
api.controller = function($scope) {
/* widget controller */
var c = this;
$scope.showChat = false;
$scope.toggleChat = function() {
$scope.showChat = !$scope.showChat;
$('a#va_chat').toggleClass(' active-chat');
var isOpen = $('button.sp-ac-btn.open').length != 0;
if($scope.showChat){
if(!isOpen) {
$scope.$$postDigest(function(){
$('button.sp-ac-btn').trigger('click');
});
}
} else {
if(isOpen) {
$scope.$$postDigest(function(){
$('button.sp-ac-btn').trigger('click');
});
}
}
};
c.toggleWindowAuto = function() {
$scope.toggleChat();
};
};
Link:
function link(scope, element, attrs, controller) {
var c = scope.c,
$timeout = $injector.get('$timeout');
$timeout(function(){
if(!c.isOpen) {
c.toggleWindowAuto();
}
}, c.data.chatbottime);
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 08:47 AM
Just download the share item = works.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 08:46 AM
Hi there,
Yes thats possible. You already found my article on this, just download the share item and add the widget to your portal page.
I also just tested it, still works fine.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field