Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda