Adddataconnectionfile: Stsadm operation (Office SharePoint Server)
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
Description
Adds a new data connection file to the DataConnectionFiles collection for InfoPath Forms Services.
Syntax
stsadm -o adddataconnectionfile
** -filename <Path to file to add>**
**\[-webaccessible\] {Yes | No}**
**\[-overwrite\] {Yes | No}**
**\[-category\] \<A string value\>**
Parameters
Parameter name | Value | Required? | Description |
---|---|---|---|
filename |
The name of a valid data connection file, such as "C:\foldername\myconnection.udcx" |
Yes |
The full path to the file to upload into the collection. |
webaccessible |
One of the following values:
|
No |
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. |
overwrite |
One of the following values:
|
No |
Determines whether to overwrite the file if it exists. |
category |
A valid string value, such as "Category1" |
No |
Sets an arbitrary category on the file which can be used to group the files. |