Cas.D's Avatar

Cas.D

Joined Apr 15, 2021

·

Last activity Jun 24, 2024

Following

0

Followers

0

Total activity

15

Votes

0

Subscriptions

6

ACTIVITY OVERVIEW

Latest activity by Cas.D

Cas.D commented,

CommentTicket basics

When searching for multiple values of the same custom field, one can add the following to the query  parameter of the /search endpoint:

custom_field_1234:some_value custom_field_1234:some_other_value

 

This will search for instances where the custom field with ID 1234 contains “some_value” or “some_other_value” - this works as expected.

 

When searching the same field for blank/NULL values, one can include the following to the query parameter:

-custom_field_1234:*

And, this will correctly return all instances where the field with ID 1234 has blank/NULL values.

 

There is an issue, however, when combining the two. Example: I need to find all instances where the values is either “some_value” or is blank:

custom_field_1234:some_value -custom_field_1234:*

 

This will result in only the blank values.

 

Is there another way to accommodate this use case?

View comment · Posted Jun 24, 2024 · Cas.D

0

Followers

0

Votes

0

Comments


Cas.D created a post,

Post Developer - Zendesk APIs

When searching for multiple values of the same custom field, one can add the following to the query  parameter of the /search endpoint:

custom_field_1234:some_value custom_field_1234:some_other_value

 

This will search for instances where the custom field with ID 1234 contains “some_value” or “some_other_value” - this works as expected.

 

When searching the same field for blank/NULL values, one can include the following to the query parameter:

-custom_field_1234:*

And, this will correctly return all instances where the field with ID 1234 has blank/NULL values.

 

There is an issue, however, when combining the two. Example: I need to find all instances where the values is either “some_value” or is blank:

custom_field_1234:some_value -custom_field_1234:*

 

This will result in only the blank values.

 

Is there another way to accommodate this use case?

 

Posted Jun 19, 2024 · Cas.D

0

Followers

0

Votes

0

Comments


Cas.D commented,

CommentMore integrations

I am also experiencing the "Request Taking Too Long" issue - is there a solution for this?

View comment · Posted May 17, 2023 · Cas.D

0

Followers

1

Vote

0

Comments


Cas.D commented,

CommentWeb Widget (Classic) documentation

I assume these bits of data should be passed on from the widget to the backend service, that will generate the JWT?

name: Customer's name
email: Customer's email

I have the following questions:

  1. Is this retrieved from the input text boxes that is presented to the Customer? If so, how do i access this from the widget jtwFn function?
  2. Where would the Customer enter a password? If we only pass on the email, then anyone with the Customer's email address will be able to see restricted articles?

 

View comment · Posted Oct 19, 2022 · Cas.D

0

Followers

0

Votes

0

Comments


Cas.D created a post,

Post Developer - Zendesk Apps Framework (ZAF)

If I want to access Support Objects (tickets, users, groups, etc) in an app developed using the App Framework v2, I can do this by calling:

client.get('ticket')

Is there a similar way to get data from Sunshine Custom Objects, inside the App Framework v2?

Posted Jul 18, 2022 · Cas.D

0

Followers

2

Votes

0

Comments


Cas.D commented,

CommentTicket automation and collaboration

Looking at the API documentation for Side Conversations, there is no mention of copying fields to child tickets. Is this feature available in the API?

View comment · Posted Jul 04, 2022 · Cas.D

0

Followers

0

Votes

0

Comments


Cas.D commented,

CommentUsing themes and customizing your Help Center

any idea how to access the script from a template?

View comment · Posted Aug 30, 2021 · Cas.D

0

Followers

0

Votes

0

Comments


Cas.D commented,

CommentUsing themes and customizing your Help Center

In my document_head.hbs, I have added this:

<script> var assetsIcon = "{{asset 'icon.js'}}"; </script>

The icon.js file looks something like this:

function getIcon(id, classification) {
const iconMapping = [
{
id: 360000120808,
classification: 'category',
icon: 'fa-envelope-open'
},
{
id: 115001810047,
classification: 'category',
icon: 'fa-user-graduate'
}
....
]

  const mapping = iconMapping.find(mapping => mapping.id === id && mapping.classification === classification);
const iconClass = `fa ${mapping.icon || 'fa-question-circle'} block-icon`;
return iconClass;
}

My home-page.hbs I want to add an icon for each category:

{{#each categories}}
<li class="blocks-item">
<a href='{{url}}' class="blocks-item-link">
<i class="{{ getIcon(id, 'category') }}"></i>
<h4 class="blocks-item-title">{{name}}</h4>
</a>
</li>
{{/each}}

No errors in the template edit, and no errors during run time in the dev tools console.

I have tried adding the asset directly into the home_page.hbs, but still not working:

<script>{{asset 'icon.js'}}</script>

Any ideas?

View comment · Posted Aug 27, 2021 · Cas.D

0

Followers

0

Votes

0

Comments


Cas.D commented,

CommentUsing themes and customizing your Help Center

I have added a javascript file to my template assets. This file contains functions, with arguments.

How would I use one of these functions in my template?

View comment · Posted Aug 27, 2021 · Cas.D

0

Followers

0

Votes

0

Comments