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

I copy and pasted a few times straight from the lesson, but keep getting this Field_Integrity_Exception message on a failed save.

I am new to writing SOQL and SQL, so some guidance would be much appreciated.

 

https://trailhead.salesforce.com/content/learn/projects/transform-sql-queries-to-soql-queries-in-a-lightning-app/display-books-with-their-authors

Having trouble advancing in module using Dev Console.

 

#Trailhead Challenges

답변 6개
  1. 2024년 12월 20일 오전 11:31

    @Thomas Liscio try to create new Playground and retake this Challenge on it.

     

    To do this:

    1. Login Trailhead Site

    2. Open "Hands-On Orgs"

    3. Click "Create Playground"

     

    After waiting a few minutes, a new Playground will be created. 

     

    !!! Also too, make sure that all Challenges from this topic are completed in the same Playground. Each subsequent Challenge builds on the previous one.

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

  2. 2024년 12월 20일 오전 5:48

    This worked for me:

    public class ContactAndLeadSearch {

        

        public static List<List<sObject>> searchContactsAndLeads(string LastName) {

     

            List<List<sObject>> Conlea = [FIND :lastName IN ALL FIELDS

                        RETURNING Contact(Name),Lead(Name)];

            return Conlea;

      }      

        }

  3. 2024년 8월 22일 오후 6:31

    Hi @Thomas Liscio, I am from the Trailhead help team. I assume that this issue needs further review and we may need access to your Salesforce org where you are trying to complete the challenge. We will create a case on behalf of you for this issue and reach out to you via email to investigate further.

     

    Thank you!

     

    ++CreateTrailheadCase ← You can ignore this command, it is a tool used by our Agents to tell the system to create your case.

  4. 2024년 8월 21일 오후 8:15

    Hi, @Thomas Liscio

     

    This error indicates that your Books4EveryoneHome component is missing the opening and closing <aura:component> tags.

     

    Please review the instructions once more and ensure that you follow the steps gradually and methodically. At the end, you should have a completed component.

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

  5. 2024년 8월 19일 오후 8:43

    Hi ,

     

    This is a sample of aura:component.

    <aura:component>

    <aura:attribute name="contact" type="Contact" />

    <lightning:card variant="Narrow" title="{!v.contact.Name}"

    iconName="standard:contact">

    <aura:set attribute="actions">

    <lightning:button name="details" label="Details" onclick="{!c.goToRecord}" />

    </aura:set>

    <aura:set attribute="footer">

    <lightning:badge label="{!v.contact.Email}"/>

    </aura:set>

    <p class="slds-p-horizontal_small">

    {!v.contact.Phone}

    </p>

    <p class="slds-p-horizontal_small">

    {!v.contact.MailingStreet}

    </p>

    </lightning:card>

    </aura:component>

    https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_one_demo_load.htm

0/9000