Loading
Salesforce Help サイトへ「Help Agent powered by Fin」実装のお知らせ続きを読む
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

Error "Attempt to de-reference null object" within the Click2Create field sets in Maps

公開日: Aug 4, 2023
説明
When performing the Click2Create action to create new records directly from Maps, sometimes you may notice an error like the one below:
2717 : Attempt to de-reference null object

This error usually occurs when the values for Latitude and Longitude fields are not populated in the Click2Create settings for a particular Object.
 
解決策

Follow these steps to fix the error:

  1. In Salesforce, navigate to Setup | Installed Packages | Configure for the Salesforce Maps.
  2. Click on Click2Create tab.
  3. Select the Object.
  4. Make sure that the Latitude and Longitude fields in the Field Mappings section are populated with the required custom/standard fields.
  5. Click on Save.

Once saved, reopen the Salesforce Maps app and try using Click2Create. You will notice the error will go away after the field mapping is corrected.


Note: Sometimes you may also notice that upon clicking the Click2Create button none of the fields appear in the Field set. This is because of a limitation within our product which does not allow any type of relational fields such as look-ups to be a part of the Field Set. For example please refrain from using relationships to reference fields between two objects i.e Account ID > Phone_Dial or Account ID > Contact Name on the Field Set and instead use the standard fields.
 
ナレッジ記事番号

000389175

 
読み込み中
Salesforce Help | Article