Print this page

Why my lightning Component bundle does not longer render properties when used in the community builder in Summer 16?

Knowledge Article Number 000239745
Description Our Research and Development team due to security reasons changed the behavior of  the Lightning Bundles to require the access to equal "global" for all the attributes used in the  Lightning component.In the backend they introduced logic that checks for this requirement if it is not presented the properties will not be able to generate. Below is an example:

User-added image
Resolution

If you as the user are seeing this error, please update your code in the lightning by adding the   access="global" on  all the of the attributes in the CMD file to get the properties to appear. We have an example in Configure Components for Lightning Pages and the Lightning App

Ex:
<aura:component implements="flexipage:availableForAllPageTypes" access="global">
    <aura:attribute name="greeting" type="String" default="Hello" access="global" />
    <aura:attribute name="subject" type="String" default="World" access="global" />

    <div style="box">
      <span class="greeting">{!v.greeting}</span>, {!v.subject}!
    </div>
</aura:component>

 





promote demote