Setting the context via API

1Answer

Delete the existing context (if any) 

faqbotRemoveMetaTag('faqbot-dynamic-tags'); // deletes any context loaded because of the rule match in context control
faqbotRemoveMetaTag('faqbot-tags'); // delete any previously set context

 


Add a new context

faqbotAddMetaTag('faqbot-tags', '<list of tags saperated by comma>');

 

Reload the content of helpbot if already in the open state

document.getElementById("faq-bot-container")&&"visible"==document.getElementById("faq-bot-container").style.visibility&&faqbotStart();

 

 

 

Did this answer your question?
...