Missing config in app.config.json for custom menu

cancel
Showing results for 
Search instead for 
Did you mean: 
danny36
Active Member

Missing config in app.config.json for custom menu

Hello,

I'm following this tutorial https://alfresco-content-app.netlify.app/#/getting-started/navigation and I read "In the app.config.json define a link entry which will point to the custom page" but in https://github.com/Alfresco/alfresco-content-app in the file app.config.json there isn't any "navigation" property.

3 Replies
dvuika
Alfresco Employee

Re: Missing config in app.config.json for custom menu

I think there's a mistake in the tutorial, and the file should be "app.extensions.json"

danny36
Active Member

Re: Missing config in app.config.json for custom menu

do you mean the file inside /src/assets folder? in this file there isn't a "navigation" property, there is "navbar" but the syntax is different from tutorial, therefore it is difficult to understand how to add an item to the menu.

there is an updated guide?

KarekMedAM
Active Member II

Re: Missing config in app.config.json for custom menu

@dvuika is right. It seems that the tutorial is wrong, I faced the same problem as you.

navigate to app.extensions.json and in the navbar section add the following code:

    {
            "id": "app.navbar.custom-page",
            "order": 400,
            "icon": "description",
            "title": "Custom Page",
            "description": "Custom Page Description",
            "route": "custom"
          }