Configure Visio Graphics Service global settings (SharePoint Server 2010)
Published: May 12, 2010
Summary: 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:
Maximum Diagram Size
The maximum size in MB of a Web drawing 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 Web drawings from being rendered.
Minimum Cache Age
The minimum number of minutes that a Web drawing 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 drawing. The interval begins when a user views a Web drawing. That user cannot refresh that Web drawing until the interval expires. The interval begins for other users when they first view the Web drawing.
This parameter applies to data-connected Web drawings.
Valid values range from 0 to 34560 minutes. The default value is 5 minutes.
Maximum Cache Age
The number of minutes after which cached Web drawings are purged. Larger values decrease file I/O and CPU load but increase memory usage on the server.
This parameter applies to static diagrams.
Maximum Recalc Duration
The number of seconds before data refresh operations time out. Longer timeouts will allow for more complex data connected Web drawings to be recalculated, but will use more processing power. This applies only to data connected Web drawings.
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.
To configure a Visio Graphics Service service application by using Windows PowerShell
Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
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.