Let’s go! Learn SPFx Today! | Build a webpart using ReactJS in Real Time - ZERO TO HERO PART 1 of 5

Поділитися
Вставка
  • Опубліковано 14 сер 2022
  • #spfx #sharepoint #webpart
    In this mini series of 5 episodes we set up the latest 2022 1.15.2 development environment and build a SharePoint webpart using the SharePoint Framework and the PnP Controls
    pnp/sp
    spfx-react-controls
    spfx-react-property-controls
    By the end of the 5 episodes you will know how to build a webpart using the latest SharePoint Framework and PnP Controls
    For more tutorials, see our playlist/series "SharePoint Framework for Beginners"
    Source Code: github.com/robpearmain/spfx-pnp
    If you would like the source code, or require support please support us on Patreon at / robertsdevtalk
    Why not also head over to www.robertsdevtalk.com and sign up, for latest news
    Whether you develop in Javascript or a Javascript framework such as ReactJS or VueJS, you will benefit from this weekly series.
    ☕️ Don't forget, old developers need coffee (and.. beer and pizza too 🍺 🍕)
    www.buymeacoffee.com/Robertsd...
    📧 📫 Join us on our developer journey! Sign up to our email newsletter:
    robertsdevtalk.com
    🐦 Follow us on Twitter:
    / robertsdevtalk
    🎶 Music by Epidemic Sound:
    www.epidemicsound.com/referra...
    Our gear - click through to support our channel! :)
    Camera (Canon M50)
    🇬🇧 UK: amzn.to/3sUbzuL
    🇺🇸 US: amzn.to/3uBsG5c
    Camera mic (RODE VideoMic Pro)
    🇬🇧 UK: amzn.to/3ml8xgC
    🇺🇸 US: amzn.to/2RkGxyi
    Camera tripod (Manfrotto Compact tripod):
    🇬🇧 UK: amzn.to/3fJGyWU
    🇺🇸 US: amzn.to/3mF4oV2
    Voiceover Mic (Blue Yeti)
    🇬🇧 UK: amzn.to/2PV7UOQ
    🇺🇸 US: amzn.to/3uMiEym
    Chris's dev mouse for PC (Logitech MX Master 3)
    🇬🇧 UK: amzn.to/39K7BNV
    🇺🇸 US: amzn.to/3uKYvso
    Chris's dev keyboard for PC (Logitech MX Keys)
    🇬🇧 UK: amzn.to/3rSbHcX
    🇺🇸 US: amzn.to/3a6Unef
    Rob's dev keyboard for Mac (Apple Magic Keyboard)
    🇬🇧 UK: amzn.to/3dEQpKG
    🇺🇸 US: amzn.to/3sb6JZc
    Rob's dev mouse for Mac (Apple Magic Mouse)
    🇬🇧 UK: amzn.to/3sRCQhr
    🇺🇸 US: amzn.to/3mFi6qS
    Icons in this video kindly provided by FlatIcon from Freepik
    www.freepik.com
    www.flaticon.com
    Disclaimer - some of our links are affiliate links, which means that we receive a small commission for any sales made via those links, at no extra cost to you - so a great way to support our channel! Thank you so much for your support 😊

