Lookup control can have parameters configured, these parameters are not validated on build. Import then can throw errors. See samples below, my copilot dreamed up parameters that resulted in the error.
Solution "PCT21016.Apps.Core.Apps.Home" failed to import: The Form XML a86752b8-b913-49ad-b31a-0e0c8a8efce4 does not conform to the required schema. A schema validation error has been detected at line 0, position 0. Details: The element 'parameters' has invalid child element 'ViewIds'. List of possible elements expected: 'DefaultViewId, FilterRelationshipName, DependentAttributeName, DependentAttributeType, AutoResolve, ResolveEmailAddress, DefaultViewReadOnly, ViewPickerReadOnly, AllowFilterOff, DisableMru, useMainFormDialogForEdit, useMainFormDialogForCreate, DisableQuickFind, DisableViewPicker, AvailableViewIds, EntityLogicalName, IsInlineNewEnabled, InlineViewIds, UnboundLookupTypes, UnboundLookupBrowse, UnboundLookupControlType, ShowAsBreadcrumbControl, TargetEntities'.
<row>
<cell id="{0644ac2a-b53f-4c0a-ab00-3b0bec8ee5ca}" locklevel="0" colspan="1" rowspan="1" labelid="{05412ebb-f84f-4d3e-a0f7-22e8022f45d9}">
<labels>
<label description="Typ nádoby" languagecode="1029" />
<label description="Waste Collection Bin Type" languagecode="1033" />
</labels>
<control id="ntg_wastecollectionbintypeid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="ntg_wastecollectionbintypeid" disabled="false">
<parameters>
<IsInlineNewEnabled>false</IsInlineNewEnabled>
<DefaultViewId>{64f705d9-d8ff-489d-aa1f-e2a25411d17d}</DefaultViewId>
<ViewIds>{64f705d9-d8ff-489d-aa1f-e2a25411d17d}</ViewIds>
</parameters>
</control>
</cell>
</row>
Suggestion
Based on the error output, there is a set list of parameters that can be passed and we should be validation correctness on the build of a solution.
Lookup control can have parameters configured, these parameters are not validated on build. Import then can throw errors. See samples below, my copilot dreamed up parameters that resulted in the error.
Solution "PCT21016.Apps.Core.Apps.Home" failed to import: The Form XML a86752b8-b913-49ad-b31a-0e0c8a8efce4 does not conform to the required schema. A schema validation error has been detected at line 0, position 0. Details: The element 'parameters' has invalid child element 'ViewIds'. List of possible elements expected: 'DefaultViewId, FilterRelationshipName, DependentAttributeName, DependentAttributeType, AutoResolve, ResolveEmailAddress, DefaultViewReadOnly, ViewPickerReadOnly, AllowFilterOff, DisableMru, useMainFormDialogForEdit, useMainFormDialogForCreate, DisableQuickFind, DisableViewPicker, AvailableViewIds, EntityLogicalName, IsInlineNewEnabled, InlineViewIds, UnboundLookupTypes, UnboundLookupBrowse, UnboundLookupControlType, ShowAsBreadcrumbControl, TargetEntities'.Suggestion
Based on the error output, there is a set list of parameters that can be passed and we should be validation correctness on the build of a solution.