Skip to content

Migrating shared files and folders invalid Xml #5891

@ashleywb

Description

@ashleywb

Xml is missing '>' for <
ListItem ParentWebId="79f949a2-f38b-40e3-91ef-ffdbe6214bef"
sharewithevents
Also when trying to use the following I get
[The element 'SharedWithEvent' in namespace 'urn:deployment-manifest-schema' has incomplete content. List of possible elements expected: 'SharedWithMembers' in namespace 'urn:deployment-manifest-schema'.]
I assume based on the article The below would be part of the Manifest.xml? Are then any other articles around this?

The format would be like something below
<SPObject ObjectType="SPListItem" Id="8158fbd9-8b69-478b-9b47-391a34d365d1" ParentWebId="3f72d4ef-067a-4af8-b6d7-5107a86e0d0d" ParentWebUrl="/personal/tenant_onmicrosoft_com" Url="/personal/tenant_onmicrosoft_com/Documents/Folder/file.txt"> <ListItem Name="file.txt" DirName="/personal/tenant_onmicrosoft_com/Documents" FileUrl="Documents/Folder/file.txt" Id="8158fbd9-8b69-478b-9b47-391a34d365d1" IntId="1" DocId="8158fbd9-8b69-478b-9b47-391a34d365d1" Author="13" ModifiedBy="13" TimeCreated="2020-06-16T09:16:50.3476623+01:00" TimeLastModified="2020-06-16T09:16:50.3476623+01:00" ParentWebId="3f72d4ef-067a-4af8-b6d7-5107a86e0d0d" ParentListId="B4C0A814-614B-4F0B-A8EF-3F4D6E1B5907"> <SharedWithEvents> <SharedWithEvent SharedTime="2020-06-16T08:16:50.3486602Z" SharingInitiatorId="2" SharedById="2" /> <SharedWithMembers> <SharedWithMember SharedWithId="8" /> <SharedWithMember SharedWithId="31" /> </SharedWithMembers> </SharedWithEvents> </ListItem> </SPObject>


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APIarea:docsCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devhelp wantedLooking for someone to help with this issue (documentation fix, etc).type:archive-old-issueIssues which are closed as tool old for active worktype:bug-confirmedConfirmed bug, not working as designed / expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions