Adding Form Reporting

This operation adds form reporting to specified forms.

Name

Description

Required

interval

The interval at which the report should be generated. This follows the standard .NET time span format: <days>.<hours>:<minutes>:seconds

Yes

list

The name of the form list.

Yes

query

The SharePoint Collaborative Application Markup Language (CAML) query to use in retrieving the SharePoint items. The query can include the strings of the form:
"$Date(<+-><days>)," which will be replaced with the given date.

No

recipients

The list of the recipients who will receive the form report.

Yes

subject

The subject to set on the email message.

Yes

url

The URL of the site that contains the SharePoint list.

Yes

xsl

The path to the XSL file to use as the basis for the SharePoint list's XML.

Yes

The following example emails a summary report to Steven James and Jim Doe every seven days on the status of the Environmental Logs list:

svadm.exe –o addformreport –url http://acme/sv/Chemforms –list "Environmental Logs" –interval "7" –xsl "C:\reports\envirologs report.xsl" –query "C:\reports\queries\envirologs query.txt" –subject "Environmental Logs Report Summary" –recipients "stevenjames@acme.com, jimdoe@acme.com"

Previous Topic

Next Topic