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

'ClientSideHostProperties' attribute is not declared. #2541

@poikjo

Description

@poikjo

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>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions