<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tyoshikawa1106</author_name>
  <author_url>https://blog.hatena.ne.jp/tyoshikawa1106/</author_url>
  <blog_title>tyoshikawa1106のブログ</blog_title>
  <blog_url>https://tyoshikawa1106.hatenablog.com/</blog_url>
  <categories>
    <anon>Salesforce</anon>
    <anon>Force.com</anon>
  </categories>
  <description>Salesforceの自動採番項目はUPSERT処理の対象として選択できないみたいです。データローダ向けの話ですが、ヘルプページが用意されていました。Apexからでも同じ理由でエラーになるんだと思います。 データローダで外部 ID として自動採番が利用できません 実際に試してみました。まずは普通にテキスト型のNameだった場合です。 テストデータを1件用意して確認します。 検証コードはざっくりですがこんな感じ。 無事に更新されました。Upsert処理時にNameをキーに更新できることも確認できたと思います。 それではNameが自動採番型だった場合です。 Upsert処理は同じように実行します。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftyoshikawa1106.hatenablog.com%2Fentry%2F2016%2F07%2F15%2F222543&quot; title=&quot;SFDC：自動採番項目とUPSERTの注意点 - tyoshikawa1106のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tyoshikawa1106/20160715/20160715220540.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-07-15 22:25:43</published>
  <title>SFDC：自動採番項目とUPSERTの注意点</title>
  <type>rich</type>
  <url>https://tyoshikawa1106.hatenablog.com/entry/2016/07/15/222543</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
