Export (0) Print
Expand All

AssociationCategories Element (Workflow)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Specifies the categories of list and content types to which you can associate this workflow.


<AssocationCategories/>
</AssociationCatagories>

Attribute

Description

None

Minimum: 0

Maximum: 1

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

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>
Show:
© 2015 Microsoft