<?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>Salesforceの標準機能だと、ビューの条件にログインユーザーの情報を指定することができない。 そのため、例えば「特定の参照項目（ユーザーオブジェクト）がログインユーザーだったら一覧に表示する」、という条件を指定することができない。 しかし、数式ではログインユーザーの情報を使えるので、まず数式項目を作って、その数式項目を条件に指定すればビューでも間接的にログインユーザーの情報を使った条件の絞り込みができる。 以下の様な数式（チェックボックス型）を使う。Hogehoge__rはユーザー型の参照項目 Hogehoge__r.Id = $User.Id そして、その数式項目をビューの条件に使用す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.setoya-blog.com%2Fentry%2F2014%2F06%2F23%2F220449&quot; title=&quot;ログインユーザーをビューの条件に使う - 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>2014-06-23 22:04:49</published>
  <title>ログインユーザーをビューの条件に使う</title>
  <type>rich</type>
  <url>https://www.setoya-blog.com/entry/2014/06/23/220449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
