<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to open virtual agent chat bot automatically when after page loading? in Virtual Agent, NLU forum</title>
    <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245253#M4879</link>
    <description>&lt;P&gt;Nice solution from Mark, as ever.&lt;/P&gt;
&lt;P&gt;If you're cloning the widget, there is another way, which is to trigger the toggleWindow() function in the widget Client controller.&amp;nbsp; You could do this&amp;nbsp;every time the widget loads, or introduce some controls over it by using a $scope.on listener in the VA widget, and then doing a broadcast/emit from any other widgets on your page.&lt;/P&gt;
&lt;P&gt;As an example of the latter, we show calculate and show counts of open requests and approvals in the our SC portal header.&amp;nbsp; When the header loads, we check for the page id (only on the home page) and whether there are open requests or approvals.&amp;nbsp; If these conditions are met,we make that broadcast, which is picked up by the VA widget listener and calls the toggleWindow() function.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2020 07:02:54 GMT</pubDate>
    <dc:creator>dants</dc:creator>
    <dc:date>2020-08-13T07:02:54Z</dc:date>
    <item>
      <title>How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245248#M4874</link>
      <description>&lt;P&gt;We have virtual agent chat in out home page of portal and we want it open/pop up automatically when page loading finishes. It there any way through programming or configuration setting to make it happen?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;What exactly should be the code changes? I f somebody has done it earlier please paste it over here too.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 06:00:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245248#M4874</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-03-13T06:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245249#M4875</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;You mean something like this? Where the Service Portal Virtual Agent widget is already open? Instead of first clicking the icon? Should it also be always open, or should you also still be possible to close the widget?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/3186iCA1C25F4020FAA23/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This would certainly be possible. Unfortunatley though, you would need to clone and edit the Service Portal widget. As this is not an instance option.&lt;/P&gt;
&lt;P&gt;If my answer helped you in any way, please then mark it as helpful.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=fb488720dbaacc504819fb2439961900" target="_blank" rel="noopener noreferrer nofollow"&gt;2020 ServiceNow Community MVP&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://developer.servicenow.com/blog.do?p=/post/all-stars/" target="_blank" rel="noopener noreferrer nofollow"&gt;2020 ServiceNow Developer MVP&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P class="ng-scope"&gt;---&lt;/P&gt;
&lt;P class="ng-scope"&gt;&lt;A href="https://www.linkedin.com/in/markroethof/" target="_blank" rel="noopener noreferrer nofollow"&gt;LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=14e51965db2200d013b5fb24399619fb" target="_blank" rel="noopener noreferrer nofollow"&gt;Community article list&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 06:04:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245249#M4875</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2020-03-13T06:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245250#M4876</link>
      <description>&lt;P&gt;Yes I want it to be opened instead of clicking but user can close if they want.&lt;/P&gt;
&lt;P&gt;I want to know what should be the code changes exactly?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 06:45:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245250#M4876</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-03-13T06:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245251#M4877</link>
      <description>&lt;P&gt;- Clone the out-of-the-box widget&lt;BR /&gt;- Apply the cloned widget to your Service Portal page or header/footer&lt;BR /&gt;- Update the Client controller and CSS script like below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/s/skins/images/8A378474714559DDCEBEB3415D4958A5/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/s/skins/images/8A378474714559DDCEBEB3415D4958A5/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If my answer helped you in any way, please then mark it as helpful.&lt;/P&gt;
&lt;P class="ng-scope"&gt;Kind regards,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=fb488720dbaacc504819fb2439961900" target="_blank" rel="noopener noreferrer nofollow"&gt;2020 ServiceNow Community MVP&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://developer.servicenow.com/blog.do?p=/post/all-stars/" target="_blank" rel="noopener noreferrer nofollow"&gt;2020 ServiceNow Developer MVP&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P class="ng-scope"&gt;---&lt;/P&gt;
&lt;P class="ng-scope"&gt;&lt;A href="https://www.linkedin.com/in/markroethof/" target="_blank" rel="noopener noreferrer nofollow"&gt;LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=14e51965db2200d013b5fb24399619fb" target="_blank" rel="noopener noreferrer nofollow"&gt;Community article list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 15:05:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245251#M4877</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2020-08-01T15:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245252#M4878</link>
      <description>&lt;P&gt;Do you happen to know if this would create the interaction or chat record when the page loads?&amp;nbsp; I'm asking because I have a use-case where I need to allow the service agents to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;initiate&lt;/STRONG&gt;&lt;/EM&gt; conversations with users logged in to the Service Portal, and I was given the suggestion that perhaps if the Virtual Agent could automatically initiate a chat on-load that we could then hijack the conversation from the Virtual Agent whenever a service agent needed to message one of the users through the chat box.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:03:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245252#M4878</guid>
      <dc:creator>previsti</dc:creator>
      <dc:date>2020-08-12T15:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245253#M4879</link>
      <description>&lt;P&gt;Nice solution from Mark, as ever.&lt;/P&gt;
