InfoPath Forms that utilize InfoPath Forms Services (IPFS) require the use of an IPFS Web service proxy to execute external data source Web services from claims authentication sites.
The following steps will enable InfoPath Forms Services Web service proxy in your environment.
Copy Script |
---|
Add-PsSnapin Microsoft.SharePoint.PowerShell Set-SPInfoPathWebServiceProxy -Identity {WebAppURL} -AllowWebServiceProxy $true Set-SPInfoPathWebServiceProxy -Identity {WebAppURL} -AllowForUserForms $true |
InfoPath Forms Services Web service proxy must have access to the certificates utilized by the web application using claims authentication’s web site when it is enabled for SSL.
NOTE: All the certificates in the Certification Path must be registered.
The following steps will register a certificate with one parent certificate in the certification path. Adjust the scripts based on the certification path.
Copy Script |
---|
# Register the claims site certificates for IPFS Web services proxy calls $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("{CertificationParentFilePath}") iisreset |
InfoPath client applications cannot use a data connection (UDCX) that is configured to use the Web service proxy – this only works for IPFS forms. Unfortunately, the UDCX does not support the option to use the Web service proxy from IPFS and not use the proxy from InfoPath Client – it is locked to one or the other. Therefore, the option that K2 integration provides, which is to enable the Form Client to utilize “InfoPath, Web browser if InfoPath not available”, cannot be used for InfoPath forms on claims authentication sites. This issue has been logged with Microsoft but a resolution is outstanding.
If this option is selected, the data connection will be configured to only support InfoPath client when deploying to a claims authentication site. The form will not function properly if opened in the browser. If browser support is desired on a claims authentication site, you must select Web browser and redeploy your solution.