Build An App Using The Zendesk Apps Framework
Build An App Using The Zendesk Apps Framework
Prerequisites
Here you can see all you need to have or do before starting this course to
make the most out of it.
01
To upload private apps to your Zendesk instance you need a Professional or
Enterprise plan.
02
You need to have ZAT installed
03
The app in this course uses HTML, JavaScript and a bit of CSS, you will need
to have a basic understanding of at least HTML and JavaScript to understand
all the code snippets in this course.
2
Code Snippets
In the following pages you will find the code snippets used throughout the
course.
They appear in the order they were presented in. They are also organized by
modules they were used in and labeled with the slide title.
Initialize the Zendesk Apps Framework.
client.on(“app.registered”, function(e) {
client.get(“ticket.subject”).then(function(result) {
document.getElementById(“search_term”).value =
result[“ticket.subject”];
Work with external APIs
Use ZAFClient.request to make HTTP requests / Use the Help Center API
client
.request(“/api/v2/help_center/articles/search.json?query=” + query)
Add an input field for the search / Trigger a search Update the ticket / Add a tag to the ticket
when typing in the search field
type=”text” );
/> client.invoke(“ticket.tags.add”,
“used-help-center-app”);
}
Upload the app into your Zendesk Instance
Resources
Here you can find useful resources to use regarding the Apps Framework,
some of which we referenced in the course.
01 Manifest reference
02 App Internationalization
07 Zendesk Garden