0

I am currently getting the error below when importing a site and I have no idea what is causing it, can anyone help?

[FatalError][-2146231999][System.Xml.Schema.XmlSchemaValidationException][The element 'View' in namespace 'urn:deployment-manifest-schema' has invalid child element 'ParameterBinding' in namespace 'urn:deployment-manifest-schema'. List of possible elements expected: 'Script, PagedRowset, PagedClientCallbackRowset, PagedReccuranceRowset, ViewFields, ViewData, List, MetaData, View, Query, RowLimit, RowLimitExceeded, Mobile, MobileItemLimit, Toolbar, Formats, Aggregations, ViewStyle, Viewbody, ViewEmpty, ViewFooter, ViewHeader, ViewBidiHeader, GroupByFooter, GroupByHeader, CalendarViewStyles, CalendarSettings, ListFomBody, Xsl, XslLink, JS, JSLink, ParameterBindings, OpenApplicationExtension, Method, WebParts, InlineEdit, Joins, ProjectedFields' in namespace 'urn:deplyment-manifest-schema'.]

1
  • 1
    As per this documentation, child element should be 'ParameterBindings' (with "s" at the end) and not 'ParameterBinding'. Try this and let me know if it works Commented Sep 23, 2022 at 8:45

1 Answer 1

1

As per this documentation - View element (List),

Child element inside <View> element should be ParameterBindings (with "s" at the end) and not "ParameterBinding".

Change your view element XML according and it should work for you.

Documentation: View element (List) - Child elements


Example:

<View>
    <ParameterBindings>
        <ParameterBinding Name = "Text" Location = "Text" />
        <ParameterBinding Name = "Text" Location = "Text" />
        <ParameterBinding Name = "Text" Location = "Text" />
    </ParameterBindings>
</View>
6
  • Thanks for helping out, where would I be able to find the ViewElementXML on the site/in the .cmp backup file? @Ganesh
    – Ben Cooper
    Commented Sep 23, 2022 at 9:30
  • Check this article for more information: techtrainingnotes.blogspot.com/2007/12/… Commented Sep 23, 2022 at 9:35
  • Thanks! I have been able to find the files within the .cmp file now, I can see various ParameterBindings and ParameterBinding entries throughout the Minifest.xml, is this the correct place to be searching for malformed xml, if so, how can I re-package the .cmp file? @Ganesh
    – Ben Cooper
    Commented Sep 23, 2022 at 12:32
  • You will find these entries in Manifest.xml and ViewFormsList.xml file. To re-package, try this and this Commented Sep 23, 2022 at 12:59
  • Nice yes, I was able to successfully import using the -nofilecompression flag, one last question if you don't mind, do you know how this could be caused in the first place, seems to happen when there's only 1 <ParameterBinding> the <ParameterBindings> gets missed, what could trigger this? I will mark as Resolved thanks so much ! @Ganesh
    – Ben Cooper
    Commented Sep 23, 2022 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.