<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sessan</author_name>
  <author_url>https://blog.hatena.ne.jp/sessan/</author_url>
  <blog_title>setoya-blog</blog_title>
  <blog_url>https://www.setoya-blog.com/</blog_url>
  <categories>
    <anon>salesforce</anon>
  </categories>
  <description>リフレクションっぽいプログラミングが必要なときに使った。 Map&lt;String, Schema.SObjectField&gt; fieldMap = Schema.SObjectType.Opportunity.fields.getMap(); Set&lt;String&gt; allFieldSet = fieldMap.keySet();結果は、全ての項目名が小文字で取得できるので、小文字で比較する必要がある。 {accountid, amount, ...}allFieldSet.containts('amount'); // =&gt; true allFieldSet.containts('Amount…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.setoya-blog.com%2Fentry%2F2013%2F12%2F13%2F142159&quot; title=&quot;特定のSalesforce標準オブジェクトの項目名一覧を取得する - setoya-blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-13 14:21:59</published>
  <title>特定のSalesforce標準オブジェクトの項目名一覧を取得する</title>
  <type>rich</type>
  <url>https://www.setoya-blog.com/entry/2013/12/13/142159</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
