使用 PowerApps 從 SharePoint 內產生應用程式Generate an app from within SharePoint using PowerApps

[!VIDEO nb:cid:UUID:639d7eaf-bae5-447c-a34b-ec539a01a15c]

在 PowerApps 中,自動產生應用程式以供使用者在自訂的 SharePoint Online 清單中管理項目。In PowerApps, automatically generate an app in which users can manage items in a custom SharePoint Online list. 此應用程式會有三個畫面,讓使用者可以︰The app will have three screens in which users can:

  • 瀏覽清單中的所有記錄 (BrowseScreen1)browse through all records in the list (BrowseScreen1)
  • 檢視特定記錄的所有欄位 (DetailsScreen1)view all fields for a specific record (DetailsScreen1)
  • 建立或編輯記錄 (EditScreen1)create or edit a record (EditScreen1)

如果您從 SharePoint Online 命令列中建立自訂清單的應用程式,應用程式會顯示為該清單的檢視。If you create an app of a custom list from the SharePoint Online command bar, the app appears as a view of that list. 除了在網頁瀏覽器上執行應用程式外,您也可以在 Windows Phone、iOS 或 Android 裝置上執行。You can also run the app on a Windows Phone, iOS, or Android device, in addition to a web browser.

重要:PowerApps 不支援所有類型的 SharePoint 資料。Important: PowerApps doesn't support all types of SharePoint data. 如需詳細資訊,請參閱已知問題For more information, see Known issues.

產生應用程式Generate an app

  1. 在 SharePoint Online 中開啟自訂清單,按一下或點選命令列上的 [PowerApps],然後按一下或點選 [建立應用程式]。Open a custom list in SharePoint Online, click or tap PowerApps on the command bar, and then click or tap Create an app.

  2. 在出現的面板中,輸入應用程式的名稱,然後按一下或點選 [建立]。In the panel that appears, type a name for your app, and then click or tap Create.

    網頁瀏覽器中會出現新的索引標籤,其中會顯示根據 SharePoint 清單自動產生的應用程式。A new tab appears in your web browser that shows the app that you automatically generated based on your SharePoint list.

  3. 按一下或點選 SharePoint 清單的 [瀏覽器] 索引標籤,然後按一下或點選 [開啟]。Click or tap the browser tab for your SharePoint list, and then click or tap Open.

    注意︰您可能需要先重新整理瀏覽器視窗 (例如,藉由按下 F5),應用程式才會開啟。Note: You might need to refresh the browser window (for example, by pressing F5) before the app will open.

    應用程式會在獨立的瀏覽器索引標籤中開啟。The app opens in a separate browser tab.

管理應用程式Manage the app

  • 如果您按一下或點選 [在 PowerApps 中編輯],該應用程式會在另一個瀏覽器索引標籤中開啟,讓您可以更新網頁版 PowerApps Studio 中的應用程式。If you click or tap Edit in PowerApps, the app opens in a separate browser tab where you can update the app in PowerApps Studio for the web.
  • 如果您按一下或點選 [將此檢視設為公開檢視],則組織中的其他人也可以檢視。If you click or tap Make this view public, other people in your organization can view it. 依預設,只有您可以查看您所建立的檢視。By default, only you can see views that you create. 如果您希望讓其他人可以編輯此應用程式,您需要與他們共用此應用程式,並授與 [參與者] 權限。If you want to allow other people to edit your app, you need to share it with them, and then grant Contributor permissions.
  • 如果您按一下或點選 [移除此檢視],您將會從 SharePoint 移除此檢視,但應用程式仍會留在 PowerApps 中,除非您刪除它If you click or tap Remove this view, you'll remove the view from SharePoint, but the app will remain in PowerApps unless you delete it.

後續步驟Next steps