&lt;P&gt;If you're cloning the widget, there is another way, which is to trigger the toggleWindow() function in the widget Client controller.&amp;nbsp; You could do this&amp;nbsp;every time the widget loads, or introduce some controls over it by using a $scope.on listener in the VA widget, and then doing a broadcast/emit from any other widgets on your page.&lt;/P&gt;
&lt;P&gt;As an example of the latter, we show calculate and show counts of open requests and approvals in the our SC portal header.&amp;nbsp; When the header loads, we check for the page id (only on the home page) and whether there are open requests or approvals.&amp;nbsp; If these conditions are met,we make that broadcast, which is picked up by the VA widget listener and calls the toggleWindow() function.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 07:02:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245253#M4879</guid>
      <dc:creator>dants</dc:creator>
      <dc:date>2020-08-13T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245254#M4880</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="e5cf8aeddb181fc09c9ffb651f961930"&gt;@Mark Roethof&lt;/SN-MENTION&gt;&amp;nbsp; thank you for detail explanation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have cloned virtual agent widget and kept it in footer.&lt;/P&gt;
&lt;P&gt;In above it is opening on initial home page load as well so How to restrict to open virtual agent window to first click that means if user logged in i don't want virtual agent window to open.&lt;/P&gt;
&lt;P&gt;only when user click on it should open but when user has opened virtual agent it should be opened in next page of the portal how to achieve this ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/3195i0A7ACF62C28A05D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/3194i00302A1E2AE3E6C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/3192i87F4782B0CE29C3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;once i click on the incident link it is opening other page on the other page virtual agent window is not active if i have to open again i have to click. i saw client script and CSS but it didn't helped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have cloned it and configured it in footer if i use agent chat configuration it is behaving as i have explained (when VA is open it is still open in next page of portal)&lt;/P&gt;
&lt;P&gt;please help if i am going wrong somewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/3196i20CC5DE5C5E105B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please help &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="e5cf8aeddb181fc09c9ffb651f961930"&gt;@Mark Roethof&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 09:29:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245254#M4880</guid>
      <dc:creator>shaikha</dc:creator>
      <dc:date>2020-11-18T09:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245255#M4881</link>
      <description>&lt;P&gt;Hi dants,&lt;/P&gt;
&lt;P&gt;I tried to call the toggleWindow() function inside div tag, but was not able to open the chat bot on load.&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;lt;div class="conversation-button-container" &lt;SPAN style="background-color: #ff9900;"&gt;onLoad="$ctrl.toggleWindow()&lt;/SPAN&gt;" &amp;gt;&lt;BR /&gt; &amp;lt;div class="conversation-region fade" &lt;BR /&gt; ng-class="{'open': $ctrl.isWindowVisible}"&amp;gt;&lt;BR /&gt; &amp;lt;div class="sn-connect sn-connect-floating"&amp;gt;&lt;BR /&gt; &amp;lt;div class="sn-connect-floating-wrapper loaded"&amp;gt;&lt;BR /&gt; &amp;lt;div class="conversation-container"&amp;gt;&lt;BR /&gt; &amp;lt;iframe title="${Chat Support}" class = "chat-frame" scrolling="no" horizontalscrolling="no" verticalscrolling="no" frameborder="none" ng-src="{{$ctrl.vaSource}}"&amp;gt;&lt;BR /&gt; &amp;lt;/iframe&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; &amp;lt;button &lt;BR /&gt; aria-label="${Start Support Conversation}" &lt;BR /&gt; class="help-button"&lt;BR /&gt; ng-attr-tabindex="0" &lt;BR /&gt; ng-class="{'state-open': $ctrl.isWindowVisible, 'state-unread': $ctrl.hasUnreadMessages}" &lt;BR /&gt; ng-click="$ctrl.toggleWindow()"&lt;BR /&gt; ng-style="{'background-color': $ctrl.options.button_color}"&lt;BR /&gt; ng-attr-tabindex="0"&lt;BR /&gt; &amp;gt;&lt;BR /&gt; &amp;lt;div class="hover-overlay"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;span aria-hidden="true" ng-class="$ctrl.isWindowVisible ? 'help-icon icon-close icon-cross' : 'help-icon icon-open sn-va-widget-icon'"&amp;gt;&amp;lt;/span&amp;gt;&lt;BR /&gt; &amp;lt;/button&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Can you help to identify the issue or appropriate way of calling function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 15:46:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245255#M4881</guid>
      <dc:creator>Amarendra3</dc:creator>
      <dc:date>2020-12-29T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245256#M4882</link>
      <description>&lt;P&gt;Hi Marks,&lt;/P&gt;
