Recent searches


No recent searches

Sebastiaan (Sparkly ⭐)'s Avatar

Sebastiaan (Sparkly ⭐)

Joined Oct 26, 2021

·

Last activity Jun 02, 2023

Community Moderator

Sparkly ⭐ https://sparkly.dev

Following

0

Followers

0

Total activity

92

Votes

13

Subscriptions

36

ACTIVITY OVERVIEW

Latest activity by Sebastiaan (Sparkly ⭐)

Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

If you're using webpack, you'll have to add it as external:
https://webpack.js.org/configuration/externals/

View comment · Edited Sep 15, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Gautam Nath,

What I mean is that you can't see the secure setting on the outgoing request in your browser. As this is the request from the browser to the Zendesk proxy.

The Zendesk proxy will then replace the secure setting for the request to the actual destination.

So to verify that the secure setting is properly replaced you need to check the incoming API call at the destination.

View comment · Posted Aug 18, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Pete,

What are you trying to retrieve? Because there's no incremental export on requests, but there are a couple of incremental export on tickets:
https://developer.zendesk.com/api-reference/ticketing/ticket-management/incremental_exports/#incremental-ticket-export-cursor-based

But I guess you're trying to achieve something else.

View comment · Posted Aug 18, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Boonyasak Siripakornchai,

Seems you are right, I can't find it the the incremental ticket events. Seems you'll have to retrieve the ticket's audits (no incremental or bulk endpoints that I could find in the documentation).

https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/#list-audits-for-a-ticket

Then you can look in the events of the audits, for an event of the type 'AgentMacroReference'. That will expose the macro ID and title.

View comment · Posted Aug 18, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Ravi,

As it's a secure setting you won't see the replacement in your browser for the outgoing request. As that would make the setting insecure. It's the proxy that's replacing it. So do you have any logging on the incoming end to check what headers are received?

You could also temporarily make use of a (free) service like webhook.site to check the incoming request if you don't have any logging at the destination of the call.

View comment · Posted Aug 18, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

1

Vote

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Seems like you are asking the same questions I did, and that you are looking for the same workarounds. I also explored the OAuth path, but didn't get it to work with just the (client side) ZAF app. Currently I'm just waiting for things to change (I guess ZIS might open up new possibilities).

I hope I'm wrong, but to my knowledge it's not possible to upload files to Zendesk with a ZAF app (without any external service or security issues), same applies to downloading secure attachments.

View comment · Posted Aug 18, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

Hey Andrew,

I have not run into this for secure settings specifically, but I have for hidden settings.

In that case it was a stringified JSON payload that we (conditionally) split in half and divided over 2 settings. On retrieval we concatenated this. I guess this might not work for plenty of the secure setting use cases, but who knows ;)

View comment · Posted Aug 16, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Ravi,

Does this request go through the Zendesk Proxy, with client.request() from the Zendesk Apps Framework? Because only the proxy is able to replace the secure settings.

Anyway, also try to disable CORS as I'm pretty sure this will keep the Zendesk Proxy out of play and the request will be send directly from the browser to the destination. So then the setting wouldn't be secure anymore if it would have been exposed.

View comment · Posted Aug 16, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

1

Vote

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Bruce,

I have no experience with this endpoint, but when I look at the documentation it seems to be locked at 1000:
https://developer.zendesk.com/documentation/help_center/help-center-api/using-the-help-center-api/understanding-incremental-article-exports/#paginating-through-the-results

I guess that's what they mean with that it differs from the regular offset pagination where you have a 'per_page' parameter. But even then it wouldn't go above 1000 (or 100 depending on the endpoint). 

View comment · Posted Aug 16, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

1

Vote

0

Comments


Sebastiaan (Sparkly ⭐) commented,

Community comment Developer - Zendesk APIs

Hey Nate,

It's most likely the last thing you mention; client.request doesn't support binary files, although I wasn't able to upload any files through it. I have tried a lot of different workarounds.

https://developer.zendesk.com/documentation/apps/app-developer-guide/using-the-apps-framework/#working-with-requests 

The suggested workaround listed in the link above (using native AJAX calls) was not viable to me, because of authorization/security issues, but maybe it is for you.

I hope this restriction will be lifted from client.request one day. Would open a lot of new possibilities for third party apps.

View comment · Posted Aug 16, 2022 · Sebastiaan (Sparkly ⭐)

0

Followers

0

Votes

0

Comments