Configure Visio Graphics Service global settings in SharePoint Server 2013
Published: July 16, 2012
Summary: The Visio Graphics Service global settings can be provisioned through Central Administration or with Windows PowerShell.
Applies to: SharePoint Server 2013 Enterprise
The following steps show how to create a Visio Graphics Service service application.
Before you begin
Because SharePoint 2013 runs as websites in Internet Information Services (IIS), administrators and users depend on the accessibility features that browsers provide. SharePoint 2013 supports the accessibility features of supported browsers. For more information, see the following resources:
Before you begin this operation, review the following information about prerequisites:
You must be a member of the farm administrators group or a Visio Services service application administrator.
Configure 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 configure a service application, you must be a member of the farm administrators group or a Visio Services service application administrator.
Start SharePoint 2013 Central Administration.
For Windows Server 2008 R2:
Click Start, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Central Administration.
For Windows Server 2012:
On the Start screen, click SharePoint 2013 Central Administration.
If SharePoint 2013 Central Administration is not on the Start screen:
Right-click Computer, click All apps, and then click SharePoint 2013 Central Administration.
For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.
On the SharePoint Central Administration website 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 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.
Valid values range from 1 to 50. The default value is 25 MB.
Minimum Cache Age
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.
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.
Valid values range from 0 to 34560 minutes. The default value is 5 minutes.
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.
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.
Valid values range from 10 to 120. The default value is 60 seconds.
Maximum Cache Size
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.
Valid values range from 100 to 1024000. The default value is 5120 MB.
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 2013 Products.
Click SharePoint 2013 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>-MaxCacheSize<SizeMB>
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>.