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,417 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 creating a LWC Component, in the xml metadata file i have added the <masterlable> tag to give a title of the component, i am trying to add <description> so that when i navigate to Setup-->Lightning components in the view i can see the component name, label and Description. But the description i am using in the .xml metadata file is not appearing here, any reason why its not ? and is there any alternate to make it appear in the view? please help. 

 

#Trailhead Challenges

4 answers
  1. Feb 27, 6:35 PM

    Hi, @Murugavel K

    Yes, in Lightning Web Components (LWC), you can add a description to a component, but there are nuances regarding how it works and is displayed in the Salesforce interface.  

     

    In the metadata of an LWC (.js-meta.xml file), you can add the <description> tag to describe the component. This tag is officially supported in the LWC specification and is intended to provide additional information about the component. Here is an example of the correct syntax: 

    <?xml version="1.0" encoding="UTF-8"?>

    <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">

    <apiVersion>59.0</apiVersion>

    <isExposed>true</isExposed>

    <masterLabel>My LWC Component</masterLabel>

    <description>This is a custom LWC component for displaying account details.</description>

    <targets>

    <target>lightning__AppPage</target>

    </targets>

    </LightningComponentBundle>

    Unfortunately, as of today (February 2025), the Description field for LWC does not appear in the standard Setup > Lightning Components

    interface, even if you specify it in the .js-meta.xml file. This is a limitation of the Salesforce UI, not an issue with your code. Salesforce simply does not display the <description> value in this specific view, although it is stored in the component’s metadata. 

     

    This differs from Aura components, where the description (specified via <aura:component description="...">) sometimes appears in the UI. For LWC, there is currently no such direct display in Setup

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

0/9000

I just completed the first challenge in "Unlock Business Success with Salesforce Data Platform" (successfully, got the points), but the "Loan Amount" field isn't showing on the Contact details page. Shouldn't this field be displayed here? I made sure in the security settings that the field is visible to the Salesforce Admin. 

 

#Trailhead Challenges  #Salesforce Admin

3 answers
  1. Jul 12, 2024, 12:30 PM

    Thank you @Tushar Jadav! So I followed the steps described in the first link:

     

    Navigate to Setup > Object Manager > Contact > Page Layouts 

     

    And confirmed that Loan Amount was already configured appropriately (set to be visible for all page layouts). From here I navigated back to a contact detail page and am now seeing the field! Very strange. Thanks for your help though!

0/9000

ALL the code: 

 

AND ( 

 

    AND( 

 

ProductCode__c  =  "CA-38",  

  

 SUM (Amount__c)  > 0  

 

)  

 

 

        AND(  

ProductCode__c  =  "AD-Y-11", 

 ProductCode__c  =  "AD-Y-12",  

ProductCode__c  =  "AD-Y-13", 

 ProductCode__c  =  "AD-Y-14" , 

 NOT (    SUM (Amount__c)  > 0   ) 

 ) 

 

)

Erreur de formule

 

Hi team, 

Someone to help me.  

I want a rule that prevents the sum of specific products from being equal to zero. 

 

 

 

#Trailhead Challenges

10 answers
  1. Yesterday, 9:49 PM

    @Ohou Jean-Luc Soboh You'll need to create a Flow to accomplish this, as a formula or validation rule alone can't retrieve specific product records and sum their amounts. In the Flow, use the **Get Records** element to fetch the amounts for multiple products, aggregate them, and check if the total exceeds zero.

0/9000

Create a Report with Filter Logic

