Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

#Trailhead Challenges2,399 discussing

Hands-on challenges are the “secret sauce” of Trailhead. Before searching for solutions to superbadge challenges, review the Salesforce Certification Program Agreement and Policies.

I am new to Salesforce and working at Beginning Admin. I am creating an object relationship in Trailhead Challenges: Create Object Relationships.  The instruction is: Add a Favorite Property

Next, take a look at how to view favorite properties.

  1. From the App Launcher find and select Sales.
  2. Click the Properties tab in the navigation bar. If you don’t see it, look under the More dropdown.
  3. Click the name of a Property record.

However, Property is not listed in the tab. I have deleted the challenge and re-did it four times and it is nowhere to be found. 

 

#Trailhead Challenges

0/9000

The case is related to an opportunity which has quotes attached. I am struggling to build the formula because you can't use a roll-up on a cases because they are a child object 

 

 

 

#Trailhead Challenges

3 answers
  1. Yesterday, 6:44 PM

    Hi, @melissa vaughn

    You are absolutely right: in Salesforce, you cannot directly use a Roll-Up Summary Field on the Case object to count Quotes, as Case is a child object of Opportunity (through a lookup relationship), and Roll-Up Summary only works for master-detail relationships. However, we can solve this using Record-Triggered Flow or Apex Trigger. 

     

    1. Create a field Quote_Count__c on Opportunity (Number). 

    2. Write a trigger on the Quote object:  

    (example of Apex Trigger):

    trigger QuoteCountTrigger on Quote (after insert, after update, after delete) {

    Set<Id> oppIds = new Set<Id>();

    if (Trigger.isInsert || Trigger.isUpdate) {

    for (Quote q : Trigger.new) {

    if (q.OpportunityId != null) {

    oppIds.add(q.OpportunityId);

    }

    }

    }

    if (Trigger.isDelete) {

    for (Quote q : Trigger.old) {

    if (q.OpportunityId != null) {

    oppIds.add(q.OpportunityId);

    }

    }

    }

    if (!oppIds.isEmpty()) {

    List<Opportunity> oppsToUpdate = new List<Opportunity>();

    for (AggregateResult ar : [SELECT OpportunityId, COUNT(Id) quoteCount

    FROM Quote

    WHERE OpportunityId IN :oppIds

    GROUP BY OpportunityId]) {

    oppsToUpdate.add(new Opportunity(

    Id = (Id)ar.get('OpportunityId'),

    Quote_Count__c = (Decimal)ar.get('quoteCount')

    ));

    }

    if (!oppsToUpdate.isEmpty()) {

    update oppsToUpdate;

    }

    }

    }

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

0/9000

While doing the trail "Bring External Data into the Contact Page Layout" as part of the Project "Connect Data Cloud to Copilot and Prompt Builder" I get continuously the error: "We can’t find the Reservations related list in the Contact Lightning Record Page."

 

The setup was done exactly step by step and I have updated the page and activated several times.

 

Is there someone who has achieved this step? 

 

Verification Error

 

Screenshot 2024-08-13 at 8.16.34 PM.png

 

Screenshot 2024-08-13 at 8.17.10 PM.png

 

#Trailhead Challenges

17 answers
  1. Aug 13, 2024, 5:55 PM

    Hi, @Abhishek .

     

    You added Reservations, but it should be added to the Related tab.

    As shown in this screenshot: Hi, You added Reservations, but it should be added to the Related tab.Yours is located above the Related tab: 1.jpg

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

0/9000

Working on this module "Import and Export with Data Management Tools" and encounter such error message " Step not yet complete in Trailhead Playground,

The 'Lead' records from the CSV were not found. Please check the instructions."

 

I've checked Today Created Lead list view, only 36 records available but on the csv file we have 44 records, 8 are missing, may I know how to fix this?

 

THANKS!

30 answers
  1. Jun 23, 2021, 1:15 PM

    Thanks Adityan and Biren! I've found the solution - I added extra column on the csv file with the title "Lead" (Not ''Lead Source" because it will not let you passed) and insert "Web" for the 44 records, upsert the data then map the "Lead" with ''Lead Source" in Data Import Wizard - it works!

0/9000
0/9000

We can’t find a future task called ‘Call Ms. Smith'. Make sure the task was added to the correct lead before conversion or to the contact after conversion.

 

this is happening in the traihead  

 

https://trailhead.salesforce.com/es/content/learn/modules/leads_opportunities_lightning_experience?trail_id=crm-essentials-lightning-experience

 

thanks 

 

 

 

#Trailhead Challenges

7 answers
  1. Feb 16, 9:09 PM

    Hi , 

     

    I deleted the contact and account to start over. I added the task on the lead record before I converted and I was able to check off the challenge. So even though the challenge says you can add the New Task to the contact record if you already converted, that doesn't seem to be accurate. Once I deleted to re-do, I added the new task to the lead record before conversion and all worked fine.

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jg1wi

     

    All l had to do was type Call Ms. Smith on the subject line instead of leaving it as CALL from the dropdown list .

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A9AAv

0/9000

