Updated: 2009-11-12
[This article is pre-release documentation and is subject to change in future releases.]
The Visio Graphics Service global settings can be provisioned through the SharePoint Central Administration Web site or with Windows PowerShell. The following steps show how to create a Visio Graphics Service service application.
To configure a Visio Graphics Service service application by using Central Administration
Verify that you have the following administrative credentials:
- To create a service application, you must be a member of the farm administrators group.
On the Central Administration Home page, in the Application Management section, click Manage service applications.
Click the Visio Graphics Service service application that you want to configure.
On the Visio Graphics Service Settings page, configure the following settings:
| Parameter | Description |
|---|
Maximum Diagram Size | 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, while a smaller limit may prevent more complicated diagrams from being rendered. |
Minimum Cache Age | The minimum number of minutes that a diagram is cached in memory. Smaller values allow more frequent data refresh operations for users, but increase CPU and memory usage on the server. |
Maximum Cache Age | 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. |
Maximum Recalc Duration | The number of seconds before data refresh operations time out. |
External Data | 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 connecting to data sources external to SharePoint Server, such as SQL Server. |
Click OK.
To configure a Visio Graphics Service service application by using Windows PowerShell
Verify that you meet the following minimum requirements:
You are a member of the SharePoint_Shell_Access role on the configuration database and a member of the WSS_ADMIN_WPG local group on the computer where SharePoint 2010 Products is installed.
On the Start menu, click All Programs.
Click Microsoft SharePoint 2010 Products.
Click SharePoint 2010 Management Shell.
From the Windows PowerShell command prompt (that is, PS C:\>), the following syntax to manage the performance parameters in the Visio Graphics Service service application, and then press ENTER:
Set-SPVisioPerformance –MaxDiagramCacheAge <Minutes> -MaxDiagramSize <SizeMB> -MaxRecalcDuration <Seconds> -MinDiagramCacheAge <Minutes> VisioServiceApplication <VisioServiceApp>
From the Windows PowerShell command prompt, type the following syntax to manage the data configuration parameters in the Visio Graphics Service service application, and then press ENTER:
Set-SPVisioExternalData –VisioServiceApplication <VisioServiceApp> -UnattendedServiceAccountApplicationID <ApplicationID>
For more information, see Set-SPVisioPerformance>.