設定 Managed Metadata ServiceConfigure the Managed Metadata service

套用 TO: yes 2013  yes 2016  Yes 2019  沒有 在 Microsoft 365 中 SharePointAPPLIES TO: yes2013 yes2016 yes2019 noSharePoint in Microsoft 365

在本文中,我們會討論如何在 SharePoint Server 設定 Managed Metadata Service 應用程式。在您依照下列程序之前,請務必確定您已經規劃好您的設定In this article we cover how to configure a Managed Metadata service application in SharePoint Server. Be sure you've planned your configuration before you follow the procedures below.

若要設定 Managed Metadata Service 應用程式,您可以執行下列步驟:To configure a Managed Metadata service application, you perform the following steps:

  1. 在 SharePoint Server 中註冊受管理帳戶,以執行 Managed Metadata Service 集區。Register a managed account in SharePoint Server to run the Managed Metadata service application pool.

  2. 開啟 Managed Metadata Web Service (僅限 SharePoint Server 2013)。Start the Managed Metadata Web Service (SharePoint Server 2013 only).

  3. 建立 Managed Metadata Service 應用程式。Create a Managed Metadata service application.

  4. 設定 Managed Metadata Service 連線Configure the Managed Metadata service connection

開啟 Managed Metadata Web Service (僅限 SharePoint Server 2013)Start the Managed Metadata Web Service (SharePoint Server 2013 only)

如果您正在使用 SharePoint Server 2013,必須在伺服器陣列中的至少一個伺服器上啟動 Managed Metadata Web 服務。(這個服務會自動在 SharePoint Server 2016 中啟動。)If you are using SharePoint Server 2013, you must start the Managed Metadata Web Service on at least one server in your farm. (This service is started automatically in SharePoint Server 2016.)

若要開啟 Managed Metadata Web ServiceTo start the Managed Metadata Web Service

  1. 在 SharePoint 管理中心網站首頁上,按一下 [管理伺服器上的服務]****。On the SharePoint Central Administration Web site home page, click Manage services on server.

  2. 按一下 [伺服器]**** 然後選取您想要啟動 Managed Metadata Web Service 的伺服器。Click Server and then select the server where you want to start the Managed Metadata Web Service.

  3. 在 [服務]**** 清單中,針對 Managed Metadata Web Service 按一下 [啟動]****。In the Service list, click Start for the Managed Metadata Web Service.

在 SharePoint Server 中設定 Managed Metadata Service 應用程式Configure a Managed Metadata service application in SharePoint Server

您必須具有標準網域帳戶,才能執行應用程式集區。此帳戶不需要任何特定權限。在 Active Directory 中建立帳戶之後,請執行下列步驟,使用 SharePoint Server 來註冊帳戶。To run the application pool, you must have a standard domain account. No specific permissions are required for this account. Once the account has been created in Active Directory, follow these steps to register it with SharePoint Server.

註冊受管理帳戶To register a managed account

  1. 在 SharePoint 管理中心網站首頁的左方導覽中,按一下 [安全性]****。On the SharePoint Central Administration Web site home page, in the left navigation, click Security.

  2. 在 [安全性] 頁面上,按一下 [一般安全性]**** 區段中的 [設定受管理帳戶]****。On the Security page, in the General Security section, click Configure managed accounts.

  3. 在 [受管理帳戶] 頁面上,按一下 [註冊受管理帳戶]****。On the Managed Accounts page, click Register Managed Account.

  4. 在 [使用者名稱]**** 方塊中,輸入帳戶的名稱。In the User name box, type the name of the account.

  5. 在 [密碼]**** 方塊中,輸入帳戶的密碼。In the Password box, type the password for the account.

  6. 若要讓 SharePoint Server 處理帳戶的密碼變更,請選取 [啟動自動變更密碼]**** 方塊並指定要使用的密碼變更參數。If you want SharePoint Server to handle changing the password for the account, select the Enable automatic password change box and specify the password change parameters that you want to use.

  7. 按一下 [確定]****。Click OK.

一旦您設定好註冊帳戶,您就必須建立 Managed Metadata Service 應用程式。請使用下列程序建立該服務應用程式。Once you have configured the registered account, you must create a Managed Metadata service application. Use the following procedure to create the service application.

