• Zach Li 13
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Can anyone share your configuration of 'My Shifts Pending Approval'  for super badge App Customization Specialist

In spring 16, we have the ability to configure lightning experience nagivation menu. do we have a way to export our configuration as metadata?
In spring 16, we have the ability to configure lightning experience nagivation menu. do we have a way to export our configuration as metadata?
Can sombody explain why I get 'null' in my component's controller when trying to find child component by aura:id within aura:iteration
Here are markup and controller code example:
<aura:component>
  <aura:attribute name="someObjs" type="Object[]" />
  <aura:handler name="init" value="{!this}" action="{!c.doInit}" />
    
  <div class="wrapper">
    <ui:button label="Click me" press="{!c.changeObjectTxt}" />

    <aura:iteration items="{!v.someObjs}" var="obj">
      <c:SimpleChildComponent someText="{!obj.txt}" aura:id="item_{!obj.id}" />
    </aura:iteration>
  </div>
</aura:component>
({
    doInit: function(cmp, event, helper) {
        var objs = [
                {id: 11, txt: 'First object'},
                {id: 12, txt: 'Second object'},
                {id: 13, txt: 'Third object'}
            ];
        
        cmp.set('v.someObjs', objs);
    },
    
    changeObjectTxt: function(cmp, event, helper) {
        var chCmp = cmp.find('item_12');
        
        console.log(chCmp);
    }
})


 
In spring 16, we have the ability to configure lightning experience nagivation menu. do we have a way to export our configuration as metadata?