LWC Bootcamp Day 38 | Access Static Resources, Labels, User IDs, Third Party JS and CSS

Поділитися
Вставка
  • Опубліковано 7 жов 2024
  • Topmate Link for One-to-One Connect
    topmate.io/tec...
    𝐒𝐞𝐬𝐬𝐢𝐨𝐧 𝐓𝐫𝐚𝐜𝐤𝐞𝐫 - shorturl.at/iqGP2
    🚀 Master Lightning Web Components (LWC) - Access Static Resources, Labels, User IDs, Third-Party JS, and CSS! 🚀
    In this comprehensive tutorial, we'll delve into the world of Lightning Web Components to show you how to access essential resources and incorporate third-party JavaScript and CSS seamlessly. Whether you're a seasoned developer or just starting, this video will elevate your LWC skills.
    🔹 Key Topics Covered:
    Accessing Static Resources
    Leveraging Custom Labels
    Retrieving User IDs
    Integrating Third-Party JavaScript
    Importing External CSS Styles
    Pro Tips and Best Practices
    🔔 Don't miss any updates! Subscribe and ring the notification bell to stay on top of our LWC development tutorials.
    👨‍💻 Who should watch?
    Salesforce Developers
    Admins and Customization Experts
    Those looking to enhance their Salesforce development skills
    #lwc #lwcproject #lwcminiproject #queryselector #dynamicss #looping #salesforceproject #vscodeproject #authorizesalesforce #devhub #customevents #collections #map #salesforce #lightning #development #lwc #jsoverview #lighting #salesforcelighting #salesforcetraining #lwcbasics #lwcadvanced #salesforcedeveloper #developer #ankitjain #techjourneywithankit #studysalesforce #lwc #aura #lightningwebcomponent #ankitjain #lwcbootcamp #arrowfunction #callbackfunction

КОМЕНТАРІ • 21

  • @kumarvenkat739
    @kumarvenkat739 4 місяці тому

    Thanks alot sir ..gained much learning!!!!

  • @AyseYigit-zi1xx
    @AyseYigit-zi1xx 8 місяців тому

    Thank you, Dear Ankit. I found the session informative and valuable. I truly appreciate your efforts!!

  • @haribabuk5162
    @haribabuk5162 4 місяці тому

    in documantation example for the lightning platformResourceloader is connectedCallback method used but in our session we are using the renderCallback method

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  4 місяці тому

      you can use in any of these life cycle method. I prefer to do that in rendercallback method

  • @anilkumarsahu8546
    @anilkumarsahu8546 Місяць тому

    east and west -Ankit LWC is best!!

  • @Dante-yd9ou
    @Dante-yd9ou 3 місяці тому

    kindly correct me If I am wrong, but I think the check in the getter method is just simply if the custom permission has some value or not, but the check should be if the current user has that permission set or not.
    I am simply seeing the import custompermission statement and then a getter method to return true or false, but it is not checking for the existing user (the user who is currently accessing the component). And Thank you for all the effort on the bootcamp.

  • @soumyaranjansahoo-h5q
    @soumyaranjansahoo-h5q 9 місяців тому

    why we use custom setting over custom object . please make a video of metadata,custom setting and their usecase

  • @gyuvaraja7418
    @gyuvaraja7418 6 місяців тому

    ​​@TechJourneyWithAnkit Hi Ankit Sir ... How can we access the user ID,Name and all without interact with Apex(without wire Decorator if I'm not wrong)..please...how can we achieve this ???

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  6 місяців тому +1

      You can only access user id and is guest by importing for other details you have to use getRecord wire adaptor

    • @gyuvaraja7418
      @gyuvaraja7418 6 місяців тому

      Thank you Ankit Sir ..for the clarification.

  • @SahilYadav-tc3lf
    @SahilYadav-tc3lf 9 місяців тому

    Hello Ankit really an amazing session but once doubt is when we use static resources then we get feasibility to upload a text file , .css file etc but whereas when we go for contentAssetFile there will can upload only image form of data correct?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  9 місяців тому +1

      Yes. Upload the js or css file to your Salesforce organization as a static resource, which is a Lightning security requirement

  • @soumya1713
    @soumya1713 9 місяців тому

    How can we use tailwind css and bootstrap in lwc, and is it good to use these in the project ?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  9 місяців тому

      As mentioned in the video, upload them as static resources and then load it using loadStyle.
      Whether it is good or not - it is completely based on the complexity of the component.

  • @awesomekj5812
    @awesomekj5812 10 місяців тому

    Are getter , setter method called before RenderedCallback() ? I was trying to put the displayDate in getter method but getting Moment not defined error ...which made me think that getter are called first before RenderedCallback() ...is this true ?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  10 місяців тому

      Both will be called multiple times in life cycle. In your scenario it might be failing because custom javascript was not loaded