Create XML File Action

In the example we create an Infopath Form.

1. Add “Create XML File” Action to a SharePoint Designer 2010 Workflow

image

2. Configure Action

image

File Name: The name of the xml file e.g. test.xml

List: The list in which the xml file should be created.

Overwrite when exists: Overwrite the file when it already exists.

Variable URL: The absolute URL of the file

Variable Item ID: The List Item ID of the file.

Example:

image

The XML:

image

I’ve copied the xml from an existing Infopath XML-File and set my:Field1 to the Title of the current List Item.

3. Publish and run the workflow

After the workflows has finished take a look at the target list:

image

Open the just created Infopath Form:

image

Last edited Jan 6, 2011 at 11:32 AM by cglessner, version 2

Comments

No comments yet.