&lt;P&gt;It really helped to achieve the desired result. But eve after closing the VA, the area reserved for the VA is unresponsive( any thing that is&amp;nbsp;under the virtual agent iframe area is unclickable).&lt;/P&gt;
&lt;P&gt;Any help to overcome this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 15:49:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245256#M4882</guid>
      <dc:creator>Amarendra3</dc:creator>
      <dc:date>2020-12-29T15:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245257#M4883</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;
&lt;P&gt;Will your solution only work for the legacy Virtual Agent widget? &amp;nbsp;Will this also work for the new Virtual Agent chat widget that we access via Service Portal &amp;gt; Agent Chat?&lt;/P&gt;
&lt;P&gt;Best Regards, Lener&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 14:46:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245257#M4883</guid>
      <dc:creator>Lener Pacania1</dc:creator>
      <dc:date>2021-01-22T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245258#M4884</link>
      <description>&lt;P&gt;Hi Lener,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Were you able to find a way to do this via the new Agent Chat ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sabreen&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 19:52:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245258#M4884</guid>
      <dc:creator>sabreensm</dc:creator>
      <dc:date>2021-10-04T19:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245259#M4885</link>
      <description>&lt;P&gt;Hi Sabreen,&lt;/P&gt;
&lt;P&gt;The customer I was working with was ok using the legacy VA widget since it wasn't being deprecated in Quebec.&amp;nbsp;&amp;nbsp; -Lener&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 20:41:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245259#M4885</guid>
      <dc:creator>Lener Pacania1</dc:creator>
      <dc:date>2021-10-04T20:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245260#M4886</link>
      <description>&lt;P&gt;Hi I have made the changes to the code as directed but for some reason after closing the widget the part where it was open is no longer responsive. and again noticed there is a red dot on the widget and i don't want that. TA&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 09:00:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245260#M4886</guid>
      <dc:creator>Les4</dc:creator>
      <dc:date>2021-11-03T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245261#M4887</link>
      <description>&lt;P&gt;Hi Mark.&lt;/P&gt;
