Subsite List Creation with Content Type Error - Subsite List Creation with Content Type Error - Community forums - Akumina Community

Community forums

Forum Navigation
Please or Register to create posts and topics.

Subsite List Creation with Content Type Error

I'm getting an error when attempting to create a list on a subsite with the FoundationTopNavigation content type (it worked without issue on the root site):

Executing Step: Provisioning Lists
System.ArgumentNullException: The 'contentType' argument cannot be null.
Parameter name: contentType
at Microsoft.SharePoint.Client.ContentTypeCollection.AddExistingContentType(ContentType contentType)
at Akumina.SiteDeployer.Services.ListService.AddContentTypeToList(ClientContext ctx, String contentTypeName, List newList)
System.ArgumentNullException: The 'contentType' argument cannot be null.
Parameter name: contentType
at Microsoft.SharePoint.Client.ContentTypeCollection.AddExistingContentType(ContentType contentType)
at Akumina.SiteDeployer.Services.ListService.AddContentTypeToList(ClientContext ctx, String contentTypeName, List newList)
Column 'NodeType' does not exist. It may have been deleted by another user.

I have the ContentTypes folder and ContentTypes.xml file included in the sitedefinitions/<Namespace> folder. The file does not have a reference to the FoundationTopNavigation content type. Does it need to be included for list creation at the subsite level?

Can you add your XML to the thread here?

Here's the full XML:

 

