Last active
April 30, 2018 20:11
-
-
Save chuck-wood/10672b364bb3b648768372d38924f9ab to your computer and use it in GitHub Desktop.
How to create a link to a Zendesk app settings page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
client
is an initialized Zendesk App Framework client (ZAFClient.init()
).