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

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

Syntax

stsadm -o setdataconnectionfileproperty

**   -filename <File name of the data connection file>**

-pn <Property name>

-pv <Property value>

Parameters

Parameter name and short form Value Required? Description

filename

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

Yes

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

pn

The name of a valid data connection property

Yes

Name of property to set.

pv

See the Remarks section

Yes

New value of the property.

Remarks

The following table describes the values for the pv parameter.

Value Type Description

webaccessible

  • 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.

category

A valid string, such as "Category1"

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