Recent searches


No recent searches

Amit Chinchane's Avatar

Amit Chinchane

Joined May 13, 2021

·

Last activity Jan 17, 2025

Following

0

Followers

0

Total activity

34

Votes

2

Subscriptions

18

ACTIVITY OVERVIEW

Latest activity by Amit Chinchane

Amit Chinchane created a post,

Post Q&A - Help center and community

Hi All,

Is it possible to hide the a specfic value from the dropdown list on the form (help center) using javascript.

Currently I tried and even though the value is not showing up element (developer console), but I can still see the value on front end form.

this is my current code:

if(HelpCenter.user.role == 'anonymous' || HelpCenter.user.role =='end-user' || HelpCenter.user.role =='manager')
    {
      $('#request_issue_type_select option[value="13504813503517"]').remove(); 
    }

Posted Nov 14, 2023 · Amit Chinchane

1

Follower

3

Votes

1

Comment


Amit Chinchane commented,

Community comment Developer - Zendesk APIs

Is it possible to have And operator used in the Search API call for tickets?

 

I am looking for something like 

"/api/v2/search.json?query=type:ticket status<=closed tags:check_for_migrated & tags:!GDPR"

View comment · Posted Mar 25, 2023 · Amit Chinchane

0

Followers

0

Votes

0

Comments


Amit Chinchane commented,

Community comment Developer - Zendesk APIs

Hi All,

I am trying to create a webhook with bearertoken, but it is not working, The same wehbook with basic authentication is working properly, but if i switch to bearer token, then it gives 401 error

{
    "error": "invalid_token",
    "error_description": "The access token provided is expired, revoked, malformed or invalid for other reasons."
}

I tried adding the token in all the possible format:

  • aygaoWwEs4qTpNRkn71WacsxgHSzP1zpxogEEZ8g007
  • abc@mymailbox.com/token:aygaoWwEs4qTpNRkn71WacsxgHSzP1zpxogEEZ8g007
  • abc@mymailbox.com/aygaoWwEs4qTpNRkn71WacsxgHSzP1zpxogEEZ8g007
  •  

what am i doing wrong

View comment · Posted Mar 21, 2023 · Amit Chinchane

0

Followers

0

Votes

0

Comments


Amit Chinchane created a post,

Post Developer - Zendesk APIs

Is it possible to search for a webhook by filtering by name?

I tried "https://{subdomain}.zendesk.com/api/v2/webhooks"

but sure how the filter

filter[name_contains]

 can be used here

Posted Jan 02, 2023 · Amit Chinchane

0

Followers

3

Votes

1

Comment


Amit Chinchane commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

Hi Cheryl Lane:

Thanks alot, I followed ur suggestion and it worked . :)

View comment · Posted Dec 30, 2022 · Amit Chinchane

0

Followers

0

Votes

0

Comments


Amit Chinchane created a post,

Post Developer - Zendesk Apps Framework (ZAF)

I am trying to create an automation from within the custom app, I am following the documentation on Support Site. The script works on Postman, but when I try from the custom app it gives the below error :

Error {"error":"RecordInvalid","description":"Record validation errors","details":{"base":[{"description":"Invalid conditions. You must select at least one condition."}]}} 

below is the code that I am executing.

var _url = '/api/v2/automations.json';
        var settings = {
            url: _url,
            type: 'POST',
            dataType: 'json',
            async: false
        };

        var _data = { "automation": { "title": "Roger Wilco", "all": [{ "field": "status", "operator": "is", "value": "open" }, { "field": "priority", "operator": "less_than", "value": "high" }], "actions": [{ "field": "priority", "value": "high" }] } };

        if (_data) {
            settings.data = JSON.stringify(_data)           
            
        }
        client.request(settings).then(
            function (data) {

                console.log("Automation created" + data)


            },
            function (response) {
                console.error(" Error " + response.responseText);
                //console.log(response);
            });

Edited Dec 30, 2022 · Amit Chinchane

0

Followers

3

Votes

2

Comments


Amit Chinchane commented,

Community comment Q&A - Help center and community

How can we update/change the dropdown values based on certain condition for the custom dropdown.

For example: I have a custom dropdown with the values

  • Product 1 (Asia)
  • Product 2 (Europe)
  • Product 3 (Asia)
  • Product 4 (Asia)
  • Product 5 (US)

now if the user has search field where he enters "Asia" then accordingly the dropdown filed show only show those products which are mapped to Asia --> Product 1, Product 3 & 4

 

View comment · Posted Nov 12, 2022 · Amit Chinchane

0

Followers

0

Votes

0

Comments


Amit Chinchane commented,

Community comment Q&A - Help center and community

I want that after the below line of code is executed the date should be displayed in the datepicker field.

 //matchRecord.purchaseDate --> is holding the date in format 2022-01-09
      $('#request_custom_fields_10113154225297').val(formatDate(matchRecord.purchaseDate))

Currently it show blank.

View comment · Posted Oct 26, 2022 · Amit Chinchane

0

Followers

0

Votes

0

Comments


Amit Chinchane commented,

Community comment Q&A - Help center and community

I tried the above code, but the new date is not reflecting on the webform

//matchRecord.purchaseDate --> is holding the date in format 2022-01-09      $('#request_custom_fields_10113154225297').val(formatDate(matchRecord.purchaseDate))
 var _z = "Date "+$('#request_custom_fields_10113154225297').val();

View comment · Posted Oct 26, 2022 · Amit Chinchane

0

Followers

0

Votes

0

Comments


Amit Chinchane created a post,

Post Q&A - Help center and community

I am trying to set the date value in the webform using javascript.

$('#request_custom_fields_10113154225297').val(matchRecord.purchaseDate)

The value is displaying when I try the below code 

console.log("Date "+$('#request_custom_fields_10113154225297').val())

 

Posted Oct 26, 2022 · Amit Chinchane

0

Followers

2

Votes

5

Comments