Skip to Content
使用 Microsoft Power Platform 构建解决方案
book

使用 Microsoft Power Platform 构建解决方案

by Jason Rivera
May 2025
Intermediate to advanced
352 pages
5h 4m
Chinese
O'Reilly Media, Inc.
Content preview from 使用 Microsoft Power Platform 构建解决方案

第 4 章. 了解微软数据海

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

第 3 章中,我们使用 Power Apps 创建了一个简单的应用程序来跟踪自己的专业技能。我们使用存储在 OneDrive for Business 中的 Excel 电子表格来保存和跟踪这些技能,而我们的 Power App 则负责读取和写入该电子表格。我们还看到了我们使用的方法是如何创建表格的,这样我们就可以看到我们的条目,并从列表中进行选择。我们甚至还看到,我们可以创建新技能和编辑现有技能。有了这个基础,你就可以继续创建许多其他的个人应用程序,但要与他人共享的应用程序往往会更加复杂,尤其是在数据保存方式上。这就是微软 Dataverse(以及其他潜在服务)的用武之地。

什么是 Microsoft Dataverse?Dataverse 是一个安全数据库,但与 Power Platform 的其他功能一样,它的设计目的是消除建立适当数据库背后的大量复杂工作。它允许你创建信息表,并定义这些表之间的关系。Dataverse 还会创建一系列常用的标准列作为表格的一部分,如创建时间、创建日期、修改时间、状态等,从而为您提供帮助。这样做的好处是,您将拥有可用于审计和报告的列;这些列通常会被新用户忽略,因此您不必担心在忘记了几列的情况下再回头添加它们。

正如我们在图 2-7 中看到的,Dataverse 具有相当多的功能,涵盖安全、逻辑、数据、存储和集成。Dataverse 表和数据存储在 Cloud 中,您可以控制谁可以访问这些数据。它还附带一系列预先配置好的表格,并已定义列、视图和表单。您可以构建能够访问 Dataverse 集中管理数据的应用程序、流程和报告,也可以从 Power Platform 以外的服务访问这些数据。

我们将直接进入 Microsoft Dataverse,创建自己的表格并了解如何存储数据。完成设置后,我们将了解 Dataverse 的重要性以及如何在 Power Platform 中使用它。

营造环境

创建 Dataverse 数据库时,首先需要一个环境。环境本质上是可以存储应用程序和数据的容器。通过使用基于角色的访问,环境还提供了一种保护数据安全的方法。

点击 Power Apps 等 Power Platform 服务右上角的齿轮图标,选择 "管理中心",即可转到PowerPlatform 管理中心(图 4-1)。

进入 Power Platform 管理中心后,您将看到环境列表。要创建一个新环境,只需单击 "环境 "标题上方菜单中的 "新建 "即可(图 4-2)。

图 4-2. 环境列表

右侧将出现一个窗格,您可以在此创建一个新环境(图 4-3)。在该窗格中,您将提供一个名称来帮助识别您的环境。然后,从一组类型中进行选择,选择环境所在区域,提供环境描述,并切换是否为环境创建数据库。

图 4-3. 创建新环境

可供选择的类型有沙盒、试用和生产。沙盒用于测试或开发目的,不用于企业内部。试用版可用于短期测试或概念验证工作,不打算保留。试用环境将在 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

学习 React,第二版

学习 React,第二版

Alex Banks, Eve Porcello
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
Perl Best Practices

Perl Best Practices

Damian Conway

Publisher Resources

ISBN: 9798341659391