PnP-Sites-Core icon indicating copy to clipboard operation
PnP-Sites-Core copied to clipboard

'ClientSideHostProperties' attribute is not declared.

Open poikjo opened this issue 5 years ago • 2 comments

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>

poikjo avatar Feb 11 '20 12:02 poikjo

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

ghost avatar Feb 11 '20 12:02 ghost

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.

user546 avatar Sep 09 '20 14:09 user546