Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

158
Views
Unable to access Zendesk ZAF Sdk from webapp built using Google App Script

I am trying to host an HTML form(build using Google AppScript) in Zendesk sidebar iframe. The form loads successfully. However I am facing issue with accessing the ZAF_sdk from

P.S : I have added this code in HTML file.

<script src="https://static.zdassets.com/zendesk_app_framework_sdk/2.0/zaf_sdk.min.js" crossorigin="anonymous"></script>

<script>
        console.log("Hello, World!");
        var client = ZAFClient.init();
          client.get('ticket.requester.name').then(function(data) {
            console.log(data);
          });
        client.get('ticket.requester.email').then(function(data) {
            console.log(data);
          });
        client.get('ticket.id').then(function(data) {
            console.log(data);
          });
      </script>

It gives error client.get is not a function

When I host the same code on our server, the sdk is properly loaded and all the functions are recognized and correct value is returned.

Is there a different way to load zaf_sdk in Google App Script webapp?

Thanks in advance.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!