在 Service Manager 主控台中使用管理組件Work with management packs in the Service Manager console

重要

此版本的 Service Manager 已達到終止支援,建議您 升級至 Service Manager 2019This version of Service Manager has reached the end of support, we recommend you to upgrade to Service Manager 2019.

當您在 Service Manager 主控台中進行自訂時,請將其儲存在管理元件檔案中。When you make customizations in the Service Manager console, you save them in a management pack file. 在某些情況下,您必須先建立新的管理組件檔案。Sometimes, you have to first create a new management pack file. 之後,若要執行管理元件的自訂,請將它匯入 Service Manager 主控台。Later, to implement the customizations of the management pack, you import it into the Service Manager console.

當您在 Service Manager 主控台中建立管理元件時,您會提供管理元件的顯示名稱。When you create a management pack in the Service Manager console, you provide the display name for the management pack. Service Manager 會產生用來作為管理元件內部名稱的隨機識別碼,而該識別碼會成為管理元件的檔案名。Service Manager generates a random ID that is used as the internal name for the management pack and that becomes the management pack's file name. 如果您需要直接修改管理組件的 XML 程式碼來進一步自訂該管理組件中的物件,可能會難以找出要編輯的管理組件檔案。If you need to further customize objects in that management pack by directly modifying its XML code, it might be difficult to locate the management pack file that you want to edit. 在這種情況下,建議您將管理組件的內部檔案名稱修改為有意義的名稱,然後再加以使用,如下文所述:In that case, we recommend that you modify the management pack internal file name to be a meaningful name, and use it as follows:

  • 編輯管理組件 XML 檔案本身;將內部管理組件名稱變更為新名稱。Edit the management pack XML file itself; change the internal management pack name to the new name.

  • 將硬碟中的管理組件檔案重新命名為新名稱。Rename the management pack file on the hard drive to the new name.