0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CSVファイルのフォーマットが問題となっている場合(カンマでなくセミコロンになっている)

Last updated at Posted at 2023-06-02

csvをインポートするトレイルヘッドのまとめに戻る

CSVの区切り文字が違う? カンマでなくセミコロンになっている

image.png

This is due to your csv delimiter being a semi-colon instead of a comma. This happens in some locales since they use the comma as a thousands separator.

Follow this Salesforce article:

https://help.salesforce.com/s/articleView?id=000386073&language=en_US&type=1

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QMcKj

image.png

image.png

image.png

This are consideration while importing data from CSV file in salesforce.
https://help.salesforce.com/articleView?id=000313396&type=1&mode=1
https://help.salesforce.com/articleView?id=000331030&type=1&mode=1
Most probably your excel setting changes the delimiter to semi-colon (;) instead of comma (,). To resolve this issue:

  1. Go to your file and right click on it.
  2. Select Open with and select notepad
  3. Once the file open in notepad, click on the Edit Tab.
  4. Select replace
  5. On the "Find what" field enter the value (;) semi-colon
  6. On the "Replace with" field enter the value (,) comma
  7. Click on the Replace all button.
  8. Save the file and add the .CSV on the end of the file name.
    Once done with the last step, don't open again the save file on excel. This will ensure that the delimiter of the file is save as comma delimited. The file should be good for import. Please let me know if this answer your query or you can mark it as solved.

CSVが変。フィールドが分割できない

なんとダブルコーテーションが機能しない。

"FNAME,LNAME,CELL,EMAIL,SALUTATION,TITLE"

image.png

image.png

The problem is that there are double coatings only on both ends.

"FNAME,LNAME,CELL,EMAIL,SALUTATION,TITLE"

Originally, it should be formatted as follows.

"FNAME","LNAME","CELL","EMAIL","SALUTATION","TITLE"

マッピングは正しいです。私の列ヘッダーも正しいです。問題はExcelデータにあり、私の姓のレコードの1つが空白です。それが投げたエラーは誤解を招くものでした。データについて文句を言うのではなく、マッピングを指しています。データを修正した後、動作しました。

image.png

Auto Numberフィールドがあるとややこしい。

image.png

カスタムオブジェクトのcsvファイルをインポートしようとしています。動作しません。次のエラーメッセージが表示されます。「選択した一致するフィールド(* CustomeObject *)はマップされておらず、更新および挿入操作に必要です。」

Macを使った場合の注意 excelでないからかな?

You can open the .xlsx file in Numbers, make the assigned edits, and afterwards choose File > Export To > CSV... from the Numbers menu bar. This will allow you to save the file in the proper .csv format.

Numbersで.xlsxファイルを開き、割り当てられた編集を行ってから、NumbersメニューバーからFile> Export To>CSV...を選択できます。これにより、ファイルを適切な.csv形式で保存できます。

image.png

You can open the .xlsx file in Numbers, make the assigned edits, and afterwards choose File > Export To > CSV... from the Numbers menu bar. This will allow you to save the file in the proper .csv format.

image.png

This is due to your csv delimiter being a semi-colon instead of a comma. This happens in some locales since they use the comma as a thousands separator.

Follow this Salesforce article:

https://help.salesforce.com/s/articleView?id=000386073&language=en_US&type=1

Excelが無い場合

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?