Skip to main content 3 月 5 日~ 6 日にサンフランシスコで開催される TDX (Salesforce+ でも配信) で「Developer Conference for the AI Agent Era (AI エージェント時代に向けた開発者向けカンファレンス)」にぜひご参加ください。お申し込みはこちら

#Trailhead Challenges2,410 人がディスカッション中

Hands-on challenges are the “secret sauce” of Trailhead. Before searching for solutions to superbadge challenges, review the Salesforce Certification Program Agreement and Policies.
2 件の回答
  1. 2024年11月5日 12:30

    Follow these instructions Sir

     

    1. In the Developer Console, click File | New | Lightning Component.
    2. Name the component customSearchResultsList and click Submit.
    3. 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>

0/9000