Adddataconnectionfile: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2015-03-09

Adds a new data connection file to the DataConnectionFiles collection for InfoPath Forms Services.

stsadm -o adddataconnectionfile

   -filename <Path to file to add>

   [-webaccessible] {Yes | No}

   [-overwrite] {Yes | No}

   [-category] <A string value>


Parameter name Value Required? Description


The name of a valid data connection file, such as "C:\foldername\myconnection.udcx"


The full path to the file to upload into the collection.


One of the following values:

  • Yes

  • No (Default)


Determines whether the Universal Data Connection file can be accessed by using the Web service. If this is No, then only the forms server can retrieve the Universal Data Connection files internally.


One of the following values:

  • Yes (Default)

  • No


Determines whether to overwrite the file if it exists.


A valid string value, such as "Category1"


Sets an arbitrary category on the file which can be used to group the files.