I am developing a microsoft bot, (currently using bot composer, which is linked to QnA maker). The bot will need to be visible on the main website (which is predominantly a store-front type website, showing various products, with each product having its own URL).
The various questions in QnA maker relate to ANSWERS which need to point to specific product pages on the hosting web site.
The typical scenario will be , user will ask a bot a question, and this will result in an ANSWER which has a URL to the relevant page on the main website. When the user clicks the link in the bot, the main website will navigate to the relevant product page, but the bot should still be visible, and should still be in a state which shows the conversation so far (rather than being re-started).
How can this be achieved?
(I have experimented with embedding the bot in an iframe, as per the Azure bot instructions, but of course, as soon as the parent web page changes, this is effectively a new page so the bot becomes invisible).
NOTE - as a secondary issue, It appears that the QnA maker sets all links to use target="_blank" and I suspect I really need to be using a link which follows this technique: " target="_top">Lin or " target="_parent">Link
Does anyone has any advice regarding this secondary issue?