• Sameer Learning
  • NEWBIE
  • 0 Points
  • Member since 2016


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi, I am having trouble with the "Attributes and Expressions" module from trailhead.

Here is the challenge:
Create a Lightning Component to display a single item for your packing list.
  • Create a component called campingListItem that displays the name (ui:outputText) and the three custom fields using the appropriate output components.
  • Add an attribute named 'item' for type Camping_Item__c.
I created an component named campingListItem and this is the code:
<aura:component >
    <aura:attribute name="item" type="<my_domain>__Camping_Item__c"/>
    
    <ui:outputText value="{!v.item.Name}"/>
    <ui:outputCheckbox value="{!v.item.<my_domain>__Packed__c}"/>
    <ui:outputCurrency  value="{!v.item.<my_domain>__Price__c}"/>
    <ui:outputNumber value="{!v.item.<my_domain>__Quantity__c}"/>
</aura:component>

The error that I am getting is: "Challenge Not yet complete... here's what's wrong: 
The packingListItem Lightning Component's attribute tag doesn't exist or its attributes are not set correctly."

With this, I tried to create another component, with the name "packingListItem", but It didn't work.

Can anyone help me?

Thanks,
Salesforce1 Mobile basics unit 5/5 - Creating Object-Specific Publisher Actions

I believe I have follwed the requirements explicitly, three times now.  Validated that the publisher action actually does what it's supposed to but the check from Trailhead returns an error.  
"Challenge not yet complete... here's what's wrong: 
There was an unhandled exception. Error: NoMethodError. Message: undefined method `each' for nil:NilClass"
Error message

I have deactivated all Account triggers to insure there's not a conflict.
I have zero data validation rules on the Account object.
I have zero workflow rules on the Account object.
I have checked that all Approvals are deactivated.

Here are all of the components...

Action
Update Account Information action
Publisher Layout
Account Detail publisher layout
Page Layout
Account Layout

Functional Results
Update Results


I'm quite anxious to complete this unit as it's the only one I have left.