Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing Microsoft SharePoint 2019

You're reading from   Implementing Microsoft SharePoint 2019 An expert guide to SharePoint Server for architects, administrators, and project managers

Arrow left icon
Product type Paperback
Published in Dec 2020
Publisher Packt
ISBN-13 9781789615371
Length 636 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Angel Wood Angel Wood
Author Profile Icon Angel Wood
Angel Wood
Lewin Wanzer Lewin Wanzer
Author Profile Icon Lewin Wanzer
Lewin Wanzer
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Chapter 1: Understanding Your Current State 2. Chapter 2: Planning and Architecture FREE CHAPTER 3. Chapter 3: Creating and Managing Virtual Machines 4. Chapter 4: Installation Concepts 5. Chapter 5: Farm and Services Configuration 6. Chapter 6: Finalizing the Farm – Going Live 7. Chapter 7: Finalizing the Farm to Go Live – Part II 8. Chapter 8: Post-Implementation Operations and Maintenance 9. Chapter 9: Managing Performance and Troubleshooting 10. Chapter 10: SharePoint Advanced Reporting and Features 11. Chapter 11: Enterprise Social Networking and Collaboration 12. Chapter 12: SharePoint Framework 13. Other Books You May Enjoy

Develop a Client side WebPart

The following steps can be used to create a very simple web part. Of course, the options and complexity of building web parts are endless as your skill set grows. Although, in depth development is beyond the scope of this book, we wanted to show you a quick example to get you started. Follow these steps to begin:

  1. From the PowerShell Admin console create a project directory using the following command:
    Md myfirstspfx-webpart

    Which results in:

    Figure 12.30: Create the project Directory

  2. Navigate to the newly created project directory via Powershell:
    cd myfirstspfx-webpart

    Which results in:

    Figure 12.31: Navigating to the New Directory

  3. Run Yeoman SharePoint Generator
    Yo @microsoft/sharepoint

    Which gives us the following result:

    Figure 12.32: Run Yeoman Generator

    Answer the questions about the new webpart, including the solution name, target environment, and whether to allow deployment of this web part to all sites.

  4. Once you answer the final question...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime