-
Notifications
You must be signed in to change notification settings - Fork 109
SPInfoPathFormsServiceConfig
dscbot edited this page Apr 14, 2025
·
13 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes' | Yes |
ActiveSessionsTimeout | Write | UInt16 | Timeout in minutes for active sessions | |
AllowEmbeddedSqlForDataConnections | Write | Boolean | True sets the InfoPath Forms Service to allow embedded SQL sonnections in Forms | |
AllowEventPropagation | Write | Boolean | True enables the original performance optimization | |
AllowUdcAuthenticationForDataConnections | Write | Boolean | True sets the InfoPath Forms Service to allow User Defined connections | |
AllowUserFormBrowserEnabling | Write | Boolean | True sets the InfoPath Forms Service to allow users to browse forms | |
AllowUserFormBrowserRendering | Write | Boolean | True sets the InfoPath Forms Service to render forms in the browser | |
AllowUserFormCrossDomainDataConnections | Write | Boolean | True sets the InfoPath Forms Service to allow Cross-Domain connections | |
DefaultDataConnectionTimeout | Write | UInt32 | Sets the default connection timeout in milliseconds | |
Ensure | Write | String | Present ensures the settings are applied |
Present , Absent
|
MaxDataConnectionResponseSize | Write | UInt32 | Sets the maximum response size in kb for the user response | |
MaxDataConnectionTimeout | Write | UInt32 | Sets the maximum connection timeout in milliseconds | |
MaxPostbacksPerSession | Write | UInt16 | Maximum number of postback allowed per session | |
MaxSizeOfUserFormState | Write | UInt16 | Maximum size of user session data | |
MaxUserActionsPerPostback | Write | UInt16 | Maximum number of actions that can be triggered per postback | |
RequireSslForDataConnections | Write | Boolean | True sets the InfoPath Forms Service to require SSL for its connections |
Type: Distributed Requires CredSSP: No
This resource is responsible for configuring the InfoPath Forms service within the local SharePoint farm. Using Ensure equals to Absent is not supported. This resource can only apply configuration, not ensure they don't exist.
This example shows how to configure the InfoPath Forms Service in the local SharePoint farm.
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPInfoPathFormsServiceConfig InfoPathFormsServiceConfig
{
IsSingleInstance = "Yes"
AllowUserFormBrowserEnabling = $true
AllowUserFormBrowserRendering = $true
MaxDataConnectionTimeout = 20000
DefaultDataConnectionTimeout = 10000
MaxDataConnectionResponseSize = 1500
RequireSslForDataConnections = $true
AllowEmbeddedSqlForDataConnections = $false
AllowUdcAuthenticationForDataConnections = $false
AllowUserFormCrossDomainDataConnections = $false
MaxPostbacksPerSession = 75
MaxUserActionsPerPostback = 200
ActiveSessionsTimeout = 1440
MaxSizeOfUserFormState = 4096
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations