Zendesk's Help Center theme customization, part 1: How we use Zendesk features

3 Comments

  • API System

    Hi Erik

    Thank you for this great article.

    I would like to know if it is possible to execute server side code using Curlybars. Basically I want to pre-fill a field of the new-request form with information of the logged user retrieved from another system (to list order references from the e-commerce website).

    Regards

    0
  • Juraj Jarmek

    Hello @...,

    Unfortunately, that is not possible.

    There is some limited templating logic like conditionals or loops for data, but service side code is not possible with Curlybars.

    For more info on that:

    Using the help center templating language: Conditionals

    0
  • Rajan

    Erik Dunning Can we call rest API before rendering the template and feed the data after getting the response from API to the template? I want to show all the categories on the Header template using the rest api.

    0

Please sign in to leave a comment.

Powered by Zendesk