&lt;DIV class="cm-comment-text cm-comment-view-mode ng-scope" data-ng-if="!comment.showEditMode"&gt;
&lt;DIV class="cm-comment-body"&gt;
&lt;DIV class="cm-comment-text-info"&gt;
&lt;P&gt;I checked it , there is no such code in the client controller.Below is the code we have in client controller&lt;/P&gt;
&lt;P&gt;function detfn($window){&lt;BR /&gt;//console.log("username", $window.NOW.user_display_name);&lt;BR /&gt;var details=$window.NOW.user_name;&lt;BR /&gt;var uuisuserid=$window.NOW.session_id;&lt;BR /&gt;var displaynm = $window.NOW.user_display_name;&lt;BR /&gt;var uemail = $window.NOW.user_email;&lt;BR /&gt;var uavatar = $window.NOW.user_avatar;&lt;BR /&gt;var uid = $window.NOW.user_id;&lt;BR /&gt;uID(uid);&lt;BR /&gt;userAvatar(uavatar);&lt;BR /&gt;userEmail(uemail);&lt;BR /&gt;userDisplayName(displaynm);&lt;BR /&gt;userlang(g_lang);&lt;BR /&gt;//console.log("windoes.now is this", $window.NOW.session_id)&lt;BR /&gt;userDetailsfn(details);&lt;BR /&gt;sessionidfn(uuisuserid);&lt;BR /&gt;c.uuemail = $window.NOW.user_email;&lt;BR /&gt;//console.log("this is user details", details);&lt;BR /&gt;}&lt;/P&gt;
&lt;DIV class="cm-attachments-body"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="cm-comment-footer cm-common-light-color f-16px ng-scope" data-ng-if="!comment.showEditMode"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Dec 2021 14:21:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245261#M4887</guid>
      <dc:creator>vijay131</dc:creator>
      <dc:date>2021-12-16T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245262#M4888</link>
      <description>&lt;P&gt;Maybe this helps:&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=073feb0ddb2a6450a08a1ea66896199e" target="_blank" rel="noopener noreferrer"&gt;Toggling Virtual Agent chat client (using Agent Chat configuration!), manually, automatically, using Typeahead Search&lt;/A&gt;&lt;/P&gt;
&lt;P class="ng-scope"&gt;Kind regards,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;EM&gt;2020, 2021 ServiceNow Community MVP&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;2020, 2021 ServiceNow Developer MVP&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P class="ng-scope"&gt;&lt;A href="https://www.linkedin.com/in/markroethof/" target="_blank" rel="noopener noreferrer nofollow"&gt;LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=14e51965db2200d013b5fb24399619fb" target="_blank" rel="noopener noreferrer"&gt;Community article, blog, video list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 15:59:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245262#M4888</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2021-12-16T15:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245263#M4889</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;
&lt;P&gt;Thanks for this solution,&amp;nbsp;I just have one question; why did you set the hasUnreadMessages variable to true (line 10)? I found that setting this to true forced the system into thinking there&amp;nbsp;were unread messages and therefore displayed the small red notification icon, I therefore instead set this to false which removed this icon.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 10:17:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245263#M4889</guid>
      <dc:creator>Ryax</dc:creator>
      <dc:date>2022-03-17T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245264#M4890</link>
      <description>&lt;P&gt;No clue, this is already from more than 2 years ago. Also I'm not looking at this solution anymore, since this is about the &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;legacy&lt;/STRONG&gt;&lt;/SPAN&gt; Service Portal widget.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 12:24:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245264#M4890</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2022-03-17T12:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245265#M4891</link>
      <description>&lt;P&gt;Mark, I followed these steps and was able to get the Virtual Agent to auto-load when the portal page loads.&lt;/P&gt;
&lt;P&gt;The problem now is that users are complaining that they cannot close or minimize the chat window at all.&lt;/P&gt;
&lt;P&gt;It seems to be appearing over the top of the original Virtual Agent (which has an "x" at the bottom where you can hide/minimize it) but this widget we've created here doesn't have that function.&lt;/P&gt;
&lt;P&gt;How can we allow the user to minimize the chat window? See attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(the 'x' in the upper right only allows you to end a conversation, not close the window).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 19:33:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245265#M4891</guid>
      <dc:creator>Cindy26</dc:creator>
      <dc:date>2022-03-23T19:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245266#M4892</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;Consider opening a new community post for this.&lt;/P&gt;
&lt;P&gt;Anyway, my first question would be:&lt;BR /&gt;- Are you using Agent Chat configuration&lt;BR /&gt;OR&lt;BR /&gt;- Are you using the legacy Service Portal widget (or a cloned version). If so, why? Why not the preferred ServiceNow method, which is Agent Chat configuration.&lt;/P&gt;
&lt;P&gt;Yes the answer above is on the legacy Service Portal widget, though this is also already a post from 2 years ago.&lt;/P&gt;
&lt;P&gt;For Agent Chat configuration, I did wrote an article how to open the web client automatically. See my Virtual Agent articles.&lt;/P&gt;
&lt;P class="ng-scope"&gt;If my answer helped you in any way, please then mark it as helpful.&lt;/P&gt;
&lt;P class="ng-scope"&gt;Kind regards,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;EM&gt;2020-2022 ServiceNow Community MVP&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;2020-2022 ServiceNow Developer MVP&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P class="ng-scope"&gt;&lt;A href="https://www.linkedin.com/in/markroethof/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=14e51965db2200d013b5fb24399619fb" target="_blank" rel="noopener noreferrer"&gt;Community article, blog, video list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 19:44:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245266#M4892</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2022-03-23T19:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to open virtual agent chat bot automatically when after page loading?</title>
      <link>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245267#M4893</link>
      <description>&lt;P&gt;Mark, thank you for the quick reply!&lt;/P&gt;
&lt;P&gt;We are using the legacy Service Portal Widget. We implemented ServiceNow late 2020 and that it is how it was setup for us so that's just what we've been using.&lt;/P&gt;
&lt;P&gt;Honestly, I wasn't aware that a different option existed and I'm not even sure I know what Agent Chat is or the difference between the two.&lt;/P&gt;
&lt;P&gt;That being said, would you mind sharing a link to your article regarding how to open the web client automatically? I've been searching here and have found quite a few but want to make sure I am referencing the correct one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 20:04:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/virtual-agent-nlu-forum/how-to-open-virtual-agent-chat-bot-automatically-when-after-page/m-p/245267#M4893</guid>
      <dc:creator>Cindy26</dc:creator>
      <dc:date>2022-03-23T20:04:57Z</dc:date>
    </item>
  </channel>
</rss>

