LWC Project - Part 1 | Build a Movie Search App with Lightning Web Components

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 71

  • @sumeetyadav1817
    @sumeetyadav1817 10 месяцев назад

    Thanks Ankit, It is really helpful.
    Please keep on creating such videos.

  • @awesomekj5812
    @awesomekj5812 Год назад

    Thank you for sharing your knowledge. I subscribed and looking forward to part 2 of this video.

  • @Islamic_7841
    @Islamic_7841 8 месяцев назад

    Good explanation ❤

  • @sn14110
    @sn14110 2 месяца назад

    Thanks for the video .I have a doubt
    You mentioned about debouncing..Does debouncing and throttling is the same and if not then can you let m know what is the difference?

  • @user-jb6cn9ej5m
    @user-jb6cn9ej5m 3 месяца назад +1

    Hello, could you please provide a more detailed explanation? I am having difficulty understanding, as it seems you are only presenting the code. I would appreciate it if you could elaborate on the concept in your response.
    Thank you."

  • @AnirudhBargur
    @AnirudhBargur 10 месяцев назад

    The Movie Details tab does not show up at all.
    The code executes without any error.
    The component goes invisible in the 'Edit Page' as well.
    what might be the problem?

    • @Dante-yd9ou
      @Dante-yd9ou 10 месяцев назад

      I have yet to reached at your step so can't help with your issue right now, just curious after making the first call to the API did you get any error like this - because it violates the following Content Security Policy directive: "connect-src 'self'
      FYI, I have already setup remote site and CSP according to the video tried in edge and chrome also but getting same error. Would really appreciate if you can help on this

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  10 месяцев назад

      Check in console if you are getting value using Message Channel

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  10 месяцев назад

      Check the used url and configured URL, both most have http. It should not be http and https at different places

    • @AnirudhBargur
      @AnirudhBargur 9 месяцев назад

      Thank you@@TechJourneyWithAnkit

  • @suhasshenoy1283
    @suhasshenoy1283 9 месяцев назад

    Sir during compilation I am not getting any errors. but I am getting "Cannot read properties of undefined (reading 'length')" error in the component

  • @Dante-yd9ou
    @Dante-yd9ou 10 месяцев назад

    I have already set up the CSP and Remote Site settings but still I am getting this error when I try to fetch the results, would really appreciate your help.
    *because it violates the following Content Security Policy directive: "connect-src 'self'*

    • @Dante-yd9ou
      @Dante-yd9ou 10 месяцев назад

      Finally, it works, but I have to deploy the component to the experience site and it worked fine. I don't know why it is not working in the org itself although the settings are unchanged (CSP and Remote Site)

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  10 месяцев назад

      Check url it should be http or HTTPS at all places

    • @thotaupendra901
      @thotaupendra901 7 месяцев назад

      @@Dante-yd9ou even im getting same error, how did you rectify that?

    • @Dante-yd9ou
      @Dante-yd9ou 7 месяцев назад

      @@thotaupendra901 I have already mentioned my method in the above reply

  • @ashishkurundkar8543
    @ashishkurundkar8543 2 месяца назад

    Hello Sir, I am getting error as {Response: 'False', Error: "Incorrect syntax near 'this'

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  2 месяца назад

      Recheck if url endpoint is created correctly and there are no typos in property name

  • @Shaik_Abdul_01
    @Shaik_Abdul_01 11 месяцев назад

    Hi @Ankit I unable to solve this error: "{Response: 'False', Error: 'Incorrect IMDb ID.'}Error: "Incorrect IMDb ID."Response: "False"[[Prototype]]: Object".
    I tired by double checking my apikey and i checked URL also which is in correct form. What could be the reason? And pls guide me to reslove it.

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  11 месяцев назад

      Check if message service sending the imbd I'd correctly

    • @sundichaithanyareddy
      @sundichaithanyareddy 11 месяцев назад

      Hi have you found what was the reason for that error because I am also getting the same error. Tell me if you know what is the mistake

    • @JShorts511
      @JShorts511 6 месяцев назад +1

      @@sundichaithanyareddy In my case ,I forgot to add onchange property to one of the ligthning-input

  • @DSA_Javascript
    @DSA_Javascript 7 месяцев назад

    I am getting a pop error as A Component Error has occurred! "Cannot read properties of undefined (reading 'Poster')".but when I close the pop then do search the movie everything working fine

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  7 месяцев назад

      do the debug and please try to check line by line , where it is failing

  • @JyotiSingh-ff5zp
    @JyotiSingh-ff5zp 6 месяцев назад

    For movies and series it is working but how can we search for "type 3" Episodes?. How to put the name?

  • @prathamkunjeer
    @prathamkunjeer 5 месяцев назад

    Getting an error like : Movie Search Output {Response: 'False', Error: 'Invalid API key!'} . I have formed the URL correctly also I have authorized the API key. Still getting this error ! Can you please help ?

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  5 месяцев назад

      Recheck if you are using https or http while making any fetch request and accordingly configure remote site setting and CSP as well

    • @prathamkunjeer
      @prathamkunjeer 4 месяца назад

      @@TechJourneyWithAnkit I have checked everything. It's as per your Video 🥲. The problem still persists 🫡 . Do you have any other Solutions?

    • @himanshubansal6809
      @himanshubansal6809 3 месяца назад

      @@prathamkunjeer any update on your problem?
      I am also facing same issue

    • @user-jb6cn9ej5m
      @user-jb6cn9ej5m 3 месяца назад

      @@prathamkunjeer same Error i am also getting

  • @sushma6058
    @sushma6058 10 месяцев назад

    In video 8:41 i am unable to find that page in my security tab
    Can you please how should I find that csp trusted sites

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  10 месяцев назад +1

      help.salesforce.com/s/articleView?id=sf.security_trusted_urls_manage.htm&type=5

    • @BalajiBalaji-jv1gt
      @BalajiBalaji-jv1gt 10 месяцев назад

      In the spring 24 csp trusted site place came up with -----> Trusted URLs once search with this name Trusted URLs.

  • @akshaymahajan7160
    @akshaymahajan7160 10 месяцев назад

    Hi, I need help actions not available on record list arrow tab

  • @sushmitamandal942
    @sushmitamandal942 11 месяцев назад

    Can we not make the child component (movie tile) communicate with the other component(movie Detail) making it a child component of (movie tile)

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  11 месяцев назад

      yes it is possible by keeping both movie tile and movie detail under another component ( let's say master component) , but again for this project i want to explore all types of communication

  • @sarcasticmind1676
    @sarcasticmind1676 11 месяцев назад

    56:00 why to do it unnecesarry. passing data to parent and then again passing the same data from parent to the same child

  • @aswinselvaraj6171
    @aswinselvaraj6171 Год назад

    Trusted sites not showing in my org (in the quick find)

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  Год назад +2

      From Setup, in the Quick Find box, enter Trusted URLs, and then select Trusted URLs.

  • @kumareshghosh5593
    @kumareshghosh5593 8 месяцев назад

    Just tested the key in postman, it says invalid API key.

  • @akashdhargave3314
    @akashdhargave3314 Год назад

    not showing in my org CSP Trusted site so what can I do

  • @SFDCWEB
    @SFDCWEB Год назад

    Hello Sir I am getting this error
    {Response: 'False', Error: 'Incorrect IMDb ID.'}Error: "Incorrect IMDb ID."Response: "False"[[Prototype]]: Object

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  Год назад

      Double check your api key. Check if url is formed correctly

    • @SFDCWEB
      @SFDCWEB Год назад

      @@TechJourneyWithAnkit solved 😊 thanks for your reply 😊

  • @HemlataAamod
    @HemlataAamod 5 месяцев назад

    When i am searching movie name then any image are not showing

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  5 месяцев назад

      Check logs and make sure you are using the correct node from json. Note it is case sensitive

  • @aarushisaxena1604
    @aarushisaxena1604 8 дней назад

    You didn't create a movieSearch component

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  7 дней назад

      I have created all the required components. Many folk’s watched and build this component. Do checkout my friend

  • @rajking69
    @rajking69 9 месяцев назад

    Hello sir i I am looking for a job in salesforce development as a fresher for a long time so please help if any reference
    Thank you

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  9 месяцев назад +1

      I don't have any openings. Will let you know if there is any

  • @lucifer2099
    @lucifer2099 9 месяцев назад

    Hi sir can you provide code for the movie search?

  • @avinashgosavi844
    @avinashgosavi844 Год назад

    Hello sir I am getting error like - incorrect IMDb ID.

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  Год назад

      If you are getting an error on page load, validate Api key is correct and url is also formed correctly

  • @TheCandidTrader
    @TheCandidTrader 6 месяцев назад

    hello sir, i was stuck on tile component. It is not rendering the tiles. There is no error in code but on UI it is showing only black background. Please help me with it.

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  6 месяцев назад

      Might be an error in html file or js file. Debug line by line