• K Shiv Kumar 6
  • NEWBIE
  • 55 Points
  • Member since 2016
  • ASE
  • Accenture

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
<!--campingListItem.cmp-->
<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}"/>
	
</aura:component>
<!--campingListController.js-->
({
	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?

 
Hello,

I'm having trouble checking the challenge, I've checked other discussions and I've done exactly what others have done to pass but everytime I click check challange it gives me this error message:

Looks like something went wrong, please try again later.

I've logged out of both Developer Edition and Trailhead acc, used another new Developer Edition to redo the challenge and it gives me the same message.
Hi EveryOne,

I am trying to open the attachments of a record using one click. Please give some inputs to achive that.

Thanks