使用 Common Data Service 数据库从头开始创建应用Create an app from scratch using a Common Data Service database

生成一个应用,以使用(内置的)标准实体和/或(组织创建的)自定义实体来管理 Common Data Service 中存储的数据。Build an app to manage data that's stored in the Common Data Service, using standard entities (which are built in), custom entities (which your organization creates), or both.

使用 Common Data Service 生成应用时,无需从 Microsoft PowerApps 建立连接,而处理 SharePoint、Dynamics 365 或 Salesforce 等数据源时则需要这样做。When you build an app from the Common Data Service, you don't need to create a connection from Microsoft PowerApps, as you do with data sources such as SharePoint, Dynamics 365, or Salesforce. 只需指定要显示、管理或在应用中用于这两种活动的实体即可。You only need to specify the entities that you want to show, manage, or use for both activities in the app.

  1. 创建 Common Data Service 数据库。Create a Common Data Service database. 有关详细信息,请参阅创建 Common Data Service 数据库For more information, see Create a Common Data Service database.
  2. powerapps.com 上的左侧导航窗格中,单击或点击“新应用”。On powerapps.com, in the left navigation pane, click or tap New app.
  3. 在随即显示的对话框中,单击或点击“适用于 Web 的 PowerApps Studio”。In the dialog box that appears, click or tap PowerApps Studio for web. (也可以单击或点击“适用于 Windows 的 PowerApps Studio”,然后按说明操作,安装适用于 Windows 的 PowerApps Studio。(You can also click or tap PowerApps Studio for Windows, and then follow the instructions to install PowerApps Studio for Windows. 虽然接下来的说明使用的是适用于 Web 的 PowerApps Studio,但有关 Microsoft Windows 应用的说明也与之相似。)Although the instructions that follow use PowerApps Studio for web, the instructions for the Microsoft Windows app are similar.)
  4. 在“从空白画布或模板开始”下方,单击或点击“空白应用”磁贴上的“手机布局”。Under Start with a blank canvas or template, click or tap Phone layout on the Blank app tile.
  5. 如果系统显示提示,请单击或点击“跳过”,跳过教程。If prompted, click or tap Skip to skip the tutorial.
  6. 单击或点击“内容”选项卡。Click or tap the Content tab.
  7. 单击或点击“数据源”。Click or tap Data sources.
  8. 单击或点击右侧窗格中的“添加数据源”。In the rightmost pane, click or tap Add data source.
  9. 单击或点击要使用的 Common Data Service。Click or tap the Common Data Service that you want to use.
  10. 在实体列表中,选中要使用的一个或多个实体的复选框,然后单击或点击“连接”。In the list of entities, select the check box for one or more entities that you want to use, and then click or tap Connect.

此时,指定的实体会显示在数据源列表中。可以按从头开始创建应用中所述来生成应用了。The entities that you specified appear in the list of data sources, and you can build your app as Create an app from scratch describes.