建立 Managed Metadata Service 應用程式To create a Managed Metadata service application

  1. 在管理中心首頁上,按一下 [應用程式管理]**** 區段中的 [管理服務應用程式]****。On the Central Administration home page, in the Application Management section, click Manage service applications.

  2. 在 [管理服務應用程式] 頁面上,依序按一下 [新增]**** 和 [Managed Metadata Service]****。On the Manage Service Applications page, click New, and then click Managed Metadata Service.

  3. 在 [名稱]**** 方塊中,輸入服務應用程式的名稱 (例如 Managed Metadata Service)。In the Name box, type a name for the service application (for example, Managed Metadata Service).

  4. 在 [資料庫伺服器]**** 方塊中,輸入您要建立受管理的中繼資料資料庫的 SQL Server 執行個體。In the Database Server box, type the instance of SQL Server where you want to create the Managed Metadata database.

  5. 在 [資料庫名稱]**** 方塊中,輸入您要建立受管理的中繼資料資料庫的名稱。In the Database Name box, type the name that you want to use for the Managed Metadata database.

  6. 如果您有在使用容錯移轉資料庫伺服器,請在 [容錯移轉資料庫伺服器]**** 方塊中輸入伺服器名稱。In the Failover Database Server box, type the name of your failover database server if you're using one.

  7. 選取 [建立新的應用程式集區]**** 選項,然後在文字方塊中輸入應用程式集區的名稱。Select the Create new application pool option and type a name for the application pool in the text box.

  8. 選取 [可設定]**** 選項,然後從下拉式清單中選取稍早建立的受管理帳戶。Select the Configurable option, and, from the drop-down list, select the account for which you created the managed account earlier.

  9. 如果您正在設定內容類型中樞,請在 [內容類型中樞]**** 方塊中輸入該網站集合的 URL。If you're configuring a Content Type Hub, type the URL for that site collection in the Content Type Hub box.

  10. 按一下 [確定]****。Click OK.

現已設定好 Managed Metadata Service 應用程式。下一步是設定 Managed Metadata Service 連線的配置。The Managed Metadata service application has now been configured. The next step is to configure the settings for the Managed Metadata service connection.

設定 Managed Metadata Service 連線Configure the Managed Metadata service connection

每一個 Managed Metadata Service 應用程式都有相關聯的 Managed Metadata Service 連線。透過使用服務連線,您可以設定下列四個選項:Each managed metadata service application has an associated managed metadata service connection. Using the service connection, you can configure the following four options:

  • 此服務應用程式為關鍵字預設的存放位置 - 決定是否是使用此服務應用程式作為企業關鍵字的預設位置。This service application is the default storage location for Keywords - Determines if this service application is used as the default location for enterprise keywords.

    如果您正在使用一個以上的 Managed Metadata Service 應用程式,請僅為每個 Web 應用程式的一個服務應用程式選取此選項。If you are using more than one Managed Metadata service application, only select this option for one service application per web application.

    如果您不想使用企業關鍵字的功能,請確定您的任何 Managed Metadata Service 連線皆未選取此核取方塊。If you do not want to use the enterprise keywords functionality, make sure this check box is not selected for any of your Managed Metadata service connections.

  • 此服務應用程式為欄特定字詞組預設的存放位置 - 決定是否使用此服務應用程式儲存在網站集合層級建立的自訂字詞組。This service application is the default storage location for column specific term sets - Determines if this service application is used to store custom term sets that are created at the site collection level.

    如果您正在使用一個以上的 Managed Metadata Service 應用程式,請僅為每個 Web 應用程式的一個服務應用程式選取此選項。If you are using more than one Managed Metadata service application, only select this option for one service application per web application.

    如果您不想允許自訂字詞組,請確定您的任何 Managed Metadata Service 連線皆未選取此核取方塊。If you do not want to allow custom term sets, make sure this check box is not selected for any of your Managed Metadata service connections.

  • **使用內容類型庫的內容類型,HTTP:// <site> **-確定此服務應用程式是否將指定內容類型庫中定義的內容類型,是否可供此 web 應用程式中的網站使用者使用。Consumes content types from the content type gallery at http://<site> - Determines if this service application makes the content types that are that are defined in the specified content type gallery available to users of sites in this web application. 此選項僅在服務有中樞定義共用內容類型,才能使用。This option is available only if the service has a hub defined to share content types.

  • 使用內容類型,從內容類型庫將內容類型發佈更新下推到子網站和清單 - 決定使用內容類型更新到子網站和清單是否發佈內容類型的變更。Push-down Content Type Publishing updates from the Content Type Gallery to sub-sites and lists using the content type - Determines if change in content types are published to sub-sites and lists that use the content type.

使用下列程序來設定這些選項:Use the following procedure to set these options:

設定 Managed Metadata Service 連線To configure a managed metadata service connection

  1. 在管理中心中,按一下 [應用程式管理]**** 下的 [管理服務應用程式]****。In Central Administration, under Application Management, click Manage service applications.

  2. 尋找您想要設定 Managed Metadata Service 連線的服務應用程式。(在 [類型]**** 資料行中尋找 [Managed Metadata Service 連線]****。)Find the managed metadata service connection for the service application that you want to configure. (Look for Managed Metadata Service Connection in the Type column.)

  3. 反白顯示該列,然後按一下 [屬性]****。Highlight that row, and then click Properties.

  4. 選取想要啟用之動作的核取方塊,然後按一下 [確定]****。Select the check boxes for the options that you want to enable, and then click OK.