사용자 지정 개체 레코드 일괄 가져오기



image avatar

Jacquelyn Brewer

Zendesk Documentation Team

2025년 3월 19일에 편집됨


0

0

댓글 15개

When importing a custom object, it is not imported in the order of the CSV rows. Since I cannot sort the custom object, this list is displayed as is to the end user or agent. If the custom object is a number, it is not sorted, which confuses the users.

 

1) Is there any way to import a custom object in CSV order?

2) Do you plan to support sorting in custom objects? (Like the ticket field option)

0


Hey Thomas,

 

To import values for multi-select fields, you should use the custom multi-select field's field_key as the column heading. For the values, you can specify space-delimited multi-select tags or space-delimited multi-select option IDs.

 

Here's an example using a custom clothing product object where colors are set as a multi-select field:
name,colors,in_stock
Short sleeve t-shirt,cardinal_red black white deep_green,true
Long sleeve t-shirt,gold royal_blue yellow,false


In this example:

  • The name column specifies the product name.
  • The colors column lists space-delimited color tags for the multi-select field.
  • The in_stock column indicates whether the product is in stock.

Please let me know if you need any further assistance!

 

Thanks,

 

Michal | Senior Software Engineer | Zendesk

0


1264158221429  - We use Tray for many Zendesk automations that either handle a bunch of requests, or extend existing Zendesk functionality. In terms of Custom Objects, we use one that updates the records based on a report generated by an external resource. This POST/PATCH includes about 5,000 records on a daily basis. For Tray and Zendesk limits, this is pretty resource intensive.

 

I'm not sure what other file upload API actions are supported by other end points, but I'm seeing a PUT method for User Images. Using the API in this way would allow us to bypass using the UI, and automatically process these on an off-hours schedule. 

0


Hi 1900360390924. Yes, the team are considering releasing an API for this, but we don't currently have a timeline for it. I'm curious how you might use such a feature? Are you able to let me know some details of your particular use case or ideas here? 

 

Thanks,

Carl

0


Attention à la traduction. La colonne ne doit pas avoir l'entête nom mais bien name

0


In case other Zendesk admins are running into the same issue I am…

For Data Importer to be able to bulk update organization records, the orgs need to have an external_id already populated. Data Importer does not use the organization ID as the unique identifier.

 

I created a feature request to allow Data Importer to use the Zendesk organization ID when bulk updating. Please upvote if you think this is a good idea.
https://support.zendesk.com/hc/en-us/community/posts/6980652975642-Data-Importer-Use-Org-ID-as-identifier-instead-of-external-id-when-updating-orgs

 

 

0


It would be great if the importer ran as a patch like the API rather than needing to use update and create separately. In any case, the error log for the update run is unclear.

When you try to update from a create run, the system tells you clearly that the external_ID is already in use. When you try to create from an update run, you get a pretty jumbled error message including non-essential technical info that - I believe - indicates that the external_ID doesn't exist (ie it can't update a record that doesn't exist). It would be helpful to admins if the message was a bit more plain.

0


UPDATE: MOVING 'NAME' TO THE SECOND COLUMN MAPPED IT. DUNNO 🤷‍♂️

That's the issue - the CSV importer isn't recognizing that there's a column header with the title 'name'. I'm following the documentation, but a CSV template would be helpful since it seems there's some vagueness. It's recognizing some of the headers though:

Importer results:

0


Hi Matthew,
 
You can use the Create Custom Object API to create your objects. However, if you are planning to upload it via CSV, the data importer tool is the one to use. For now, unfortunately, there is no available endpoint for bulk upload of custom objects. Please refer to this article for more information: Creating custom objects workflow and samples.
 
As for the error that you are getting with the data importer tool, make sure that the following requirements are met to avoid any issues. This can be seen above.

 
If you continue to experience issues with that data importer tool, I highly suggest reaching our to our Support Team for further checking. 
 
Best,
Paolo | Technical Support Engineer | Zendesk

0


When using the Data Importer tool, I've tried to include a 'name' field in the header as "name" and as "custom_object_key.name" and as "name*" (the way it is documented) but the nomenclature / format keeps returning that the file headers aren't mapping. What is the proper format?

0


로그인하세요.

계정 세부 정보

세부 정보를 보려면 로그인하세요.

로그인하여 계정 세부 정보를 한 눈에 확인하세요.

로그인