Setdataconnectionfileproperty: 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

Sets a file property to a data connection file in the store of InfoPath Forms Services.

stsadm -o setdataconnectionfileproperty

   -filename <File name of the data connection file>

   -pn <Property name>

   -pv <Property value>


Parameter name and short form Value Required? Description


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


Full path to the name of the file in the data connection store.


The name of a valid data connection property


Name of property to set.


See the Remarks section


New value of the property.

The following table describes the values for the pv parameter.


Value Type Description


  • A valid Boolean value. Can be one of the following values:

  • Yes or True

  • No or False

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.


A valid string, such as "Category1"

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