Open
Description
Is your feature request related to a problem? Please describe.
Unable to add the Banner WebPart via the CLI.
Describe the solution you'd like
Support for Banner WebPart in Add-PnPPageWebPart.
A Banner component can be created via the Sharepoint Online GUI. The following values exist
JsonWebPartData : {"id":"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788","instanceId":"00000000-0000-0000-0000-000000000000","title":"Banner","description":"Banner mit Titel- und Autoreninformationen
anzeigen","dataVersion":"1.5","properties":{"title":"Banner Title here","imageSourceType":4,"layou
tType":"FullWidthImage","textAlignment":"Left","showTopicHeader":false,"showPublishDate":fal
se,"topicHeader":"","authorByline":[],"authors":[],"isFullWidth":true,"enableGradientEffect"
:true,"isDecorative":true},"dynamicDataPaths":{},"dynamicDataValues":{},"serverProcessedCont
ent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}}}
HtmlPropertiesData :
HtmlProperties :
WebPartId : cbe7b0a9-3504-44dd-a3a3-0e5cacd07788
SupportsFullBleed : True
WebPartData :
Title : Banner
Description : Banner mit Titel- und Autoreninformationen anzeigen
WebPartPreviewImage :
PropertiesJson : {"title":"Banner Titlte here","imageSourceType":4,"layoutType":"FullWidthImage","textAlignment":"Le
ft","showTopicHeader":false,"showPublishDate":false,"topicHeader":"Subline here","authorByline":[],"auth
ors":[],"isFullWidth":true,"enableGradientEffect":true,"isDecorative":true}
Properties : {"title":"Banner Titlte here","imageSourceType":4,"layoutType":"FullWidthImage","textAlignment":"Le
ft","showTopicHeader":false,"showPublishDate":false,"topicHeader":"Subline here","authorByline":[],"auth
ors":[],"isFullWidth":true,"enableGradientEffect":true,"isDecorative":true}
ServerProcessedContent : {"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}}
DynamicDataPaths : {}
DynamicDataValues : {}
Type : PnP.Core.Model.SharePoint.PageWebPart
SpControlData : PnP.Core.Model.SharePoint.WebPartControlData
IsHeaderControl : False
RichTextEditorInstanceId :
Section : PnP.Core.Model.SharePoint.CanvasSection
Column : PnP.Core.Model.SharePoint.CanvasColumn
DataVersion : 1.5
CanvasDataVersion : 1.0
CanvasControlData :
ControlType : 3
JsonControlData : {"webPartId":"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788","rteInstanceId":null,"addedFromPersisted
Data":true,"reservedHeight":228,"reservedWidth":711,"controlType":3,"id":"4874a93d-036e-4d85
-a482-1205f0510f3e","position":{"controlIndex":1,"zoneIndex":1,"sectionIndex":1,"sectionFact
or":8,"layoutIndex":1},"emphasis":{"zoneEmphasis":0},"zoneGroupMetadata":null}
InstanceId : 00000000-0000-0000-0000-000000000000
Order : 1
Describe alternatives you've considered
Using the hero component does not result in the same component being added to the page.