Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XsltListViewWebPartDefinition ParameterBinding Deployment leads to wrong markup #1134

Open
EA12 opened this issue Apr 29, 2019 · 1 comment
Assignees
Labels

Comments

@EA12
Copy link

EA12 commented Apr 29, 2019

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

@SubPointSupport
Copy link
Contributor

Hi @EA12 ,

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

@SubPointSupport SubPointSupport self-assigned this May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants