Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical SharePoint Framework (SPFx) Development
  • Table Of Contents Toc
Practical SharePoint Framework (SPFx) Development

Practical SharePoint Framework (SPFx) Development

By : Franck Cornu, Anoop T.
close
close
Practical SharePoint Framework (SPFx) Development

Practical SharePoint Framework (SPFx) Development

By: Franck Cornu, Anoop T.

Overview of this book

The SharePoint Framework (SPFx) has revolutionized how developers create custom solutions for Microsoft 365. Whether you're building Web Parts, extensions, or full-fledged applications, mastering SPFx is essential for delivering modern and scalable SharePoint solutions. Authored by experienced SPFx developers, this book serves as a comprehensive guide to developing with SPFx, offering practical examples, structured guidance, and best practices. You’ll start by understanding the Microsoft SharePoint and Microsoft 365 ecosystem before exploring hands-on development with SPFx. You’ll learn how to create Web Parts, work with the property pane, connect to APIs, deploy solutions, and implement different types of extensions. Additionally, the book covers debugging, testing, and upgrading solutions efficiently. By the end of this book, you’ll be able to confidently build, deploy, and manage SharePoint solutions using SPFx while leveraging community tools and libraries to enhance development efficiency.
Table of Contents (29 chapters)
close
close
Lock Free Chapter
1
Part 1: Getting Started with the SharePoint Framework
6
Part 2: Building Web Parts with the SharePoint Framework
11
Part 3: Building Extensions with the SharePoint Framework
19
Part 4: Going Further with the SharePoint Framework

Debugging extensions

Debugging SPFx extensions is slightly different from Web Parts, as they can’t be tested on the hosted workbench page. They must be tested on a real modern page context on a SharePoint site using a specific URL format dictated by SPFx.

Because extensions don’t have a property bag like Web Part, any configuration they rely on must be passed through that URL via a query string parameter (such as a specific property’s value you would normally use when registering the extension in the site).

When you create or add an extension to an SPFx project, a config/serve.json file is created like this:

{
  "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
  "port": 4321,
  "https": true,
  "serveConfigurations": {
    "default": {
      "pageUrl"...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical SharePoint Framework (SPFx) Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon