sharepointweb-partsmanifest.jsonsharepointframework

Simply edit Sharepoint webpart manifest.json


Probably simple to solve for anyone who is convident with that.

Sharepoint 2019 > Webpart > edit manifest file

Is there a way to simply edit the manifest file to activate the full bleed support like mentioned in the Microsoft Article ? I know that there is an article series to create your own webpart, but it wasnt my intention to evolve myself to an full size web developer and install tons of software to edit a small variable =/ Simply edit this freaking manifest file from the embed-Webpart (modern experience).

If any How To's exists to open and edit (not create a complete new webpart -.-") the manifest file with visual studio or maybe a simply text editor, would be also a way, but I did not find anything.

Any help or links would be nice =/

Greetings.


Solution

  • To edit SPFX webpart manifest.json, you can use Visual Studio Code as text editor.

    Open the manifest.json under the path ..\src\webparts\webpartname and edit in VS Code Editor:

    enter image description here

    Update as we discussed:

    "if you want a built in web part full width, another workaround would be using Modern Communication Site, this site template is full width by default, so the added OOTB WebPart will also be full width without left navigation."

    "For Full Width section, yes, it's only available for specific web parts like hero, image. In this case, you can use One Column, although it's not really full width, but the communcation site have hidden the left navigation. Otherwise, you will need to create custom SPFX Web Part to enable full width."