Umbraco 16 Custom Section

Hi!

I’m trying to create a simple empty custom section in Umbraco 16, but nothing seems to work.

I’ve created a folder inside App_Plugins “MySection”, with the following package.manifest file in it

{
“type”: “section”,
“alias”: “Products.Import”,
“name”: “Products Import”,
“meta”: {
“label”: “Products.Import”,
“pathname”: “products-import”
}
}

then i start Umbraco Backoffice, trying to add this section to my usergroup, but my list of sections never shows me this voice. I’m totally stuck.

Thank you.

I think it’s a good idea to go back to the documentation and start at the beginning :slight_smile:

First thing to note is that Umbraco uses a file called umbraco-package.json. It’s no longer a package.manifest file.

Second, in that documentation you can see that you need to actually supply more information in the umbraco-package.json. Your configuration needs to be wrapped in an extensions array for example.

1 Like

Thank you. This really solved my problem.