Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Power Apps Cookbook

You're reading from   Microsoft Power Apps Cookbook Build user-friendly apps, troubleshoot challenges, and navigate the evolving Power Apps landscape

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781835465158
Length 438 pages
Edition 3rd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Eickhel Mendoza Eickhel Mendoza
Author Profile Icon Eickhel Mendoza
Eickhel Mendoza
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. App Maker Basics FREE CHAPTER 2. Building Pixel-Perfect Solutions with Canvas Apps 3. Building from Data with Model-Driven Apps 4. Choosing the Right Data Source for Your Applications 5. Automating Processes with Power Automate 6. Extending the Platform 7. Improving User Experience 8. Power Apps Everywhere 9. Empowering your Applications with AI Builder 10. Discovering the Power Platform Admin Center 11. Tips, Tricks, and Workarounds 12. Advanced Techniques with the Power Apps Component Framework 13. Reaching Beyond the Organization with Power Pages 14. Other Books You May Enjoy
15. Index

Building metadata-enabled storage – SharePoint lists and libraries

SharePoint Online, included in Microsoft 365, provides the perfect platform for secure content management, collaboration, and communication through dedicated sites.

This platform is commonly used as a data source for Power Apps solutions since it provides Microsoft Lists. This feature allows you to build a table-like storage with rich metadata columns. It’s not comparable to a full-fledged relational database, but it’s simple to use and comes included on most Microsoft 365 licenses. Please refer to Chapter 4, Choosing the Right Data Source for Your Applications, where we will perform a data source performance comparison, including SharePoint.

It also provides document libraries, which are file containers that inherit the same capabilities as Microsoft Lists, enhancing categorization and organization of the file storage, which helps improve business processes.

Getting ready

Since we are using SharePoint as our data source, there are no additional requirements besides a regular Microsoft 365 license. We will create a document library with some metadata columns to improve the library’s categorization.

Player documents

Here are the metadata columns to be added to the document library:

Type

Name

Choice: Photo ID, Medical certificate, Enrollment form

Document type

Date and time

Expiration date

Yes/No

Requires signature

Table 1.2: Library columns

How to do it…

  1. Go to the SharePoint site, which will hold the document library. On the main site page, click on New | Document library, as seen in the following screenshot:

Figure 1.3: Document library creation

This action will open a dialog with options to create the library. Click Blank library and then enter the name and description of the library. Enter Player documents for the name, leave the rest as default, and click Create.

Whether creating lists or document libraries, the platform will try to help you when designing them. Providing options such as From existing list/library, From Excel/CSV will allow you to speed up the creation process.

Templates is another capability that provides metadata examples gathered from many business scenarios.

  1. Once the library opens, click on the + Add column link at the end of the column header, as seen in the following screenshot:

Figure 1.4: The + Add column option

  1. Select the Choice data type from the open dialog and click Next. Enter Document type for Name and click each of the choice examples to replace them for Photo ID, Medical certificate, and Enrollment form. Once completed, click Save.
  2. Repeat Step 2 to add another column. Select Date and time and click Next. Enter Expiration date for the Name and leave the rest as default. Click Save to finish.
  3. Again, repeat Step 2 to add the last column. Select Yes/No and click Next. Enter Requires signature for the Name and click Save to complete the process.
  4. Back in the document library, reorder the columns as you see fit by dragging them. You can also hide columns by clicking on a particular column and selecting Columns settings | Show/hide columns.
  5. Add files to the library by selecting Upload | Files from the toolbar or by dragging them. Once the upload is complete, click Edit in grid view to update the file’s metadata in bulk, like when working with an Excel spreadsheet. Click on Exit grid view when finished.

How it works…

The document library creation process is now complete. If you upload some files, your library should look like the one in the following figure:

Figure 1.5: Player documents library

You have been reading a chapter from
Microsoft Power Apps Cookbook - Third Edition
Published in: Oct 2024
Publisher: Packt
ISBN-13: 9781835465158
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 $19.99/month. Cancel anytime
Banner background image