Skip to main content 3월 5~6일에 샌프란시스코의 TDX 또는 Salesforce+에서 열리는 AI 에이전트 시대를 위한 개발자 컨퍼런스에 참여하세요. 지금 등록하기.

#Trailhead Challenges토론 중인 항목 2,454개

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