Book Image

Customizing and Extending SharePoint Online

By : Matti Paukkonen
Book Image

Customizing and Extending SharePoint Online

By: Matti Paukkonen

Overview of this book

Explore the robust functionalities of SharePoint that ensure your business processes remain flexible and scalable. With its custom development features, SharePoint presents abundant opportunities to meet evolving needs, deliver personalized experiences, and seamlessly integrate across platforms. If you’re looking for practical guidance on developing custom SharePoint solutions, Customizing and Extending SharePoint Online is your essential companion. This book takes you through the different techniques for customizing SharePoint, harnessing its native capabilities, and extending them across other platforms. You’ll begin by organizing content with SharePoint sites and learning best practices for permission governance before learning how to create and manage pages and use web parts to create, aggregate, and format content. This SharePoint book also covers specialized use cases of the Viva Suite and delves into SharePoint automation with Power Automate while extending solutions with Power Apps. Toward the end, you’ll get to grips with designing personalized solutions with SharePoint Framework and Microsoft Graph. By the end of this book, you’ll be ready to deliver highly customized SharePoint solutions that align with your business objectives.
Table of Contents (27 chapters)
Free Chapter
1
Part 1:Exploring SharePoint Online
8
Part 2:Enhancing the SharePoint Content
14
Part 3:Automate and Extend SharePoint Experiences
19
Part 4:Create Your Own Customization using SharePoint Framework and Microsoft Graph

Extend SharePoint with Command Sets

The ListView Command Sets can be used to create new actions to SharePoint command surfaces. A Command Set can run client-side code to implement custom actions. A Command Set can be made available on the SharePoint list’s or library’s command bar (Figure 19.17), context menu, or both.

Figure 19.17 - Command bar

Figure 19.17 - Command bar

Creating a new ListView Command Set project starts with yo @microsoft/sharepoint. The Type of the client-side component is Extension, and the type of the client-side extension is ListView Command Set.

The example is an archive function, which moves a list item to a folder called Archive. The command is only available when a list item is selected and is visible on the command bar and the context menu.

Once the project is completely created, let’s open the manifest.json file and change the items object to include just one command, like in Figure 19.18.

Figure 19.18 - Command introduction in the manifest

Figure...