Skip to main content

#Trailhead Challenges1,605 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. ** NOTE ** : If you were able to get a response that solved your issue, please mark it as the 'Best Answer' to help other Trailblazers. If the issue persists after 48 hours, create a Trailhead Help case at https://help.salesforce.com/s/support for further assistance.

I created the component as described, configured the parameters, and added it to the Home Page as requested, but it's not working when I validate it. 

 

Any advice on how to validate this exercise? 

 

#Trailhead Challenges

7 answers
  1. May 16, 8:09 PM

    Quick Start: Lightning Web Components 

    -> Composed of: 

    Set up your Salesforce DX environment - Completed 

    Set up Visual Studio Code - Completed 

    Create a Hello World Lightning Web Component 

     

    Available in the following tracks: Create Lightning Web Components

0/9000

Hi there,    I am currently trying to complete the Agentblazer Champion Trailhead and am stuck on being unable to complete the Configure Agentforce for Service module in the Quick Start: Build a Service Agent with Agentforce Project.    I have provided all the details of what I have tried below, all to no avail, please help me get out of this bind so I am able to complete my Agentblazer Champion Trailhead, and beyond.    Any assistance is greatly appreciated!    I am automatically asked to Reset Your Agentforce Playground Password with the only option to Connect to the Playground, but when I click Connect to Playground I am stuck in the endless pointless loop of being asked to reset my password, but Salesforce automatically sends the reset password link to a unknown, secret email address which I cannot access, hence I am unable to access the playground to complete this module.    I have tried everything I can think of to get around this including:    1. Creating two separate Developer Edition orgs - both of which do not provide access to the Experience Cloud Provisioning - I checked this by searching for All Sites under Digital Experiences in the Set Up Quick Search Bar in the settings tab.    2. Working within the Command Prompt in Windows to force the Developer Edition org to enable the Experience Cloud provisioning so I could acccess the Coral Cloud Experience - only to result in a Coral Cloud Site that is stuck in Preview mode, despite being published    "this seals it: your current Developer Edition org does not have Experience Cloud fully provisioned, even though you were able to create and publish a site. Here's the full picture:    ❌ What’s Missing in Your Org    No “Digital Experiences → All Sites” in Setup  No “Experience Settings” or “Enable Digital Experiences” checkbox  No Customer Community or Partner Community licenses  No “Enable Customer User” button on Contact records  Coral Cloud site stuck in Preview mode  These are all signs that your org is missing the backend provisioning for full Experience Cloud functionality, especially portal user enablement.        Even though you’re in the right place (Set Up - User Interface - Sites), the “Enable Digital Experiences” checkbox is missing, which means:  • Experience Cloud is not provisioned in this org  • You won’t be able to access Digital Experiences → All Sites  • You can’t activate or manage Experience Cloud sites  • Portal user creation will remain blocked    🧭 Why This Happens  Salesforce Developer Edition orgs are not guaranteed to include Experience Cloud. It depends on:  • The signup path you used  • Whether the org was created via Trailhead or directly from developer.salesforce.com/signup  • Whether the org was pre-configured for a specific module (like Agentforce)"    I created both Salesforce Developer Edition orgs directly from developer.salesforce.com/signup    3. Creating 5 separate playgrounds, 2 of which are created specifically from within Salesforce modules/projects which are supposed to force Experience Cloud provisioning, such as:  Build and Experience Cloud Site  Enable Digital Experiences and Set Up Messaging    4. I was able to complete the Project Quick Start: Lightning Web Components - which I understood was a pre-condition to being able to access the Coral Cloud Experience, including setting up the:  Set Up Your Salesforce DX Environment  ~10 mins      Completed    Set Up Visual Studio Code  ~5 mins      Completed    Create a Hello World Lightning Web Component  ~10 mins      but all to no avail for being able to access the Coral Cloud Experience required for to complete the Quick Start: Build a Service Agent with Agentforce Project.    PLEASE HELP ME!   

0/9000

I deployed component successfully from vs code to org. Also put on Home page. Displaying correct component on page.

I have completed the step but getting the following error:

Step not yet complete in My Trailhead Playground 1

Make sure you add the 'helloWorld' Lightning web component to the default Home page.

14 answers
  1. Sep 30, 2022, 1:48 PM

    Thank you @Divya Chauhan

    Home_Page_Default . is correct, but i had an issue where I was unable to use exactly Home_Page_Default.  If your developer name was automatically renaming to Home_Page_Default_1, that means you already have this Home_Page_Default name. Go into the lightning app builder in quick search and look for additional home page and there you will find a home page with Home_Page_Default. change the developer's name to Home_Page_Default_2 and save. You should go back and rename with Home_Page_Default. This was an issue for me and it worked. 

0/9000
5 answers
  1. Divya Chauhan Forum Ambassador
    Apr 1, 8:32 AM

    Hello @Ebadullah Ebadi

     

    To create a Lightning Web Component, use VS Code with Salesforce Extension Pack, create an SFDX project, then generate the component in the lwc folder. A basic LWC normally includes an HTML file, a JavaScript file, and a meta XML file, with CSS optional. 

    Open VS Code and create a Salesforce DX project using SFDX: Create Project from the Command Palette.

    Under force-app/main/default/lwc, create a component using SFDX: Create Lightning Web Component or run sf lightning generate component --type lwc --name myFirstWebComponent --output-dir force-app/main/default/lwc in the terminal.

    This creates files like componentName.html, componentName.js, and componentName.js-meta.xml

0/9000

I'm going through the Create a Hello World Lightning Web Component trail and am getting stuck at the point where I'm authorizing an Org. When I try to go through the simple steps in Visual Studio Code, I repeatedly get the following error message:

Command 'SFDX: Authorize an Og' resulted in an error

CLI Command process failed to start

... I can't get past this. Does anyone know the fix?

 

For context, I'm on a MacBook Pro running MacOS Sonoma 14.1.2 and have updated Java.

8 answers
  1. Divya Chauhan Forum Ambassador
    Dec 12, 2023, 5:33 AM

    Hello@Sean Calder,

     

0/9000

Hey guys! 

I'm having trouble trying to create the 'helloWorld' LWC component. 

I was able to create and add it to the screen, however when trying to validate the process it gives me an error, even though it is already available on the screen.could you help me???? 

 

 

 

 

Create a Hello World Lightning Web Component

 

image.pngimage.png

 

#Trailhead Challenges

0/9000

Hi,

 

HelloWorld LWC is not appearing on Salesforce Home page custom section, so Org are same if I launch it from Visual Studio, but HelloWorld is not shown. deployment was done successfully.

11 answers
0/9000

I am not able to authorize an org from VS Code suddenly. getting "This site can’t be reached" error. 

 

Am currently doing  the challenge "Create a Hello World Lightning Web Component" under "Build a Bear-Tracking App with Lightning Web Components" 

 

Not able to run the below command as well. 

sf org login web -s -a bear-tracking

http://localhost:1717/OauthRedirect?code=aPrxquX6eDLgwrzx47dbF8_aQL0j2Lx6ZvNxcXipezCN8y_23qMiR.yIJHLfKmPb.C90qF52mNqv.LWBvRx2EYNJxYj6TU4%3D&state=1a13c5725a2f

 

 

#Trailhead Challenges

0/9000