Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
Feature Schemas
 MetaData Element (Workflow)
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
MetaData Element (Workflow)

Contains any additional, custom metadata elements that are valid XML for the workflow.

<MetaData>
</Metadata>
Attribute Description

None

None.

Minimum: 0

Maximum: 1

Windows SharePoint Services uses the following elements to define additional workflow information in the MetaData element:

  • InitiationType

  • Modification_GUID_Name

  • StatusPageUrl

  • ExtendedStatusColumnValues

Following is an example of a Metadata element containing information on how the workflow can be initiated, the name of a workflow modification contained in the workflow, and custom status column values.

Xml
  <MetaData>
    <InitiationType>Manual;#OnNewItem;#OnItemUpdate;#OnMajorCheckIn</InitiationType>
    <Modification_af71f77b-e6c8-483a-acbf-30b4a84bd209_Name>myWorkflowModification</Modification_af71f77b-e6c8-483a-acbf-30b4a84bd209_Name>
    <Modification_Format><my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:my="http://schemas.adventureworks.com/workflows/myXSD">{0}</my:myFields></Modification_Format>
    <StatusPageUrl>_layouts/myWrkStat.aspx</StatusPageUrl>
    <ExtendedStatusColumnValues>
      <StatusColumnValue>Canceled</StatusColumnValue>
      <StatusColumnValue>Approved</StatusColumnValue>
      <StatusColumnValue>Rejected</StatusColumnValue>
    </ExtendedStatusColumnValues>  
  </MetaData>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker