I want all my components attribute to be available for configuration in Ligthtning builder, so an admin like person can override default values. How can I do that?
<aura:component controller="namespace.SObjectSearch" implements="flexipage:availableForAllPageTypes">
<aura:attribute name="sobject" type="String" default="account"/>
<aura:attribute name="query" type="String" default="Select Id, Name From Account"/>
<aura:attribute name="fields" type="String[]" default="['Id', 'Name']"/>
<form>
<ui:inputText class="form-control" label="Search" aura:id="searchField" value="" placeholder="enter search string"/>
<ui:button label="Submit" press="{!c.searchSObjects}"/>
</form>
<ul class="list-group">
<aura:iteration var="sobj" items="{!v.sobjects}">
<li class="list-group-item"><a aura:id="sobjid" target="_blank" href="{!'/' + sobj.Id}">{!sobj.Name}</a></li>
<!--<aura:iteration var="prop" items="{!v.properties}">
</aura:iteration> -->
</aura:iteration>
</ul>
</aura:component>