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

Formatting column values

Column formatting enables dozens of operators to manipulate column values. In this section, I’ll present the most common use cases.

Formatting dates and times

Column formatting includes several formulas for formatting dates and times.

  • "txtContent":"=Date(@currentField)" returns date and time formatted like 11/23/2023, 01:15:00 AM.
  • "txtContent":"=toDateString(@currentField)" returns only the date formatted like Thu Nov 23 2023. This presentation does not vary based on user’s locale.
  • ToLocaleDateString returns the date formatted like 11/23/2023. And toLocaleTimeString return the time formatted like 1:15:00 AM. These values are localized based on user’s locale. For example, for Finnish user, these values are displayed as.

Sometimes returning just a day, month, or year is required, and these can be achieved using getDate, getMonth, or getYear operators. For example, showing...