Export (0) Print
Expand All

Setformtemplateproperty: Stsadm operation (Office SharePoint Server)

Office 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-09-13

Description

Sets the properties of an individual form template. This operation functions similarly to the -o setproperty operation.

Syntax

stsadm -o setformtemplateproperty

   [-formid] <Form template ID>

   [-filename] <Path to form template file>

   -pn <Property name>

   -pv <Property value>

Parameters

Parameter name and short form

Value

Required?

Description

formid

A valid template ID, for example, "urn:schemas-microsoft-com:office:infopath:MyFormTemplate:-myXSD-2005-09-22T20-42-56"

No. However, either the form ID or file name must be specified.

ID of the form template file.

filename

A valid file name for the form template file, such as "formtemplate.xsn"

No. However, either the form ID or file name must be specified.

Name of the form template file.

pn

See the Remarks section

Yes

Name of the property for which to set a value.

pv

A valid string value

Yes

Value of the property to be set.

Remarks

The following table describes the values for the pn parameter.

Value

Type

Description

category

A valid string, such as "Category1"

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft