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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น •

  • @hiteshkala5658
    @hiteshkala5658 2 หลายเดือนก่อน

    Superb as always. Thanks for sharing

  • @anilkumarsahu8546
    @anilkumarsahu8546 4 หลายเดือนก่อน +1

    east and west -Ankit LWC is best!!

  • @AyseYigit-zi1xx
    @AyseYigit-zi1xx ปีที่แล้ว

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

  • @Dante-yd9ou
    @Dante-yd9ou 6 หลายเดือนก่อน

    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.

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  6 หลายเดือนก่อน +1

      it will check with respect to current user context

  • @kumarvenkat739
    @kumarvenkat739 7 หลายเดือนก่อน

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

  • @haribabuk5162
    @haribabuk5162 7 หลายเดือนก่อน

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

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  7 หลายเดือนก่อน

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

  • @soumyaranjansahoo-h5q
    @soumyaranjansahoo-h5q ปีที่แล้ว

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

  • @awesomekj5812
    @awesomekj5812 ปีที่แล้ว

    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  ปีที่แล้ว

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

  • @soumya1713
    @soumya1713 ปีที่แล้ว

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

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  ปีที่แล้ว

      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.

  • @gyuvaraja7418
    @gyuvaraja7418 10 หลายเดือนก่อน

    ​​@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  9 หลายเดือนก่อน +1

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

    • @gyuvaraja7418
      @gyuvaraja7418 9 หลายเดือนก่อน

      Thank you Ankit Sir ..for the clarification.

  • @SahilYadav-tc3lf
    @SahilYadav-tc3lf ปีที่แล้ว

    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  ปีที่แล้ว +1

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