• Darshana
  • NEWBIE
  • 20 Points
  • Member since 2018


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 6
    Replies
Hi Team,

I am stuck in this module. Module name: Create a Hello World Lightning Web Component.
I have created helloWorld LWC as instructed and deployed in org, but LWC is not showing in the app builder. I have checked below all possible scenarios.
1. Domain deployed - Yes it is
2. <isExposed>true</isExposed> - Yes
 
Please find attached screenshot and guide me where I need to correct them. 
User-added image
I am facing below error while deploying code (lightning components, apex etc) to org via VSCode
error : 'unable to obtain exclusive access to this record'

I have recently taken VsCode update version 1.46.1, since then I am facing this issue. 
It covers try block just by calling this method in my testClass but how can i cover my catch block?

public static Boolean funcName(CustObj__c obj){
            //refId will be null
      try{
          CusObj2__c msg = className.fun(id,string);            
          msg.field1 = '1234';
          insert msg;
          return true;
      }catch(Exception Ex){
              throw new InvalidDataException('error msg');
      }
      return false;
    }
Hi Team,

I am stuck in this module. Module name: Create a Hello World Lightning Web Component.
I have created helloWorld LWC as instructed and deployed in org, but LWC is not showing in the app builder. I have checked below all possible scenarios.
1. Domain deployed - Yes it is
2. <isExposed>true</isExposed> - Yes
 
Please find attached screenshot and guide me where I need to correct them. 
User-added image
I am facing below error while deploying code (lightning components, apex etc) to org via VSCode
error : 'unable to obtain exclusive access to this record'

I have recently taken VsCode update version 1.46.1, since then I am facing this issue. 
Hi 

I am following the lighting web component trailhead (https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component ).
I created the web component, but when i try to add it to the home component, the custom web component is not showing and cannot add it to the home page. The helloworld.js-meta.xml file is same as what metioned in the trailhead account.
I am doing this in my trailhead playground. Any help on this will be highly appreciated
  • March 11, 2019
  • Like
  • 0