concept field in category sharePoint
appears as: field, field, fields, fields, The fields

This is an excerpt from Manning's book SharePoint 2010 Workflows in Action.
Most of the time, you’ll leave the defaults for the next two sections in this second configuration screen. The basic premise is how you want your tasks to function. If you remember, the Three-state workflow issues tasks between states. After the issued task is completed, the workflow moves to the next state. In figure 2.7, you’ll notice our Assigned To column is already set in the Task Assigned To field. This is enough to continue in the example, but note there are other handy settings. For instance, you can specify unique text to be added into the email that the task’s assignee receives.
Table 10.6. Configuring a secondary data source pointing to your task data
Action
Steps
Result
Create an ItemsMetadata.xml file that references the schema that SharePoint is passing. NOTE: The internal name of the Description field is ows Body. The fields with ItemMeta-data.xml should all represent their respective internal names, not their display names.
- Open Notepad, and enter the following XML: <z:row xmlns:z="#RowsetSchema"
ows_Title=""
ows_Body="" />NOTE: The filename and the XML are case sensitive!
- Save the file as ItemMetadata.xml.
A new file called ItemsMetadata.xml is created. This file contains the XML schema for your task list data. Configure the secondary data source for the task edit form in InfoPath. NOTE: When you click Next, you will see a warning saying that connections to XML files are not allowed in web browser forms. SharePoint treats this item metadata file as special and this warning does not apply.
- In the task edit form in InfoPath designer under the Ribbon’s Data tab, click Data Connections.
- Click Add to add a new data connection, leave Create a new connection to: Receive data, and then click Next.
- Choose XML Document, select the ItemMetadata.xml file on the file system where you saved it, and then click Next.
- Select to include the file as a resource, click Next, and then click Finish.
Your task edit form is configured with a secondary data source to your SharePoint data through the ItemsMetadata.xml file.