Skip to content

Instantly share code, notes, and snippets.

@chuck-wood
Last active April 30, 2018 20:11
Show Gist options
  • Save chuck-wood/10672b364bb3b648768372d38924f9ab to your computer and use it in GitHub Desktop.
Save chuck-wood/10672b364bb3b648768372d38924f9ab to your computer and use it in GitHub Desktop.
How to create a link to a Zendesk app settings page
client.metadata().then(function(metadata) {
client.get("currentAccount.subdomain").then(function(data) {
return "https://" + data["currentAccount.subdomain"] + ".zendesk.com/support/apps/manage#/installation/" + metadata.installationId + "/app_config";
});
});
@chuck-wood
Copy link
Author

chuck-wood commented Mar 26, 2018

client is an initialized Zendesk App Framework client (ZAFClient.init()).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment