Alfresco Angular components ( Documentation -> https://alfresco.github.io/adf-component-catalog )
I am playing with Alfresco Content Application. I am wondering how to add a new entry in side navigation. I follow the intruction in https://alfresco-content-app.netlify.app/#/getting-started/navigation where I created a new component. According to the doc, I have also to add the link entry in app.config.json like
{
...,
"navigation": [
"main": [ ... ],
"secondary": [ ... ],
"custom": [
{
"icon": "work",
"label": "Link",
"title": "My custom link",
"route": {
"url": "/test-page"
}
}
]
]
}
But somehow the new entry is still not displayed in side navigation, what could be wrong?
is the ACA documentation still up to date? because I don't see the "navigation" in app.config.json.
I also don't quite understand what to write in "main": [ ... ] and "secondary": [ ... ], can I just remove it?
I am trying now to add a new item in app.extensions-json, but it doesn't work. Here is the code:
"create": [
{
"id": "app.task-create",
"order": 50,
"icon": "",
"title": "Create Task",
"description": "Create Task",
"actions": {
"type": "NAVIGATE_URL",
"payload": "/task-create"
}
},
...
I though if I click it, it will go to the link "/task-create", but it doesn't do anything
Hi @DenysVuika , actually I tried it also with "click" like following:
"create": [
{
"id": "app.task-create",
"order": 5
"icon": "",
"title": "Create Task",
"description": "Create Task",
"actions": {
"click": "/task-create"
}
},
But it doesn't work (with ''/task-create' or just 'task-create').
I tried using "type": "NAVIGATE_URL", and "payload": "/task-create" because I followed the
documentation about Actions: https://alfresco-content-app.netlify.app/#/extending/actions.
What it works in my case is I put the new item not under "create" but under "navbar" as follow:
"navbar": [
{
"id": "app.navbar.primary",
"items": [
{
"id": "app.task-create",
"order": 75,
"icon": "folder",
"title": "Create Task",
"description": "Create a new Task",
"route": "task-create"
},
...
But, I would like to have the task-create also under "create". Thanks
Can someone please help on this query
Hi All,
I have a question about the multi line text field in APS. Namely, when the APS form is rendered in ADF, in older versions of ADF (3.x), the rows property of the text area would initially be set to 1 (rows="1"), and the field would add additional row as needed, when the user types. In ADF 4.1, the behavior remains the same, but the rows property is initially set to 3 (rows="3"). Is there a way to set the rows property to 1, so the field does not appear with 3 empty rows when there is no text entered?