КОМЕНТАРІ • 36

  • @samenglishmotivationinflue9409
    @samenglishmotivationinflue9409 2 місяці тому +2

    it's amazing so amazing i truely thankfull for this video and successfully ran my SPFx envirnment.

    • @RDT
      @RDT  2 місяці тому

      Glad it helped!

  • @jakasnazwa123
    @jakasnazwa123 Рік тому +1

    Thanks for the course. I always like to repeat the basics.

    • @RDT
      @RDT  Рік тому +1

      Thanks, lots more to come

  • @ziyoxojasultonov2883
    @ziyoxojasultonov2883 Рік тому +1

    Great

  • @sohaibalvi4410
    @sohaibalvi4410 Рік тому +1

    Fantastic

    • @RDT
      @RDT  Рік тому

      Thanks Sohaib for your continued support of the channel

  • @MuhammadAdnan2.0
    @MuhammadAdnan2.0 Рік тому +1

    Looks awesome, if possible add search box top of FAQS for searching answer's 😍

    • @RDT
      @RDT  Рік тому +2

      Great idea. This is just the introduction (over 5 episodes) so yeah I will add that in, thanks

    • @MuhammadAdnan2.0
      @MuhammadAdnan2.0 Рік тому

      @@RDTfollowing 🤘 this is amazing learning with projects thanks keep up the good tech

  • @dimitrispapakos4020
    @dimitrispapakos4020 7 місяців тому +1

    Well done. Your code now works 100%/ Many thanks for this tutorial

    • @RDT
      @RDT  7 місяців тому

      Awesome, glad it helped

    • @dimitrispapakos4020
      @dimitrispapakos4020 7 місяців тому

      @@RDT can we get some help of pulling news poists using rest api

    • @SebastianMunozA
      @SebastianMunozA 3 місяці тому

      hi bro, you use the same version of SPFX used in the video (1.15) or (1.18) the newer

  • @BokoMoko65
    @BokoMoko65 2 місяці тому +1

    Is it possible to run the local dev environment for SP Framework in a container? I mean, make use of dev containers?

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

      The actually site has to run online

  • @VinhPham-hz8ny
    @VinhPham-hz8ny Рік тому +1

    is there a free sharepoint plan that can be use for learning. I went to the sharepoint site and they have only the paid version.

    • @RDT
      @RDT  Рік тому +1

      Hi Vinh. Yes, there is developer access for free. See our video here SPFx FREE 365 Dev Environment | SETUP TUTORIAL | SharePoint Framework for Beginners 2021 E21
      ua-cam.com/video/2zFYhbpYv-Q/v-deo.html

  • @dimitrispapakos4020
    @dimitrispapakos4020 7 місяців тому +1

    I get parameter implicitly has an 'any' type how do we fix that please

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

      You need to add :any to the parameter variable
      E.g (user) = becomes (user:any) =

  • @dimitrispapakos4020
    @dimitrispapakos4020 Місяць тому +1

    Quick question please how do I display and retireve a Person Group column: here is my code: export interface IGlossary {Contact: Object;} then in my TSX I do: setGlossaryItems(
    items.map((item: any) => ({
    Contact: item.Contact,} then {item.Contact} nothing comes up any ideas please?

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

      Have you expanded the contact in the original query to the api?

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

    After the gulp serve step, my SharePoint site opens in the browser with a blank screen where I can click on the + to add web part, but I don't see the Local section with FAQ in it. Any suggestions what I might be missing?

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

      Have you tried a gulp build beforehand, if there are errors in the build then it will be blank. Also have you do gulp trust-dev-cert

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

      @@RDT I did not get any error in the build. I tried creating this web part again and I was successful in creating but I am getting an error. snipboard.io/PXQMs7.jpg and details snipboard.io/ZgDxGt.jpg

  • @ibrames3
    @ibrames3 Рік тому +1

    I got my M365 free developer license. I repeat each of your steps and I can't get my webpart from browser.

    • @RDT
      @RDT  Рік тому

      Have you run
      Gulp trust-Dev-cert
      What is the error you are getting and I will try to help 👍

  • @mosesvibe
    @mosesvibe Рік тому +1

    when i run gulp serve i am getting this error: gulp : File C:\Program Files
    odejs\gulp.ps1 cannot be loaded because running scripts is
    disabled on this system. For more information, see about_Execution_Policies at
    At line:1 char:1
    + gulp serve
    + ~~~~
    + CategoryInfo : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
    i own the sharepoint site. what am i missing?

    • @RDT
      @RDT  Рік тому +1

      You need to set the execution policy for powershell learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3

    • @mosesvibe
      @mosesvibe Рік тому

      @@RDT thank you 🙏

  • @CHAMONIX552
    @CHAMONIX552 2 місяці тому +1

    I use node.js 14.16.1 for SPFX environment.
    When I ran: npm install -g yo@4.2.0, keep getting self sign cert chain error
    even though I have already set this in .npmrc file.
    also run them in command line, strict-ssl=false ca= NODE_TSL_REJECT_UNAUTHORIZED=0
    still in vain
    I ran npm from /users/id/ directory

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

      You need to Check the spfx version and node version compatibility here learn.microsoft.com/en-us/sharepoint/dev/spfx/compatibility

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

      @@RDT I ignored this error, continued with sharepoint generator installation. After ran trust dev cert, I am able to run gulp serve.
      Might be need to do trust dev cert first?

  • @ziyoxojasultonov2883
    @ziyoxojasultonov2883 Рік тому +1

    Great