Skip to main content
davidk99046111
Inspiring
August 3, 2023
Question

Robohelp Chatbot Output in Frameless

  • August 3, 2023
  • 4 replies
  • 468 views

Has anyone successfully deployed the RH chatbot in a frameless output? 

 

I see in Adobe's instructions that the RH chatbot output gives you the embed code to add it to your site.  the issue here is that navigating a frameless site via the TOC prevents JS (other than the default topic.js) from firing on the page as frameless uses history changes and does not load the entire page when clicking on a topic in the TOC (other people have posted about this issue on this forum). 

 

So currently, their chatbot will only load on the main/welcome page but not anywhere use if you use the TOC.  BTW - testing this locally does not work as the actual source files are loaded with each click.  You have to push the output to a server to reproduce the push state/history js issue. 

 

I am using RH2022 update 1, blue lagoon frameless skin.  others have reported this issue with 2020 and other frameless skins.  The common dominator is the frameless output itself.  I have also tried forcing js in the master page, an individual topic, and homepage/topicpage.ejs files.   I really don't want to mess with the topic.js.  

 

I emailed adobe support several weeks ago (no response) and already have a bug ticket in - https://tracker.adobe.com/#/view/RH-11720

 

The workaround is to refresh the page which will force a reload and fire the JS but you cannot expect the end user to have to do that for every page.   I really don't want to have write and deploy a listerner to fix this.

    This topic has been closed for replies.

    4 replies

    Peter Grainge
    Community Expert
    Community Expert
    August 3, 2023

    Create a new project that has a simple example of a script that demos the problem you describe and test it is failing there. Then see the Contact page on my site and send the project as instructed there with notes to help me follow. Do make sure you include a link to this thread and please do not email the project direct.

    ________________________________________________________
    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    davidk99046111
    Inspiring
    August 3, 2023

    will do. i will have to see if i can get a vanilla version of the js.  The current one has some sensitive information/branding.  

    Peter Grainge
    Community Expert
    Community Expert
    August 4, 2023

    I guess the other test would be a simple project to test the chatbot works without any customised js files being used. Does the problem only occur when you add your own scripts?

     

    The other thing to clear up is the issue only occurs on the server. Would you be able to share a generated output for me to put on my server, test and delete? It would be there for a matter of minutes only and then deleted from the server.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    August 3, 2023

    I will poke around but I don't work with chat bot outputs normally. I have reached out to someone who may be able to help. I have also reached out to someone about Support not responding. 

    ________________________________________________________
    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    davidk99046111
    Inspiring
    August 3, 2023

    thank you, @Peter Grainge .  I emailed them around the beginning of June.  Its not just this script - its every embedded js I try (calling from master page, ejs, template assets etc). I have another one, highlight.js, that formats code on the page.  I can only get it to fire upon refresh once you are using the toc.  I even tried the bare-bones popup message text message to make sure there wasn't something with the other codes.  I cannot even get the "hello world" to popup unless its refreshed when using the toc.  

    Peter Grainge
    Community Expert
    Community Expert
    August 3, 2023

    There is also information in the Chatbot section here.

     

    Adobe RoboHelp - Advanced demo (adobeconnect.com)

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    August 3, 2023

    Have you checked the steps in the RoboHelp Tour on my site? 

    ________________________________________________________
    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    davidk99046111
    Inspiring
    August 3, 2023

    Hi @Peter Grainge yes, that is one of the solutions i have tried.  So, after adding the js to both ejs pages and generating the new site, i still get the follow issue:

    JS loads fine upon initial page load.


    Clicking on a tile on the welcome (which loads the actual topic.htm) - js fires



    Clicking on a TOC topic - js does not fire.  You can refresh the page to get it to fire.  

     

    This only occurs after you load the site on a server.  If you check the developer console, under sources, you will see that you local copy loads the actual topic with each click of the toc.  But, when its on a server, you will see that clicking on a toc item does not actually change the source as RH basically updates the topic content div - the source in the developer console will still show the old topic.htm as the source.