Getformtemplateproperty: 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: 2016-11-14

Description

Retrieves properties on individual InfoPath Form Services templates.

The property name values are equivalent to those displayed when you view the properties of a form template from the Manage Form Templates page of the SharePoint Central Administration Web site.

Syntax

stsadm -o getformtemplateproperty

**\[-formid \<Form template ID\>\]**

**\[-filename \<Path to form template file\>\]**

-pn <Property name>

Parameters

Parameter name 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 example, "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 return a value.

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. This value is optional and corresponds to the Manage Form Templates page of the SharePoint Central Administration Web site.

created-time-utc

A valid date time format in the form "mm/dd/yy hh:mm:ss"

The Universal Time Coordinated (UTC) when the Form template was created.

Note

UTC is also known as Greenwich Mean Time (GMT).

description

A valid string, such as "This is a description"

Description of form template from the XSN file.

feature-id

A valid GUID value, such as "45d186e1-7036-4092-a825-0eb6709e9281"

The GUID of the Windows SharePoint Services feature object that corresponds to the form template. For additional information about feature definitions, see SPFeatureDefinition Properties (https://go.microsoft.com/fwlink/?LinkId=99643&clcid=0x409).

feature-name

A valid name, such as "Name1"

The name of WSS feature object that corresponds to the form template. For additional information about feature definitions, SPFeatureDefinition Properties (https://go.microsoft.com/fwlink/?LinkId=99643&clcid=0x409).

form-id

A valid ID in the form "urn:myform-2007-08-09T04-03"

The identity of the form template (XSN).

is-full-trust

Either one of the following values:

  • True

  • False

A value of True indicates the form template trust level is Full. A value of False indicates the form template trust level is Domain.

Specifies whether the security level of the form template is a full trust template. The trust level is either Domain Trust or Full Trust. Domain trust form templates can communicate only with data sources within their own domain. Browser-enabled form templates that require a Full Trust security level need to be digitally signed. Use the is-signed property to determine if the form template is digitally signed.

is-signed

Either one of the following values:

  • True

  • False

Determines if the form template is digitally signed.

Note

This is not related to the digital signature feature that allows you to sign XML data. This relates to the authenticode signature of CAB archives (XSNs are CAB archives and can be signed as regular CAB archives). For additional information, see Authenicode (https://go.microsoft.com/fwlink/?LinkId=99642&clcid=0x409).

locale

A valid language code, such as en-US or ja-JP

A string value that displays the form template locale.

modified-time-utc

A valid date time format in the form "mm/dd/yy hh:mm:ss"

Displays the time, in Universal Time Coordinated (UTC), that the form template was last modified on WSS (not the modification time of the XSN).

quiesce-mode

Any one of the following values:

  • Normal

  • Quiescing

  • Quiesced

Displays the quiesce mode of the form template.

solution-id

A valid GUID value, such as "11d186e1-7036-4092-a825-0eb6709e9281"

Displays the ID of the Windows SharePoint Services solution object that corresponds to this form template. The solution-id value is available when the form template is either deployed to or registered on the server farm.