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

カスタム設定(Custom Settings)

Last updated at Posted at 2023-05-11

まとめページに戻る
まとめA~M


数式項目は階層カスタム設定でのみ機能し、リストカスタム設定には使用できません。

{!$Setup.CustomSettingName__c.CustomFieldName__c}

Apexから呼び出す。何故か苦戦してしまった。

OrgInfo__cはカスタム設定のAPI名、Info001__cはカスタム項目のAPI名

//組織レベルで値を取得する場合は、getOrgDefaults メソッドを使用します。
OrgInfo__c mc = OrgInfo__c.getOrgDefaults();
System.debug(mc.Info001__c);

ヘルプ

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