1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Salesforceでユーザ自身で自分のユーザデータの編集を防ぐ方法

Last updated at Posted at 2022-08-05

Salesforceではユーザオブジェクトのようにページレイアウトの編集ができない設定がございます。

ユーザ01.png

この場合、ログインしたユーザに特定のユーザレコード情報の編集をさせないようにするにはどうすればいいでしょうか

こちらは入力規則を作成すれば対応可能です

例えば会社名(CompanyName)の変更をさせたくない場合、入力規則の数式は以下となります

AND( $User.Id = Id,
ISCHANGED( CompanyName ) )
入力規則1.png

この入力規則を作成すれば、ログインしたユーザは自分自身のユーザの会社名の変更を防ぐことが可能です

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?