Skip to main content

Hii Trailblazers,

I have created lightning we component  as step mentioned in trailhead. I followed trailhead module step. but still getting error we are not found helloworld component in page. I have tried every possible but not able to complete module.

 

Please help me out.

 

#Trailhead

4 Antworten
  1. 24. Juli 2021, 17:07

    Hi Gauri,

     

     make sure you are providing the permission to the Component in an XML file, have you checked it?

     If No, you can paste this code Or can understand the XML file from this example

     Ex: 

     

    //XML file 

     

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

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

         <apiVersion>51.0</apiVersion>

         <isExposed>true</isExposed>

       <targets>

         <target>lightning__AppPage</target>

         <target>lightning__RecordPage</target>

         <target>lightning__HomePage</target>

       </targets>

     </LightningComponentBundle>

     

     If you find your Solution then mark this as the best answer.

     

     Thank you!

     

     Regards,

     Suraj Tripathi   

0/9000