We tried to insert Opportunity records as part of the challenge check, but the insert failed. Error: thException: OPP_INSERT | System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ClosedOpportunityTrigger: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0 with id 00TWU0000002p852AA; first error: INVALID_FIELD_FOR_INSERT_UPDATE, cannot specify Id in an insert call: [Id] Trigger.ClosedOpportunityTrigger: line 13, column 1: []

 

I get this error on checking the Bulk Apex Trigger challenge in the Apex Triggers Badge. Reading the error, it seems the test script is inserting an opportunity with Id. Anyone else getting this error? My trigger is inserting tasks without any Id and works like a charm, even on newly created opportunity.

 

#Trailhead Challenges  #Trailhead

11 answers
  1. Jan 23, 2024, 3:31 PM

    Hi, @Yvonne Riemeijer

     

    Nothing to worry about, everything is fine. I also try to relax on weekends, but weekdays are busy with work.

    So, thank you for the provided trigger code. I ran it in my system and encountered a similar error.Hi, Nothing to worry about, everything is fine. I also try to relax on weekends, but weekdays are busy with work.So, thank you for the provided trigger code.I made some changes to it, and now everything is working. Please use this code, and the challenge will be completed.

    trigger ClosedOpportunityTrigger on Opportunity (after insert, after update) {

    List<Task> tasksToCreate = new List<Task>();

    for(Opportunity oppty : Trigger.New) {

    if (oppty.StageName == 'Closed Won') {

    Task nwTask = new Task();

    nwTask.Subject = 'Follow Up Test Task';

    nwTask.WhatId = oppty.Id;

    tasksToCreate.add(nwTask);

    }

    }

    if (!tasksToCreate.isEmpty()){

    insert tasksToCreate;

    }

    }

    And, by the way, here's where the mistake was:

    It was necessary to simply write outside the loop:1.jpg2.jpg

    It was really interesting =)

     

    Sincerely,

    Mykhailo Vdovychenko

    Bringing Cloud Excellence with IBVCLOUD OÜ

0/9000

the module is - https://trailhead.salesforce.com/content/learn/projects/connect-data-cloud-to-copilot-and-prompt-builder/bring-external-data-into-the-contact-page-layout

 

 

error - Step not yet complete in Data Cloud and Einstein 1

We can’t find the Reservations related list in the Contact Lightning Record Page. 

while I have completed all steps and all buttons and tabs were working well for me. Please would appreciate if someone could get on a call with me and help me out with this 

 

#Trailhead Challenges

0/9000

I've followed all steps through now multiple times and for some reason when I'm creating a case, it doesn't ask me to enter an Entitlement Name. Not sure if this is part of why its saying no "entitlement related list on Account page layout" (when I can clearly see it on the account tab)

Set Up Case Escalation and Entitlements>Enable Entitlements and Set Up Service Contracts

14 answers
  1. Jan 19, 2023, 10:22 PM

    Hi ,

     

    I'm going straight through the Prepare for Your Salesforce Administrator Credential Trailmix using a single Trailhead Playground and ran into this error today. But I was able to get this resolved relatively quickly thanks to all the comments from fellow Trailblazers, so I'd like to pitch in with what worked/what didn't work for me.

     

    DIDN'T WORK: Service Setup > Object Manager > Account > Page Layouts > changing the "Page Layout To Use" to "Account Layout" for all of the profiles.

     

    Hi , I'm going straight through the Prepare for Your Salesforce Administrator Credential Trailmix using a single Trailhead Playground and ran into this error today.

    WORKED: 1. Service Setup > Object Manager > Account > Record Types (there should be 2 active ones; Customer Account and Partner Account) > try to disable the Customer Account one so you'll get the error message (below), along with a list of profiles that use that record type as the default. 

     

    Example with Partner Account:

     

    image.png

    2. Once you know which profile(s) you want to change the default for, go to Setup > Profiles > choose the profile, scroll down to "Record Type Settings", and remove everything (except "--Master--", because something has to be selected).

    Example:

     

    image.png

    I only had to do this with 2 profiles (I didn't have to edit the Partner Account profiles) so it was relatively quick and painless. Hope this helps someone out there!

     

    Reference: https://trailhead.salesforce.com/en/trailblazer-community/feed/0D54S00000A98DcSAJ

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JfCLGSA3

0/9000

I am completing the module Bring External Data into the Contact Page Layout. At the step Verify Data Is Ingested, and Run an Identity Resolution Ruleset, I have waited for almost 20 minutes but the Data Stream Status still shows Pending and not changing to Success. Please provide help as I need to complete the module by this weekend and need to give my certification exam.

 

#Trailhead Challenges

14 answers
  1. Dec 20, 2024, 12:17 PM

    Hi, @Ravi Sharma

     

    Try to create new Playground and retake this Challenge on it.

     

    To create a new Agentforce/Data Cloud Org, you need to delete the current one, and only after that will you be able to create a new one.

     

    To delete/disconnect Agentforce/Data Cloud Playground, you need to follow these steps:

     

    https://youtu.be/xP8C2x961Vc 

     

    1. Open the list of your Playgrounds (SF Orgs) at https://trailhead.salesforce.com/users/profiles/orgs.

    2. Create a new "standard" Playground.

    3. Once the Playground is created, you will be able to delete/disconnect the Agentforce/Data Cloud Playground.

     

    Now you can create a new Agentforce/Data Cloud Org. 

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ 

0/9000