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?

The field 'Property__c' either does not exist on the Offer__c object or it is not a Master-Detail relationship.

0
Last updated at Posted at 2022-08-23

何で間違えているのが理解できないので英語で回答する前に日本語でも回答を書けません。
どうやったら間違うのかが不思議です。

Property__cは作る必要がある。

image.png

In this situation you need to follow below steps:-

Firstly create a new playground Now create a Custom object called Offer and create another Custom object called Property in Object Manager In Property custom object create Look-up relationship for Contact and then in Offer custom object create Main- detail relationship for property and look-up for contacts as well.

https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000HFODX

To solve the problem and create Contact__c and Property__c fields you need to delete all the records in the object tab fg. Offer Tab. After that you'll able to create those fields. Window with new offer will have contact and property fields.

If you don't want to delete all your offer entries then check that link: https://help.salesforce.com/articleView?id=000005186&type=1

The possible reason for not showing property as a option is you haven't made the property object in your org since it is a custom object

https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000SW8cf0AD

とりあえず見つけたら記録して傾向を調べます。

上記の解決策を見つけました。正しい手順に従ったにもかかわらず、既存のプレイグラウンドでは機能しません。新しいプレイグラウンドでのみ正しく機能します。そのため、カスタム オブジェクト オファーを作成し、この関係を連絡先とプロパティの両方にマップする必要があります。

. I found out the issue. I was creating my Master & Lookup relationship in the wrong custom object. It was supposed to be in the "Offer" object that I made previously.

Could you please make sure that you are checking challenge against correct Playground.

In this situation you need to follow below steps:-
Firstly create a new playground Now create a Custom object called Offer and create another Custom object called Property in Object Manager In Property custom object create Look-up relationship for Contact and then in Offer custom object create Main- detail relationship for property and look-up for contacts as well.

https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000HFODX

The correct settings are:
image.png

Make sure the Property object is created using the Object Manager.
I think you created it in the previous assignment.

実際に2つのオブジェクトを作ってみたけど、何にも問題ない。

image.png

似たような課題 Favorite と Property

image.png

Propertyオブジェクトを作ってないのが原因

image.png

Offer__c がない

image.png

Could you please make sure that you are checking challenge against correct Playground.

外部オブジェクトを指定しているのが違っています。参照関係を選択してください

image.png

The field 'Contact__c' either does not exist on the Offer__c object or it is not a lookup relationship.

これは、Trailheadでよく遭遇する厄介な問題、すなわちOffer__cオブジェクトにおけるContact__cルックアップエラーを解決するものです。

This is the solution to the annoying Contact__c lookup error on Offer__c, a common Trailhead annoyance.

Check and Correct Steps

Verify that Contact__c is a Lookup to Contact on Offer__c (Object Manager > Offer__c > Fields) rather than a Master-Detail.

Provide your profile. Contact object read access (Setup > Profiles > Field-Level Security).

Refresh the playground, choose "Related To: Offer__c," and look for properties associated with Contact__c.

The dashboard is ready—perfect! If you're stuck, try a new playground.

I had double checked every field. What ended up working was making the field mandatory and saving the field on the object. I then unchecked that box and saved again and I passed the challenge.

すべての項目を再確認しました。最終的にうまくいったのは、その項目を「必須」に設定してオブジェクトに保存することでした。その後、その設定(必須)を解除して再度保存したところ、チャレンジをクリアできました。

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?