Search This Blog

Tuesday, December 3, 2013

Upload data connection file for SharePoint InfoPath forms

Data connection files in SharePoint Manage Data Connection Files library will be used for Administrator-approved templates in SharePoint forms

To upload data connections, Navigate to General Application settings in SharePoint central administration. Click on Manage Data connection files in InfoPath Forms Services section.
Click on Upload button in Manage Data Connections Files Page.

Enter the location in File name text box or browse the location by clicking on the browse button and Select the file in Choose File to Upload dialog box and click on ok. Select the category of the file in Category section and Select "Allow HTTP access to this file" in Web accessibility section to access the data connection file through HTTP. Click on Upload button.
We can upload the file using following power shell command,
Install-SPDataConnectionFile -Path FilePath -Category NameOfTheCategory -WebAccessibleWebAccessibleSetting 
Here FilePath is Path of the file to upload, NameOfTheCategory is category name and WebAccessibleSettings isTrue or False value to HTTP protocol access. ​

No comments:

Post a Comment