Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

'ClientSideHostProperties' attribute is not declared. #2541

Open
poikjo opened this issue Feb 11, 2020 · 2 comments · May be fixed by #2542
Open

'ClientSideHostProperties' attribute is not declared. #2541

poikjo opened this issue Feb 11, 2020 · 2 comments · May be fixed by #2542

Comments

@poikjo
Copy link

poikjo commented Feb 11, 2020

Category

[ x] Bug

Environment

[ x] Office 365 / SharePoint Online

Expected or Desired Behavior

Trying to use ClientSideHostProperties property on PnPTemplate - CustomActions but while applying template there's error "'ClientSideHostProperties' attribute is not declared"

Observed Behavior

One could use ClientSideHostProperties to set preAllocatedApplicationCustomizerTopHeight
and preAllocatedApplicationCustomizerBottomHeight

Steps to Reproduce

ApplyPnPProvisioningTemplate with this section
<pnp:ProvisioningTemplate ID="Apps" Version="1" Scope="RootSite"> <pnp:CustomActions> <pnp:WebCustomActions> <pnp:CustomAction Name="my-client-side-solution" Description="" Location="ClientSideExtension.ApplicationCustomizer" Title="my-solution" Sequence="0" Rights="" RegistrationType="None" ClientSideComponentId="8d1db129-f7c6-4af8-8721-818fa401e17d" ClientSideComponentProperties="{}" ClientSideHostProperties="{&quot;preAllocatedApplicationCustomizerTopHeight&quot;:&quot;60&quot;,&quot;preAllocatedApplicationCustomizerBottomHeight&quot;:&quot;18&quot;}" /> </pnp:WebCustomActions> </pnp:CustomActions> </pnp:ProvisioningTemplate>

@ghost
Copy link

ghost commented Feb 11, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Feb 11, 2020
@poikjo poikjo linked a pull request Feb 11, 2020 that will close this issue
@user546
Copy link

user546 commented Sep 9, 2020

I am also facing same issue and i am adding ClientSideHostProperties inside pnp:CustomAction and i am unable to run command as ClientSideHostProperties is not exist in pnp:CustomAction schema. Please let me know when schema changes will be released.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants