ListItem Element (DeploymentManifest - SPGenericObject)
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Represents an instance of a SharePoint list item (SPListItem) object.
DECLARATION
<xs:element name="ListItem" type="SPListItem" />
USAGE
<SPObject>
<ListItem
Name="xs:string"
DirName="xs:string"
FileUrl="xs:string"
Version="xs:string"
Id="Guid"
IntId="xs:int"
DocId="Guid"
Author="xs:string"
ModifiedBy="xs:string"
TimeCreated="xs:dateTime"
TimeLastModified="xs:dateTime"
ParentWebId="Guid"
ParentListId="Guid"
ParentFolderId="Guid"
ModerationStatus="SPModerationStatusType"
ModerationComment="xs:string"
ContentTypeId="xs:string"
ThreadIndex="xs:string"
DocType="ListItemDocType"
UserLoginName="xs:string"
GroupName="xs:string"
FailureMessage="xs:string"
<Fields />
<Versions />
<Attachments />
<Links />
<EventReceivers />
/>
</SPObject
Type
Attributes
Attribute |
Type |
Description |
---|---|---|
Author |
xs:string |
Optional. The user who created the list item. |
ContentTypeId |
xs:string |
Optional.The content type associated with the item. |
DirName |
xs:string |
Optional; required by import. Name of the directory in which the item is stored. |
DocId |
Optional; required by import. Unique identifier of the list item file. |
|
DocType |
Optional. Document type of the specified list item. |
|
FailureMessage |
xs:string |
Optional. Message provided on export or import failure. |
FileUrl |
xs:string |
Optional; required by import. URL to the document item file. |
GroupName |
xs:string |
Optional. |
Id |
Optional; required by import. Integer value that identifies the list item. |
|
IntId |
xs:int |
Optional; required by import. |
ModerationComment |
xs:string |
Optional. Represents Content Approval comments about the list tiem. |
ModerationStatus |
Optional. Specifies the moderation status of the list item (Approved, Denied, Pending, Draft, Scheduled). |
|
ModifiedBy |
xs:string |
Optional. Name of the user who last modified the file. |
Name |
xs:string |
Optional; required by import. Name of the person who created the file. |
ParentFolderId |
Optional; required by import. Unique identifier of the list item's parent folder in the database. |
|
ParentListId |
Optional; required by import. Unique identifier of the list item's parent list. |
|
ParentWebId |
Optional; required by import. Unique identifier of the list item's parent Web site. |
|
ThreadIndex |
xs:string |
Optional. |
TimeCreated |
xs:dateTime |
Optional. Time and date that the file was created. |
TimeLastModified |
xs:dateTime |
Optional. Time and date that the file was last modified. |
UserLoginName |
xs:string |
Optional. |
Version |
xs:string |
Optional. Represents the version of the list item. |