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
Glenn Dailey 1Glenn Dailey 1 

Use Lightning Connect to link an External Object with Salesforce Users Trailhead

Integrating External Data Unit | Salesforce Trailhead
Challenge Not yet complete... here's what's wrong:
The User standard object does not have a custom field with the API name 'Phone_UUID__c'

Integrating External Data Unit | Salesforce Trailhead
The mobile phones being tracked by an external application are used by specific users in your Salesforce instance. Create an indirect lookup relationship between the 'Phone' External Object and the 'User' standard object.
Create an OData 2.0 external data source with 'Mobile Devices' as the label, 'Mobile_Devices' as the name, and this URL: https://phone-odata-demo.herokuapp.com/devices.svc/. Note: If you have completed the previous challenge in this module ('Setting up Lightning Connect'), the External Data Source should already exist in your Developer Edition.
Add a new 'Phone UUID' custom field on the User standard object with the resulting API name of 'Phone_UUID__c'. The field should be of type 'Text' and marked as 'Unique' and 'External ID'.
Change the 'UUID' field on the 'Phone__x' external object to be an indirect lookup relationship to the 'User' standard object. Use the 'Phone_UUID__c' field as the matching key for this indirect lookup relationship. (when I do this the Phone_UUID__c' is missing and it is looking at the account(s) )
Update any existing User record in your Developer Edition instance to have a value of '0000123442' for the 'Phone_UUID__c' field.

I have the API name 'Phone_UUID__c' but it will not complete the challenge 
Nicholas JacksonNicholas Jackson
Hit the chnage field typeUUID Screen shot
after you select indirect relationship as it's new type you should see a scrren with a drop down. Select user and then you should be able to select the Phone_UUID filed that you created on the User object.
UUID Type Drop Down
Nicholas JacksonNicholas Jackson
also check out this thread (There seems to be a problem with the value the challenge has you use as the value for the Phone_UUID):
https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000MMCvIAO
Glenn Dailey 1Glenn Dailey 1
Now getting There was an unexpected error in your org which is preventing this assessment check from completing: System.ListException: List index out of bounds: 0


 
Tom ParisiTom Parisi
I too am having difficulty with this challenge. External settings appear to be correct as is the filed in the standard Users object. However when trying to change filed type on the UUID filed in the external object, the only object in the dropdown is the Account standard object. Any assistance here would be so very greatly appreciated!! Thanks in advance