cancel
Showing results for 
Search instead for 
Did you mean: 

Missing config in app.config.json for custom menu

danny36
Champ on-the-rise
Champ on-the-rise

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 3

dvuika
Star Collaborator
Star Collaborator

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

danny36
Champ on-the-rise
Champ on-the-rise

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
Star Contributor
Star Contributor

@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"
          }