• David Bergerson
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 2

is currently broken.  

The page loses the login of the user for the trailhead and the 'challenge' section is missing.
I have done everything but I still get this error that is not helpful becauseI have done what it asks.

Challenge Not yet complete... here's what's wrong:
Either the contact object does not have a compact layout named 'Phone and Email', or it is not set as the primary compact layout
  1. I created a custom object 'Contact'
  2. I created custom fields of name (text), phone (phone type), mobile (phone type), and email (text type).
  3. Then I made a new custom compact layout called 'Phone and Email'
  4. I make 'Phone and Email' my primary compact layout
What did I do wrong?? Am I missing a step?? Please help.
<aura:component >
	<aura:attribute name="item" type="Camping_Item__c" required="true"/>

	<ui:outputText value="{!v.item.Name}" />
	<ui:outputCheckbox value="{!v.item.Packed__c}" />
	<ui:outputCurrency value="{!v.item.Price__c}" />
	<ui:outputNumber value="{!v.item.Quantity__c}" />
	<ui:button label="Packed!" press="{!c.packItem}"/>
	packItem : function(component, event, helper) {
		var button = event.getSource().get("v.disabled");
		component.set("v.item.Packed__c", "true");
		component.set(button, "true");
What am I doing wrong?