I have tried this module twice, but I get the same message and cannot solve it.
Build a Custom Search Component
2 件の回答
Follow these instructions Sir
- In the Developer Console, click File | New | Lightning Component.
- Name the component customSearchResultsList and click Submit.
- Replace the component contents with this code.
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global">
<aura:attribute type="list" name="recordIds" />
<aura:handler name="init" value="{!this}" action="{!c.init}"/>
<h1>Search Results</h1>
<aura:iteration items="{!v.recordIds}" var="id">
<c:customSearchResultItem recordId="{!id}"/>
</aura:iteration>
</aura:component>