<?xml version="1.0" encoding="utf-8" ?>
<lists>
  <!--<ContentType ID="0x010029626DF56B944801AE5CC641A8A6696A" Name="Akumina Banner Type" Group="Akumina Content Types" Description="Akumina Banner Content Type" Inherits="TRUE" Version="0">
    <FieldRefs>
      <Field ID="{DDDD2B9E-942B-48B3-A695-B5B9C33810B5}"  Type="Text" Group="Akumina Content Types"  DisplayName="BannerHeading" Required="FALSE" Name="BannerHeading" />
      <Field ID="{222DE0CE-1181-4954-BD8A-07500ABFC4B7}"  Type="Text" Group="Akumina Content Types"  DisplayName="BannerSubHeading" Required="FALSE" Name="BannerSubHeading" />
      <Field ID="{7E4BB9DF-94CA-4AFA-8897-16DD89640E95}"  Type="Text" Group="Akumina Content Types"  DisplayName="BannerLinkText" Required="FALSE" Name="BannerLinkText" />
      <Field ID="{4A49D575-AA4B-405D-940D-3253BDE8CF71}"  Type="URL" Group="Akumina Content Types"  DisplayName="BannerLinkUrl" Required="FALSE" Name="BannerLinkUrl" />
      <Field ID="{0FC8DBDC-B44B-49DC-BCB9-305E3964A203}"  Type="Choice" Group="Akumina Content Types"  DisplayName="BannerLinkTarget" Required="FALSE" Name="BannerLinkTarget" >
        <CHOICES>
          <CHOICE>Same Window</CHOICE>
          <CHOICE>New Window</CHOICE>
        </CHOICES>
        <Default>Same Window</Default>
      </Field>
      <Field ID="{03E54425-DDA0-4676-9410-83519FD5A400}"  Type="Text" Group="Akumina Content Types"  DisplayName="BannerLinkHoverText" Required="FALSE" Name="BannerLinkHoverText" />
      <Field ID="{46A6A43F-6D12-42A7-9F04-F57787C5C1D9}"  Type="URL" Group="Akumina Content Types"  DisplayName="BannerImage" Format="Image" Required="FALSE" Name="BannerImage" />
      <Field ID="{EA66E3A5-2420-4396-969B-259443B50801}"  Type="Text" Group="Akumina Content Types"  DisplayName="BannerImageAltText" Required="FALSE" Name="BannerImageAltText" />
      <Field ID="{895ACA16-CC05-4021-8016-256F9E017D03}"  Type="Boolean" Group="Akumina Content Types"  DisplayName="BannerActive" Required="FALSE" Name="BannerActive" >
        <Default>1</Default>
      </Field>
      <Field ID="{B8E595BE-B58D-43A4-90A7-8FC41F2106D4}"  Type="Number" Group="Akumina Content Types"  DisplayName="BannerItemOrder" Required="FALSE" Name="BannerItemOrder" >
          <Default>0</Default>
    </Field>
     <Field  ID="{F68FE484-AF22-45E9-85FB-3EDF4EA974A4}"  Type="DateTime" Group="Akumina Content Types" DisplayName="Expires" Required="FALSE" Format="DateTime" Name="Expires" />
    </FieldRefs>
  </ContentType>-->
  <ContentType ID="0x01200200C25A08D46BE4487A86080142FBFED933" Name="AkuminaDiscussionBoardContentType" Group="Akumina Content Types" Description="Akumina Discussion Board Content Type" Inherits="TRUE" Version="0">
    <FieldRefs >
      <Field ID="{A6828C7D-6754-449A-AB5F-07105080D991}"  Type="Note" DisplayName="AttachmentLinks" Group="Akumina Content Types" Required="FALSE" Name="AttachmentLinks" ShowInEditForm="TRUE" ShowInNewForm="TRUE" />
      <Field ID="{2D33BCF0-F6B2-453D-97CD-BD3268967983}" Type="Boolean" DisplayName="ConfirmArchive" Group="Akumina Content Types" Required="FALSE" Name="ConfirmArchive" ShowInEditForm="TRUE" ShowInNewForm="TRUE" />
    </FieldRefs>
  </ContentType>
  <!--<ContentType ID="0x010068C3C2ABCA3E19479693D31CD2B2FF24" Name="ImportantDate" Group="Akumina Content Types" Description="Akumina ImportantDate Content Type" Inherits="TRUE" Version="0">
    <FieldRefs >
      --><!--<Field Type="Text" Name="Title" Required="FALSE" ShowInNewForm="FALSE" ShowInFileDlg="FALSE" DisplayName="$Resources:core,Title;" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title"></Field>--><!--
      <Field Name="StartDate" Format="DateOnly"  DisplayName="Start Date" Type="DateTime"  ShowInEditForm="TRUE" ShowInNewForm="TRUE">
        <Default>[today]</Default>
      </Field>
      <Field Name="Subtext"  Type="Text" DisplayName="Subtext"  ShowInEditForm="TRUE" ShowInNewForm="TRUE" />
      --><!--Summary Links  Summary Links--><!--
      <Field Name="DetailsLink"  DisplayName="DetailsLink" Type="URL"  ShowInEditForm="TRUE" ShowInNewForm="TRUE"/>
      <Field Name="MoreWindow" DisplayName="MoreWindow" Type="Choice"  ShowInEditForm="TRUE" ShowInNewForm="TRUE">
        <CHOICES>
          <CHOICE>Same Window</CHOICE>
          <CHOICE>New Window</CHOICE>
        </CHOICES>
        <Default>Same Window</Default>
      </Field>
      <Field Name="DoNotDisplayThisItem" Type="Boolean" DisplayName="DoNotDisplayThisItem"  ShowInEditForm="TRUE" ShowInNewForm="TRUE">
        <Default>0</Default>
      </Field>
      <Field Name="Expires" Format="DateTime"  DisplayName="Expires" Type="DateTime"  ShowInEditForm="TRUE" ShowInNewForm="TRUE">
      </Field>
    </FieldRefs>
  </ContentType>-->
  <ContentType ID="0x0100806D744AEA2BC249AF6139F029C62F6F" Name="AkuminaLanguage" Group="Custom Content Types" Version="1">
    <FieldRefs>
      <Field Type="Number" DisplayName="AkId" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Group="Custom Columns" ID="{c852dc85-e662-46fd-ad35-357fe02c4490}" SourceID="{26c337c7-cb8e-4612-97a7-5b1ef9c57c21}" StaticName="AkId" Name="AkId" Version="1" Customization="" AllowDeletion="TRUE">
        <Default>1</Default>
      </Field>
      <Field Type="Text" DisplayName="AkLanguageCode" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" MaxLength="255" Group="Custom Columns" ID="{86108768-214d-4d66-8543-c0e89e599f6f}" SourceID="{26c337c7-cb8e-4612-97a7-5b1ef9c57c21}" StaticName="AkLanguageCode" Name="AkLanguageCode" Version="1" Customization="" AllowDeletion="TRUE" />
      <Field Type="Number" DisplayName="AkLanguageId" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Group="Custom Columns" ID="{81333538-8a2f-4176-a4b1-3bdbd9e66118}" SourceID="{26c337c7-cb8e-4612-97a7-5b1ef9c57c21}" StaticName="AkLanguageId" Name="AkLanguageId" Version="1" Customization="" AllowDeletion="TRUE">
        <Default>1</Default>
      </Field>
    </FieldRefs>
  </ContentType>
  <ContentType ID="0x010066318BC9FB650B4A8ADD2AE43D9BC98B" Name="AkuminaSearch" Group="Akumina Content Types" Version="1">
    <FieldRefs>
      <Field Type="Text" DisplayName="FriendlyUrlSearch" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" MaxLength="255" Group="Akumina Columns" ID="{496da9f4-dbb6-467a-9f4f-27fdf1e4614d}" SourceID="{53f1d8e4-0a82-4db4-a3a9-5599c090af08}" StaticName="FriendlyUrlSearch" Name="FriendlyUrlSearch" Version="1" Customization="" AllowDeletion="TRUE" />
    </FieldRefs>
  </ContentType>
  <ContentType Name="AkuminaPersona" Group="Akumina Content Types" Description="Personas" Version="1">
    <FieldRefs>
      <Field Type="Note" Group="Akumina Columns" DisplayName="Persona_0"  StaticName="Persona_0" Name="Persona_0" ID="{7dbb0525-365e-472b-aa0a-7088521c6df5}" ShowInViewForms="FALSE" Required="FALSE" Hidden="TRUE" CanToggleHidden="TRUE" SourceID="{29efc5be-c798-49d1-9a93-376905207e65}" Version="1" Customization="" />
      <Field Type="TaxonomyFieldTypeMulti" DisplayName="Persona" WebId="a2051800-12f7-4d50-9819-a85aa6bb3369"  ShowField="Term1033" Required="FALSE" EnforceUniqueValues="FALSE" Mult="TRUE" Sortable="FALSE" StaticName="Persona" Name="Persona" Version="1" Customization="" TermSet="Persona">
        <Default>All</Default>
        <Customization>
          <ArrayOfProperty>
            <Property>
              <Name>SspId</Name>
              <Value xmlns:q1="http://www.w3.org/2001/XMLSchema" p4:type="q1:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">00000000-0000-0000-0000-000000000000</Value>
            </Property>
            <Property>
              <Name>GroupId</Name>
            </Property>
            <Property>
              <Name>TermSetId</Name>
              <Value xmlns:q2="http://www.w3.org/2001/XMLSchema" p4:type="q2:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">00000000-0000-0000-0000-000000000000</Value>
            </Property>
            <Property>
              <Name>AnchorId</Name>
              <Value xmlns:q3="http://www.w3.org/2001/XMLSchema" p4:type="q3:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">00000000-0000-0000-0000-000000000000</Value>
            </Property>
            <Property>
              <Name>UserCreated</Name>
              <Value xmlns:q4="http://www.w3.org/2001/XMLSchema" p4:type="q4:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
            </Property>
            <Property>
              <Name>Open</Name>
              <Value xmlns:q5="http://www.w3.org/2001/XMLSchema" p4:type="q5:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
            </Property>
            <Property>
              <Name>TextField</Name>
              <Value xmlns:q6="http://www.w3.org/2001/XMLSchema" p4:type="q6:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">{7dbb0525-365e-472b-aa0a-7088521c6df5}</Value>
            </Property>
            <Property>
              <Name>IsPathRendered</Name>
              <Value xmlns:q7="http://www.w3.org/2001/XMLSchema" p4:type="q7:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
            </Property>
            <Property>
              <Name>IsKeyword</Name>
              <Value xmlns:q8="http://www.w3.org/2001/XMLSchema" p4:type="q8:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
            </Property>
            <Property>
              <Name>TargetTemplate</Name>
            </Property>
            <Property>
              <Name>CreateValuesInEditForm</Name>
              <Value xmlns:q9="http://www.w3.org/2001/XMLSchema" p4:type="q9:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">false</Value>
            </Property>
            <Property>
              <Name>FilterAssemblyStrongName</Name>
              <Value xmlns:q10="http://www.w3.org/2001/XMLSchema" p4:type="q10:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">Microsoft.SharePoint.Taxonomy, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Value>
            </Property>
            <Property>
              <Name>FilterClassName</Name>
              <Value xmlns:q11="http://www.w3.org/2001/XMLSchema" p4:type="q11:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">Microsoft.SharePoint.Taxonomy.TaxonomyField</Value>
            </Property>
            <Property>
              <Name>FilterMethodName</Name>
              <Value xmlns:q12="http://www.w3.org/2001/XMLSchema" p4:type="q12:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">GetFilteringHtml</Value>
            </Property>
            <Property>
              <Name>FilterJavascriptProperty</Name>
              <Value xmlns:q13="http://www.w3.org/2001/XMLSchema" p4:type="q13:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">FilteringJavascript</Value>
            </Property>
          </ArrayOfProperty>
        </Customization>
      </Field>
    </FieldRefs>
  </ContentType>
