在 SharePoint Server 中管理應用程式目錄Manage the App Catalog in SharePoint Server

摘要: 了解如何設定和管理適用於 SharePoint Server 2013 或 SharePoint Server 2016 環境的應用程式目錄,以控制可用應用程式的存取。Summary: Learn how to configure and manage an App Catalog for SharePoint Server 2013 or SharePoint Server 2016 environments to control access to available apps.

您可以儲存 SharePoint 應用程式與 Office 應用程式在應用程式目錄網站中供組織內部使用。本文章涵蓋應用程式目錄網站概觀,並說明如何設定適用於 Web 應用程式的應用程式目錄。You can store apps for SharePoint and Office apps for your organization's internal use in an App Catalog site. This article contains an overview of the App Catalog site and shows how to configure the App Catalog for a web application.

在開始之前,請確定您已經將 SharePoint 環境設定為支援應用程式Be sure you've configured your SharePoint environment to support apps before getting started.

設定適用於 Web 應用程式的應用程式目錄網站Configure the App Catalog site for a web application

應用程式目錄網站是特殊的網站集合。因為應用程式目錄將範圍設在 Web 應用程式,所以要讓 Web 應用程式使用的所有應用程式,都必須在該 Web 應用程式的應用程式目錄網站集合內。The App Catalog site is a special site collection. Because an App Catalog is scoped to a web application, all apps that you want to make available for a web application have to be in the App Catalog site collection for that web application.

當您建立應用程式目錄網站時,會得到兩個應用程式庫:When you create an App Catalog site, you get two libraries for apps:

  • SharePoint 相關應用程式Apps for SharePoint

  • Office 相關應用程式Apps for Office

您可以從 SharePoint 管理中心建立應用程式目錄網站集合。You create the App Catalog site collection from SharePoint Central Administration.

建立適用於 Web 應用程式的應用程式目錄網站集合To create an App Catalog site collection for a web application

  1. 確認執行此程序的使用者帳戶為伺服器陣列管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Farm administrators group.

  2. 在管理中心中,於 [應用程式] 頁面的 [應用程式管理]**** 區段中,按一下[管理應用程式目錄]*In Central Administration, on the Apps page, in the *App Management section, click Manage App Catalog.

    如果該伺服器陣列尚無應用程式目錄,就會開啟 [Web 應用程式]**** 頁面,以讓您選取 Web 應用程式。If no App_Catalog exists for the farm, the Web Application page opens, so you can select a web application.

  3. 在 [Web 應用程式]**** 頁面上,選取要建立目錄的 Web 應用程式。On the Web Application page, select the web application for which you want to create a catalog.

  4. 在 [應用程式目錄網站] 區段中,選取 [建立新的應用程式目錄網站]*,然後按一下 [確定]*。In the App_Catalog Site section, select Create a new app catalog site, and then click OK.

  5. 在 [建立應用程式目錄] 頁面的 [標題]**** 方塊中,輸入應用程式目錄網站的標題。On the Create App_Catalog page, in the Title box, type a title for the App_Catalog site.

  6. 在 [描述]**** 方塊中,輸入網站的描述。In the Description box, type the description for the site.

  7. 在 [URL]**** 方塊中,填入該網站的 URL。In the URL box, fill in the URL to use for the site.

  8. 在 [主要網站集合管理員] 區段的 [使用者名稱]**** 方塊中,輸入將管理該目錄的使用者。In the Primary Site Collection Administrator section, in the User Name box, type the user who will manage the catalog.

    您只能輸入一個使用者名稱。不允許安全性群組。Only one user name can be entered. Security groups are not allowed.

  9. 在 [使用者] 區段的 [使用者/群組]**** 方塊中,輸入要讓其能夠瀏覽該目錄的使用者或群組名稱。In the End Users section, in the Users/Groupsbox, type the names of the users or groups that you want to be able to browse the catalog.

    新增的使用者或群組可擁有應用程式目錄網站的讀取權。您可以新增多個使用者名稱與安全性群組。您必須將使用者新增為 [使用者],才能夠從其網站集合瀏覽應用程式目錄。Added users or groups have read access to the App Catalog site. You can add multiple user names and security groups. Users must be added as End Users to be able to browse the App Catalog from their site collections.

  10. 在 [選取配額範本]**** 清單方塊中,選取網站要用的配額範本。In the Select a quota template list box, select the quota template to use for the site.

  11. 按一下 [確定]*Click *OK.

該網站建立好之後,管理中心的 [管理應用程式目錄] 頁面上就會有該網站的連結。Once the site has been created, a link to it is available on the Manage App Catalog page in Central Administration.

設定應用程式要求Configure app requests

根據預設,網站擁有者可以從 SharePoint 市集購買並下載應用程式。如果您不想要讓網站擁有者能夠直接購買應用程式,您可以在管理中心內將 SharePoint 市集的設定設為只允許網站擁有者要求應用程式。然後,應用程式目錄的系統管理員就能核准或拒絕應用程式。By default, site owners can purchace and download apps from the SharePoint Store. If you don't want site owners to be able to purchase apps directly, you can configure the SharePoint Store settings in Central Administration to only allow site owners to request apps. Apps can then be approved or denied by the App Catalog administrator.

