Show your SharePoint Framework web part in full Width layout

Hi friends,



By default when you create a full width layout we can have only 2 web part by default

  1. Image WebPart
  2. Hero WebPart



So it becomes very difficult if you are creating some webpart which needs to be shown as a full width webpart.. 

Now the good news is that , it is now possible to show your custom control creating in SharePoint Framework to be shown on the full width. With just minor changes you can achieve this.

Open your webpart's manifest file and add the property "supportsFullBleed: true". This property will allow the webpart to be shown as an option in the full width.

Below is the config file where change needs to be made

As shown in the image below the webpart is shown as an option.





Happy Coding
- Sumit Kanchan

Comments

Popular posts from this blog

SharePoint Framework (SPFx) : Cascade dropdown in webpart properties

Checking user permission in SharePoint Framework (SPFx) webpart

SharePoint Image Gallery