Open linked help articles in the widget


 
Ivan Penchev
Last Updated: 2 years ago

Once you have the JS of our smart widget installed, you can easily create links that would open any piece of content from your help center inside the smart widget.

The only thing that you need to do is to obtain a link from your help center (which would probably look like https://support.mycompany.com/content/my-help-center-article) and then create an ordinary link element (<a>) with the link that you got into the href attribute and one special attributed named data-hc-article.

Here is what an example link element would look like:

<a href="https://self.helpcenter.io/content/adding-a-custom-domain-to-your-help-center-ToLPi" data-hc-article="1">Here is how to add a custom domain name to your help center?</a>

All such links will open up in the widget or in a special sidebar (if the widget is in stealth mode) instead of sending the user to your help center.


Was this article helpful?