function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
farouk fakunlefarouk fakunle 

Create an Indirect Lookup Relationship: Lightning Connect

I am on the 3rd challenge of the lightning connect project on trailhead. I have followed the instructions as stated, however when i try to create am indirect lookup relationship between customerID and account, account ( nor any other object)  does not show up on the drop down list. 


Quick Start: Lightning ConnectCreate an Indirect Lookup Relationship 
 
Best Answer chosen by farouk fakunle
Sai Ram ASai Ram A
Hi Farouk

Please follow the steps as mentioned here https://developer.salesforce.com/forums?communityId=09aF00000004HMGIA2#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000AyT7IAK (https://developer.salesforce.com/forums?communityId=09aF00000004HMGIA2#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000AyT7IAK" target="_blank),
we had same issue in this Challanges

Thank you
Sai

All Answers

William TranWilliam Tran
In the third challenge you are suppose to create and indirect look to the user Phone UUID.

If you have not done so:

1) Create a Phone UUID custom field on user object (setup/customize/users/fields) - the field is called Phone UUID with API name Phone_UUID__c
  Make sure to check the Unique checkbox (first radio button is fine)   and check the External ID checkbox

2) Now go to the phone external object (setup/build/develop/external objects/phone not hit Edit on the UIDD field
   Click "Change Field Type"  choose "Indirect Lookup Relationship"  select User, select Phone_UUID__c, and save 

3) Go to any user record and update the Phone UUID custom field to value in th exercise

and you should be done.

Thx
farouk fakunlefarouk fakunle
Thank you for the response, but we may be referring about a different challenge questions. Here is the original question: https://developer.salesforce.com/trailhead/project/quickstart-lightning-connect/quickstart-lightning-connect4
Sai Ram ASai Ram A
Hi Farouk

Please follow the steps as mentioned here https://developer.salesforce.com/forums?communityId=09aF00000004HMGIA2#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000AyT7IAK (https://developer.salesforce.com/forums?communityId=09aF00000004HMGIA2#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000AyT7IAK" target="_blank),
we had same issue in this Challanges

Thank you
Sai
This was selected as the best answer
William TranWilliam Tran
It looks like a different module but the steps are similar:

For example:
Make sure to check the Unique checkbox (first radio button is fine)   and check the External ID checkbox


Thx.
farouk fakunlefarouk fakunle
Thank you both. 
William TranWilliam Tran
Farouk,  

Glad you got working.

If you are good to go, be sure to pick best answer to close this question as resolved.

thx.
Dan Mehlman - HerokuDan Mehlman - Heroku
I encountered the same problem, but the cause was due to starting in the incorrect place.  I accidentally started on Step 2 rather than Step 1.

Step 1 has you intall a package that creates the necessary fields and allows for the relationship (creates the Customer _ID__c field + makes it unique and an external identifier).  After this, everything progresses as it should.
LataLata
Only objects that have a custom field with the External ID and Unique attributes are available as parent objects in indirect lookup relationships. If you don't see the desired object when you create an indirect lookup relationship field, add a custom unique, external ID field to that object.
https://help.salesforce.com/articleView?id=external_object_indirect_lookup_relationships.htm&type=5