This project is read-only.

Update XML Document Action

Update an XML-Document within a Document Library. Commonly used for Infopath-Forms.

1. Add “Update XML-Document” Action to a SharePoint Designer 2010 Workflow

image 

2. Configure the Action

image

List Item: The list item of the XML-Document

XML: The XML to update the document

 

3. Example

Updating an Infopath XML-Document

image

Query XML-Document reads the whole Infopath document (XPath = “/”) and stores the XML in the variable “Result”. Then we select the node “Field1” (XPath=”//*[local-name()='Field1']”), set it to the title of the current list item and store the resulting XML in the variable “Result1”. Last we update the Infopath document with the XML in “Result1”.

Last edited Feb 24, 2011 at 1:05 PM by cglessner, version 3

Comments

No comments yet.