Linking to Zendesk articles

2 Commentaires

  • Kel S.

    Hi Justine,

    We have a similar set up, and we use the zendesk API to pull in the content of a specific article (to display on-page in the LMS as if it was native content).

    Here's the code we use below, I've replaced a couple of sections to show you where to put your info in. The article ID is found within the URL of the article.

    Hopefully this might help?

    <script>

    $(document).ready(function() {

    $.ajax({

    url: 'https://YOUR-URL/api/v2/help_center/en-us/articles/ARTICLE-ID.json',

    dataType: 'json',

    success: function(data) {

    $("#results").append()

    $("#results").html(data.article.body);

    },

    });

    });

    </script>

    <div id="results">

    </div>
    0
  • Dave Dyson

    Hi Justine,

    Can you help us understand why you're unable to link directly to articles in your Zendesk help center? Each article, community post, and even each comment on articles and posts, has its own unique URL. And as Kelly demonstrated above, it's also possible to retrieve the content of an article via our API: Show Article

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk