Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PropertyBag Element (Property Bag)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Child Elements
Parent Elements

Specifies the properties in the property bag for the list item, file, folder, or website.

  HyperlinkBaseUrl = "Text"
  ItemIndex = "Text"
  ParentType = "PropertyBagParentTypeDefinition"
  RootWebOnly = "Text"
  Url = "Text">

  <Property  ... />

</ PropertyBag >




Optional Text. Specifies an absolute URL to use as the base URL for hyperlinks.


Optional Text. Specifies the ID of the list item. This attribute is used only when ParentType is "ListItem".


Required PropertyBagParentTypeDefinition enumeration. Must be one of File, Folder, ListItem, or Web. Specifies the kind of object to which the property bag belongs.


Optional TRUE/FALSE. Indicates whether the parent object must be the site collection's top-level site when the ParentType attribute is "Web". This attribute is not used with any other ParentType value.


Optional Text. The site-relative URL of the parent object to which the property bag belongs, except when ParentType is "ListItem". In that case, this attribute specifies the site-relative URL of the list, not the list item.

Minimum: 0

Maximum: Unbounded

For an example of how this element is used, see Property Bag Schema.

© 2015 Microsoft