Ada Balewa is a product support specialist at Ursa Major Solar and she wants to monitor support cases for their energy and electronics industry customers that have not yet been escalated. She would like to exclude any structural defects from the report. (You can set up the conditions in multiple ways; we're doing it this way so you can see how filter logic works.)

  • Create a Cases report.
  • Set the Units standard filter to Days.
  • Verify that the following fields are included:
    • Industry
    • Status
    • Type
  • Set up the following custom filters in this order:
    • Industry: Equals Energy
    • Industry: Equals Electronics
    • Status: Not equal to Escalated
    • Type: Equals Structural
  • Add the following filter logic:
    • (1 OR 2) AND 3 AND NOT 4
  • Save the report in a shared folder.
    • Report name: Cases by Status
    • Folder: Public Reports

train 2 Mike Torres

Created on 7/12/2024

Launch

Challenge not yet complete in train 2 Mike Torres

We couldn’t find the Industry column on the Cases by Status report.

 

I have the industry fields add it as per request on teh report, I will highlly appriociate your help

 

#Trailhead Challenges

26 answers
0/9000

For the project named Build a Suggestion App Box, I came across the error of "The Suggestion custom object does not contain the correct set of custom fields. Tip: check for typos in the field names" under the Add Custom Fields 

section of the project even after creating and restarting a new playground. I've checked all the spelling (ie. potential typos) and they are all correct.  

 

Have anyone ran into this problem as well? If so, what might be the issue I need to fix to fix this issue of mine above?  

 

#Trailhead Challenges

2 answers
0/9000

Hello Trailblazers,

 

I'm Trying to complete AI superbadge challenge and got stuck on 2nd challenge which is to 'Build an AI-Generated Summary of Related Records'.

To achieve this, 

  • I have create custom field on contact object 'Interest_Summary__c' long textarea field
  • Created field generation prompt template to summarize related fitness records (working as expected on preview)
  • Added custom field on ligtning page and enabled the Interest_Summary__c field as AI generated with the Prompt Template 'Summarize Client Goals'
  • Able to summarize and store value to the field.(validated on contact record page, working as expected)
  • But when I'm validating the challenge by clicking on Check Challenge getting error as 'Challenge Not yet complete... here's what's wrong:
  • We can't find the field called Interest Summary, or it isn't properly configured.'

What could be the setup issue I'm missing ?

 

#Trailhead Challenges  #Trailhead Superbadges

0/9000

hi Experts ,  

 

 I want to create a list view that displays all the accounts where my team members, who report to me, are added as Account Team Members. This will give me a clear view of the accounts associated with my team.  

 

Please advise how can i achieve this using any custom formula field or anything else ? 

 

#Trailhead Challenges  #Trailhead

0/9000
Hi Trailblazer Community,

 

I'm getting this error when converting a lead with Lead Record Type: Roofing.

 

"The lead conversion failed because the value for the field Roofing_Job_Type__c is invalid. The value comes from the lead field that's mapped to the field Roofing_Job_Type__c. Ask your admin to check the field mappings."

 

Roofing Job Type is a custom picklist field that has long been mapped to the opportunity field. Until recently, when adding new values to the picklist it has now prompted this error message.

 

I queried this error on Google and Trailblazer Community and found this article: https://help.salesforce.com/articleView?id=000317614&language=en_US&type=1&mode=1

 

I followed all the steps necessary. Making sure that the opportunity custom field is mapped accordingly and that the picklist values for lead and opportunity are identical. What else can I do? it still is showing the error.

 

I also made sure both are only shown on Roofing lead record type. I know the picklist values that work and that don't... should I delete the values and retry again?
0/9000

I'm working through the Agentforce trailheads, and I've come across two issues. One is that the Agent cannot retrieve the email and membership number, despite having carried out the previous steps to set this up. I then went to check that the actions had been configured correctly and I cannot see any actions for the Topic. Hs anyone else come across this issue recently?    

9 answers
0/9000

When I run the report, I pull back zero records after I enter the custom filter, Industry: Equals Electronics. I have everything else match exactly the requirements state and I am at a loss. Any recommendations would be great. Reports = Cases and Filters = All Cases, All Time, Days. Thank you in advance! 

 

#Trailhead Challenges

10 answers
  1. Jan 16, 6:40 PM

    Hello,  

     

    First, double-check the data to ensure that there are actual records in your system with Industry: Electronics. Sometimes the issue is simply that there’s no data matching the filter. You can do this by creating a simpler report with just the industry field visible to see if any records show electronics. Next, verify the filter criteria. You mentioned Industry: Equals Electronics. Make sure there are no additional spaces or typos in the filter value. Salesforce can be case-sensitive for certain fields, so electronics would not match electronics. 

     

    Also, double-check the scope of the report. You mentioned that the filter is set to All Cases, All Time, and Days. Ensure that All Time is selected and no other date filters, like Last 7 Days, are inadvertently applied. If your organization has custom sharing rules, make sure your user profile has the correct permissions and visibility into the data you’re looking for. Then, confirm the industry field’s visibility. If it’s hidden due to field-level security settings, it might prevent the system from including it in the report or showing matching records. 

     

    If you’re using multiple filters, check how they’re being applied. The AND/OR logic between filters can affect your results. For example, combining a time filter with an industry filter using AND might unintentionally limit the data. Lastly, confirm that the report-type cases include all the fields you expect. If Industry is a custom field added through a related object, the report type might not support it.  

     

    To troubleshoot further, run the report without any filters to confirm that records are showing at the base level. Then, gradually add filters one by one, starting with Industry: Equals Electronics, to see at which point the results disappear.  

     

    Hope it will be useful

0/9000