Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

Adddataconnectionfile: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-09-13

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:

  • Yes

  • No (Default)

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:

  • Yes (Default)

  • No

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.