Set Form Data

The Set Form Data plug-in allows you to set a value in a field in the form at a particular point in the process.

Note: If this plugin is configured with Sync=true, then it updates the form fields when a process ends with either "completed" or "approved" status.

Value Pair

Description

value [index]

The value to which to set the form field.

xpath [index]

The XPath to the form field.

Example

  • value0 – [New Division]
  • Value1 – [New Name]
  • xpath0 – //my:Division
  • xpath1 – //my:Name

This example sets the InfoPath field named my:Division to the value in the New Division SharePoint field, and the field named my:Name to the New Name SharePoint field.