在 SharePoint 市集設定中設定應用程式要求To configure app requests in the SharePoint Store settings

  1. 確認執行此程序的使用者帳戶是伺服器陣列管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

  2. 在管理中心中,於 [應用程式] 頁面的 [SharePoint 和 Office Store]**** 區段中,按一下 [設定儲存設定]*In Central Administration, on the Apps page, in the *SharePoint and Office Store section, click Configure Store Settings.

  3. 在 [SharePoint 市集 設定] 頁面上,確認選取的 Web 應用程式就是您要設定的 Web 應用程式。On the SharePoint Store Settings page, verify that the selected web application is the web application that you want to configure.

    如果您想要切換至不同的 Web 應用程式,請按一下 Web 應用程式 URL 旁邊的向下箭號,即可變更為不同的 Web 應用程式。If you want to switch to a different web application, click the down arrow next to the web application URL to change to a different web application.

  4. 若要允許或防止購買,請選取 [使用者是否可以從 SharePoint 市集取得應用程式?]**** 的選項。To allow or prevent purchases, select an option for Should end users be able to get apps from the SharePoint_Marketplace?

    • 選取 [是]*,允許網站擁有者購買應用程式。Select *Yes to allow site owners to purchase apps.

    • 選取 [否]*,防止購買,但允許使用者要求應用程式。Select *No to prevent purchases but allow users to request apps.

  5. 若要在使用者以瀏覽器開啟文件時,允許或防止 Office 市集的 Office 應用程式啟動,請選取 [以瀏覽器開啟文件時,是否應啟動 Office 應用程式?]**** 的選項。To allow or prevent appOffice_plural from the download_marketplace to be started when a user opens a document in the browser, select an option for Should appOffice_plural from the store be able to start when documents are opened in the browser?

    • 選取 [是]**** 以允許 Office 市集的 Office 應用程式啟動。Select Yes to allow apps for Office from the Office Store to start.

    • 選取 [否]**** 以防止 Office 市集的 Office 應用程式啟動。Select No to prevent apps for Office from the Office Store from starting.

  6. 按一下 [確定]*Click *OK.

管理應用程式要求Manage app requests

網站擁有者在要求 SharePoint 市集中的 SharePoint 應用程式時,可要求特定的授權數目,以及提供購買 SharePoint 應用程式的理由。提交的要求會新增至含有使用者網站集合的 Web 應用程式內、應用程式目錄中的 [應用程式要求]**** 清單。應用程式要求包含下列欄位:When site owners request an SharePoint_app_singular from the SharePoint_Marketplace, they can request a specific number of licenses and provide a justification for the purchase of the SharePoint_app_singular. Submitted requests are added to the App Requests list in the App_Catalog of the web application that contains a user’s site collection. The app request includes the following fields:

  • 要求者 要求 SharePoint 相關應用程式的人員的使用者名稱。Requested by The user name of the person requesting the app for SharePoint.

  • 標題SharePoint 相關應用程式的標題。Title The title of the app for SharePoint.

  • 基座網站授權 使用者要求該 SharePoint 相關應用程式的授權數目。Seats and Site License The number of licenses the user requested for that app for SharePoint.

  • 理由 為什麼 SharePoint 相關應用程式對於組織而言很有用的理由。Justification The reason why the app for SharePoint would be useful for the organization.

  • 狀態 依預設,新要求的狀態會設定為 [新增]。檢閱該要求的人員可以將狀態變更為 [擱置]、[已核准]、[拒絕]、[已撤回]、[以核准狀態關閉] 或 [以拒絕狀態關閉]。Status By default, the status is set to New for new requests. The person who reviews the request can change the status to Pending, Approved, Declined, Withdrawn, Closed as Approved, or Closed as Declined.

  • 檢視應用程式詳細資料 可連至 SharePoint 市集 中應用程式詳細資料頁面的連結。View App Details A link to the app details page in the SharePoint Store.

  • 核准者註解 檢閱要求的人員可以新增要給要求者的註解。Approver Comments The person who reviews the request can add comments for the requestor.

    檢視及管理應用程式要求To view and manage app requests

  1. 確認執行此程序的使用者帳戶是應用程式目錄的網站擁有人或設計者群組的成員。Verify that the user account that is performing this procedure is a member of the site Owners or Designers group for the App Catalog.

  2. 在應用程式目錄網站上,按一下 [應用程式要求]**** 清單。On the App_Catalog site, click the App Requests list.

  3. 選取清單中的要求,然後按一下 [編輯]**** 按鈕。Select a request in the list, and then click the Edit button.

  4. 檢閱要求的詳細資料。Review the details of the request.

  5. 將 [狀態] 變更成適當的值 - 如果您要讓使用者能夠購買應用程式,則變更為 [已核准]*,或者您不允許購買應用程式,則變更為 [拒絕]Change the Status to the appropriate value - **Approved* if you want to user to be able to purchase the app, or Declined if you do not want to allow the app to be purchased.

  6. 在 [核准者註解]**** 方塊中新增任意註解,然後按一下 [儲存]*Add any comments in the *Approver Comments box, and then click Save.

    若要檢視要求,要求者可移至其網站集合的 [新增應用程式] 頁面,然後按一下 [您的要求]*To view a request, requestors can go to the Add an App page in their site collection, and then click *Your Requests.

