AssociationCategories Element (Workflow)
Applies to: SharePoint Foundation 2010
Specifies the categories of list and content types to which you can associate this workflow.
<AssocationCategories/>
</AssociationCatagories>
Attributes
Attribute |
Description |
|---|---|
None |
Child Elements
None. |
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Remarks
SharePoint Foundation uses the categories specified in this element to display only the appropriate workflows for a list or content type. Specify association categories as a character-delimited list, using the characters ";#" as delimiters. Each category can be up to 256 characters in length.
Valid values include the following:
General This workflow can be associated to any list or content type.
"List;" + featureID + ";" + listID The workflow can be associated with a specific list type, defined in the specified feature. For example:
List;29d85c25-170c-4df9-a641-12db0b9d4130;1300
"ContentType;" +contentTypeID The workflow can be associated with a specific content type. For example:
ContentType;0x01010029d85c25-170c-4df9-a641-12db0b9d4130
Example
The following example specifies that the workflow can be associated with lists of list type 1300, which is defined in feature 29d85c25-170c-4df9-a641-12db0b9d4130.
<MetaData>
<AssociationCategories>List;29d85c25-170c-4df9-a641-12db0b9d4130;1300</AssociationCategories>
</MetaData>
See Also
Concepts
Workflow Deployment Using Features