設定 Visio ServicesConfigure Visio Services

摘要:使用管理中心設定 Visio Services。Summary: Configure Visio Services by using SharePoint Central Administration.

以下步驟顯示如何建立 Visio Graphics Service 服務應用程式。The following steps show how to create a Visio Graphics Service service application.

若要建立服務應用程式,您必須是伺服器陣列管理員群組的成員。To create a service application, you must be a member of the farm administrators group.

建立 Visio Services 服務應用程式Create a Visio Services service application

若要使用 Visio Graphics Service 建立 管理中心 服務應用程式To create a Visio Graphics Service service application by using Central Administration

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

    重要

    [!重要事項] Visio Services 需要在各個您預計要使用 Visio Web Access 網頁組件的網站集合上,啟用 SharePoint Server 企業版網站集合功能。Visio Services requires the SharePoint Server Enterprise Site Collection Features feature to be active on each site collection where you plan to use the Visio Web Access Web Part.

  2. 在功能區上,按一下 [新增] 及 [ Visio Graphics ServiceOn the ribbon, click New, and then click Visio Graphics Service.

  3. 輸入新服務應用程式的名稱。Type a name for the new service application.

  4. 選擇現有的應用程式集區或建立新的應用程式集區。Choose an existing application pool or create a new one.

  5. 選擇是否要建立 Visio Graphics Service 應用程式 Proxy (建議使用)。Choose whether to create a Visio Graphics Service Application Proxy (recommended).

  6. 按一下 [ OK ]。Click OK.

如果您使用 SharePoint Server 2013,您必須開啟 Visio Graphics Service 在伺服器陣列中的至少一部伺服器上。(在管理中心按一下 [管理伺服器上的服務)。如果您使用 SharePoint Server 2016,會自動由 MinRole 管理 Visio Graphics Service。If you are using SharePoint Server 2013, you must turn on the Visio Graphics Service on at least one server in your farm. (In Central Administration, click Manage services on server.) If you are using SharePoint Server 2016, the Visio Graphics Service is managed automatically by MinRole.

設定 Visio Services 通用設定Configure Visio Services Global Settings

設定 Visio Services 通用設定To configure Visio Services Global Settings

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

  2. 按一下要設定的 Visio Graphics Service 服務應用程式。Click the Visio Graphics Service service application that you want to configure.

  3. 在 [Visio Graphics Service 設定] 頁面上,設定下列設定:On the Visio Graphics Service Settings page, configure the following settings:

參數Parameter 描述Description
圖表大小上限Maximum Diagram Size
可轉譯的圖表大小上限 (MB)。較大的大小限制會在伺服器負載過重時降低效能,而較小的限制則可能使得較複雜的圖表無法轉譯。The maximum size in MB of a diagram that can be rendered. A larger size limit may lead to slower performance if the server is under heavy load, whereas a smaller limit may prevent more complex diagrams from being rendered.
有效值範圍介於 1 至 50。預設值為 25 MB。Valid values range from 1 to 50. The default value is 25 MB.
快取保留時間下限Minimum Cache Age
在記憶體中快取圖表的分鐘數下限。較小的值可允許使用者更加頻繁地執行資料重新整理作業,但會增加伺服器的 CPU 與記憶體使用量。The minimum number of minutes that a diagram is cached in memory. Smaller values allow for more frequent data refresh operations for users, but increase CPU and memory usage on the server.
此值是指每個使用者每個圖表的間隔時間。當使用者檢視圖表時,此間隔開始計時。在此間隔到期之前,使用者無法重新整理圖表。當其他使用者第一次檢視圖表時,此間隔開始計時。This value is per user per diagram. The interval begins when a user views a diagram. That user cannot refresh that diagram until the interval expires. The interval begins for other users when they first view the diagram.
此參數適用於含有資料連線的圖表,以及根據圖案工作表函數重新計算的圖表。Visio 網頁組件的自動重新整理設定也受限於此設定。This parameter applies to diagrams with data connections and diagrams with recalculations based on shape sheet functions. The automatic refresh setting in Visio Web Parts is also constrained by this setting.
有效值範圍介於 0 至 34560 分鐘。預設值為 5 分鐘。Valid values range from 0 to 34560 minutes. The default value is 5 minutes.
快取保留時間上限Maximum Cache Age
快取的圖表清除前等候的分鐘數。較大的值會降低檔案 I/O 與 CPU 負載,但會增加伺服器的記憶體使用量。The number of minutes after which cached diagrams are purged. Larger values decrease file I/O and CPU load but increase memory usage on the server.
有效值範圍介於 0 至 34560 分鐘。預設值為 60 分鐘。Valid values range from 0 to 34560 minutes. The default value is 60 minutes.
重新計算時間上限Maximum Recalc Duration
資料重新整理作業逾時前持續的秒數。較大的逾時值可允許重新計算較複雜之連線資料的圖表,但將使用更多的處理能力。這僅套用至連線資料的圖表。The number of seconds before data refresh operations time out. Longer timeouts will allow for more complex data connected diagrams to be recalculated, but will use more processing power. This applies only to data connected diagrams.
此參數適用於含有資料連線的圖表,以及根據圖案工作表函數重新計算的圖表。This parameter applies to diagrams with data connections and diagrams with recalculations based on shape sheet functions.
有效值範圍介於 10 至 120。預設值為 60 秒。Valid values range from 10 to 120. The default value is 60 seconds.
最大快取大小Maximum Cache Size
可以使用的最大快取大小,單位為 MB (介於 100 與 1024000 之間)。較高的大小限制可能會導致服務使用較多磁碟資源,而較低的限制則可能會影響效能。The maximum cache size in MB (between 100 and 1024000) that can be used. A larger size limit may lead to more disk resource usage by the service, while a smaller limit may impact performance.
有效值範圍介於 100 至 1024000。預設值為 5120 MB。Valid values range from 100 to 1024000. The default value is 5120 MB.
外部資料External Data
登錄之 Secure Store Service 中用以參照自動服務帳戶認證的目標應用程式識別碼。自動服務帳戶是所有文件可用以重新整理資料的單一帳戶。在連線至 SharePoint Server 外部的資料來源 (例如 SQL Server) 時需要使用該帳戶。The target application ID in the registered Secure Store Service that is used to reference Unattended Service Account credentials. The Unattended Service Account is a single account that all documents can use to refresh data. It is required when you connect to data sources external to SharePoint Server, such as SQL Server.
  1. 按一下 [ OK ]。Click OK.