spmeta2 icon indicating copy to clipboard operation
spmeta2 copied to clipboard

XsltListViewWebPartDefinition ParameterBinding Deployment leads to wrong markup

Open EA12 opened this issue 6 years ago • 1 comments

Deployment should lead to <ParameterBinding Name="ID" Location="QueryString(ID)" /> but Comes out as &lt;ParameterBinding Name=&quot;ID&quot; Location=&quot;QueryString(ID)&quot; /&gt;

CSOM on SharePoint-Online SPMeta2 v4.0.30319

Used this Test-Case

After Deployment, no data from source view is shown in the destinaton view. When I cross check with SharePoint-Designer I see the mentioned wrong Markup in the EditForm.

If I correct the Markup everything works as espected. So, it seems that something is wrong with the Deployment.

Model used (CSOMProvisionService):

var webModelPages = SPMeta2Model.NewWebModel(webModel =>
{
	webModel.AddList(Lists.GetAnalyseList(), list =>
	{
		list.AddHostListView(BuiltInListViewDefinitions.Lists.EditForm, listView =>
		{
			listView.AddXsltListViewWebPart(wpToDos);
		});
	});
});

provisionService.DeployWebModel(context, webModelPages);

EA12 avatar Apr 29 '19 18:04 EA12

Hi @EA12 ,

Looking into this today, thanks for sharing example and use case.

SubPointSupport avatar May 05 '19 23:05 SubPointSupport