-
Notifications
You must be signed in to change notification settings - Fork 107
SPInfoPathFormsServiceConfig
dscbot edited this page Mar 17, 2023
·
12 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes' | Yes |
Ensure | Write | String | Present ensures the settings are applied |
Present , Absent
|
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 | |
MaxDataConnectionTimeout | Write | UInt32 | Sets the maximum connection timeout in milliseconds | |
DefaultDataConnectionTimeout | Write | UInt32 | Sets the default connection timeout in milliseconds | |
MaxDataConnectionResponseSize | Write | UInt32 | Sets the maximum response size in kb for the user response | |
RequireSslForDataConnections | Write | Boolean | True sets the InfoPath Forms Service to require SSL for its connections | |
AllowEmbeddedSqlForDataConnections | Write | Boolean | True sets the InfoPath Forms Service to allow embedded SQL sonnections in Forms | |
AllowUdcAuthenticationForDataConnections | Write | Boolean | True sets the InfoPath Forms Service to allow User Defined connections | |
AllowUserFormCrossDomainDataConnections | Write | Boolean | True sets the InfoPath Forms Service to allow Cross-Domain connections | |
AllowEventPropagation | Write | Boolean | True enables the original performance optimization | |
MaxPostbacksPerSession | Write | UInt16 | Maximum number of postback allowed per session | |
MaxUserActionsPerPostback | Write | UInt16 | Maximum number of actions that can be triggered per postback | |
ActiveSessionsTimeout | Write | UInt16 | Timeout in minutes for active sessions | |
MaxSizeOfUserFormState | Write | UInt16 | Maximum size of user session data |
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