Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

XsltListViewWebPartDefinition ParameterBinding Deployment leads to wrong markup #1134

@EA12

Description

@EA12

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);

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions