Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Section
Column

Forms can be initialized by an XML document. This is most commonly done when the form is created from an XSD data source but can also be used with forms created from ' palette controls. The most common method is to connect the XML document to the form via the form's doc action manually set document URls wizard.

Column
width240px

On this page:

Table of Contents
maxLevel12

XML document from Doc URI

...

Warning

You must specify the _formTz=<tz> parameter appended to the share URL when initializing a form with date, time or date/time controls from an XML init document, the _data parameter or a business rule that uses the rule identifier,form.load. This is because the form server needs to know the timezone in which to return the date and time. Successful initialization cannot be guaranteed if the &_formTz parameter is not supplied. This URL parameter is not needed if your form/flow only contains date controls. Refer to Time Zones for the details.

For Example: the XML document shown below provides initialization data for the Product Order form via a Doc URI set up by the form designer

Code Block
<p0:form xmlns:p0="http://www.frevvo.com/schemas/_yyePwNgBEeG5s7IL2f0q_g" name="CopyofProductOrderForm">
  <Message14>&lt;center&gt;Best Company&lt;br/&gt;Product Order Form&lt;/center&gt;</Message14>
  <OrderDate>2012-07-17</OrderDate>
  <OrderTime>11:13:00Z</OrderTime>
  </p0:form>

Copying the Product Order share URL, without the &_formTz=<tz> parameter into a browser session will trigger an error message when initialization is attempted using the XML doucment


http://localhost:8082/frevvo/web/tn/rap.com/user/rap/app/_w-eeENIYEeGYrP3vLLbERA/formtype/_yyePwNgBEeG5s7IL2f0q_g/popupform?locale=  

...

Time data in a form is always converted from the browser's timezone to a valid UTC format when posted in the form XML document in the submissions database. You may see the time in UTC format with a trailing "Z" (UTC) time or the time value plus or minus the UTC offset. Refer to Viewing XML Documents for more information on the Submissions Database and the XML document. 

Single digits for month and day in a rule or an xml document used to initialize a form will work only for the Date control. The Date/Time control requires a valid xml for successful initialization. See Rules Examples for more information. 

XML document from Post payload

...