將應用程式新增至應用程式目錄Add apps to the App Catalog

完成設定應用程式目錄之後,您可以新增應用程式,讓使用者稍後可安裝至其 SharePoint 網站,或用於其 Office 文件。After you have configured the App Catalog, you can add apps that users can then install to their SharePoint sites or use in their Office documents.

將應用程式新增至應用程式目錄To add an app to the App Catalog

  1. 確認執行此程序的使用者帳戶是應用程式目錄的網站擁有人或設計者群組的成員。Verify that the user account that is performing this procedure is a member of the site Owners or Designers group for the App Catalog.

  2. 在應用程式目錄網站上,按一下 [SharePoint 相關應用程式]**** 清單。On the App Catalog site, click the Apps for SharePoint list.

    在 [SharePoint 相關應用程式]**** 頁面上,按一下 [新增項目]*On the *Apps for SharePoint page, click new item.

  3. 在 [選擇檔案]**** 方塊中,按一下 [瀏覽]*,然後找到要上傳的應用程式所在的資料夾。In the *Choose a file box, click Browse, and then locate the folder that contains the app that you want to upload.

    提示

    您也可以按一下 [改用 Windows 檔案總管上傳檔案]****,將 SharePoint 相關應用程式拖放到應用程式目錄。You can also click Upload files using Windows Explorer instead to drag and drop an SharePoint_app_singular into the App_Catalog.

  4. 選取應用程式,然後按一下 [開啟]*Select the app, and then click *Open.

  5. 按一下 [確定]**** 以上傳應用程式。Click OK to upload the app.

  6. 在 [項目詳細資料] 方塊中,確認應用程式的 [名稱]、[標題]、[簡短描述]、[圖示 URL] 及其他設定。In the Item details box, verify the Name, Title, Short Description, Icon URL, and other settings for the app.

    確定已選取 [啟用]**** 核取方塊,這樣使用者才會在其網站看到該應用程式。Be sure that the Enabled check box is selected so that users can see the app in their sites.

    您可以選取 [特色]**** 核取方塊,以在 [應用程式目錄] 的 [特色] 內容檢視中列出該應用程式。You can select the Featured check box to list the app in the Featured content view of the App Catalog.

  7. 按一下 [儲存]*Click *Save.

您也可以將應用程式目錄中的應用程式分類。若要新增類別,請編輯應用程式目錄清單的 [類別] 欄位,然後新增您要使用的類別名稱。You can also categorize apps in the App Catalog. To add categories, edit the Category field for the App Catalog list and add the category names you want to use.

從應用程式目錄移除應用程式Remove apps from the App Catalog

如果您不再想向使用者提供特定應用程式,可以從應用程式目錄中加以移除。移除並不會從已新增該應用程式的網站中,解除安裝或移除應用程式。這樣做只是從應用程式目錄中移除應用程式,並讓使用者無法將該應用程式新增至其他網站。If you no longer want to offer a particular app to your users, you can remove it from the App Catalog. Removal does not uninstall or remove the app from sites to which it has been added. It merely removes the app from the App Catalog, and users cannot add the app to other sites.

從應用程式目錄中移除應用程式To remove an app from the App Catalog

  1. 確認執行此程序的使用者帳戶是應用程式目錄的網站擁有人或設計者群組的成員。Verify that the user account that is performing this procedure is a member of the site Owners or Designers group for the App Catalog.

  2. 在應用程式目錄網站上,按一下 [SharePoint 相關應用程式]**** 清單。On the App Catalog site, click the Apps for SharePoint list.

  3. 在 [SharePoint 相關應用程式]**** 頁面上,選取要移除的應用程式。On the Apps for SharePoint page, select the app that you want to remove.

  4. 在功能區的 [檔案]**** 索引標籤上,按一下 [刪除文件]**** 以移除應用程式。In the ribbon, on the Files tab, click Delete Document to remove the app.

  5. 在對話方塊中,按一下 [確定]*,確認您想要將項目傳送到網站的資源回收筒。In the dialog box, click *OK to confirm that you want to send the item to the site Recycle Bin.

    就會移除該應用程式。The app is removed.

另請參閱See also

概念Concepts

安裝及管理 SharePoint Server 的應用程式Install and manage apps for SharePoint Server

規劃 SharePoint Server 的應用程式Plan for apps for SharePoint Server