</lists>

Here's the XML for the list creation:

<list name="AATEST_HR_LeftNavigation" noCrawl="TRUE" contentType="FoundationTopNavigation">
    <Data>
      <Rows>
        <Row>          <!-- 1 -->
          <Field Name="Title">Human Resources</Field>
          <Field Name="NodeType">Root</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 2 -->
          <Field Name="Title">HR Team</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">1;#Human Resources</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 3 -->
          <Field Name="Title">Benefits</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">2</Field>
          <Field Name="ParentItem">1;#Human Resources</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 4 -->
          <Field Name="Title">Retirement Benefits</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">3</Field>
          <Field Name="ParentItem">1;#Human Resources</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 5 -->
          <Field Name="Title">Leaves of Absence</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">4</Field>
          <Field Name="ParentItem">1;#Human Resources</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 6 -->
          <Field Name="Title">Talent Management</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">5</Field>
          <Field Name="ParentItem">1;#Human Resources</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 7 -->
          <Field Name="Title">Really long page title that goes two lines</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">3;#Benefits</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 8 -->
          <Field Name="Title">New Test Link</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">3;#Benefits</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 9 -->
          <Field Name="Title">401(k) Plan</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">4;#Retirement Benefits</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 10 -->
          <Field Name="Title">Retirement Planning</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">2</Field>
          <Field Name="ParentItem">4;#Retirement Benefits</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 11 -->
          <Field Name="Title">Social Security and Medicare</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">3</Field>
          <Field Name="ParentItem">4;#Retirement Benefits</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 12 -->
          <Field Name="Title">Roth Contributions</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">4</Field>
          <Field Name="ParentItem">4;#Retirement Benefits</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 13 -->
          <Field Name="Title">Really long page title that goes two lines Leave</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">5;#Leaves of Absence</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 14 -->
          <Field Name="Title">Really long page title that goes two lines and then goes three</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">2</Field>
          <Field Name="ParentItem">5;#Leaves of Absence</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 15 -->
          <Field Name="Title">Another Option5</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">6;#Talent Management</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 16 -->
          <Field Name="Title">Another Option6</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">2</Field>
          <Field Name="ParentItem">6;#Talent Management</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 17 -->
          <Field Name="Title">Fidelity Enrollment</Field>
          <Field Name="NodeType">Category</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">9;#401(k) Plan</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 18 -->
          <Field Name="Title">401(k) Loans</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">17;#Fidelity Enrollment</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 19 -->
          <Field Name="Title">Really long page title that goes two lines and then goes three eventually</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">7;#Really long page title that goes two lines</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 20 -->
          <Field Name="Title">Another Option3</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">14;#Really long page title that goes two lines and then goes three</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 21 -->
          <Field Name="Title">Another Option 4</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">2</Field>
          <Field Name="ParentItem">14;#Really long page title that goes two lines and then goes three</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 22 -->
          <Field Name="Title">Another Option 1</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">1</Field>
          <Field Name="ParentItem">13;#Really long page title that goes two lines Leave</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
        <Row>          <!-- 23 -->
          <Field Name="Title">Another Option 2</Field>
          <Field Name="NodeType">Item</Field>
          <Field Name="Link">https://testbhealth.sharepoint.com/sites/Connect</Field&gt;
          <Field Name="DisplayOrder">2</Field>
          <Field Name="ParentItem">13;#Really long page title that goes two lines Leave</Field>
          <Field Name="Active">true</Field>
          <Field Name="Open_x0020_With">Same Window</Field>
          <Field Name="LinkType">link</Field>
        </Row>
      </Rows>
    </Data>
  </list>

Let me give this a try

 

Ok thank you sir.

Looks to be an issue - in the interim do this;

  • Create the list,
  • Set the content type (manually if need be)
  • Then run the data in update.xml.

Scott

//]]>