These release notes provide information for the 1.9.0 release of Alfresco Application Development Framework.
This is the next Limited Available release of Application Development Framework, containing the Angular components to build a Web Application on top of the Alfresco Services.
The release can be found on GitHub at this link.
In the ADF 1.9 release we've enhanced a number of components, such as Document List, Viewer and Breadcrumbs. We continue the effort to migrate to @angular/material, only a few more components remain until we are fully switched to Angular Material Design. Again in this release we have enhanced the accessibility and we have started to consolidate, streamline and enhance our documentation. Before everything was inside the individual README.md files, this has now been pulled out into a separate directory, and a new Doc Index to help navigate it.
This is the last LA release, we are targeting ADF 2.0 by the end of November at which point it will become General Available and fully supported by Alfresco. As part of this effort we have increased the efforts on resolving bugs and stabilisation.
This release builds on last month's contains bug fixes and the new features. See the list below for major details.
Please report issues with this release in the issue tracker. You can collaborate on this release or share feedback by using the discussion tools on gitter.
Below the most relevant features of this release:
The document list now provides two different way to paginate the results the normal pagination or the infinite scrolling.
In order to enable this feature, you need to specify the paginationStrategy properties 'Infinite'. The infinite scrolling is also now used as default in the object picker component
The requeue feature has been added into the ADF 1.9.0. This means that after a task has been claimed by the user, the user will see a button Requeue to un-claim the task.
With the latest code, the tasklist component exposes the multiselect property. If the value is true a checkbox is rendered at the beginning of each row. In this way, the user can select more than one row.
<adf-tasklist
[multiselect]="true"
[appId]="'1'"
[state]="'open'"
[assignment]="'assignee'">
</adf-tasklist>
This is the result:
The component also provides a new event rowSelected that contains all the selected rows:
<adf-tasklist
[appId]="'1'"
[state]="'open'"
[assignment]="'assignee'"
(rowsSelected)="console.log($event)">
</adf-tasklist>
The 1.9.0 version features a new service "PageTitleService" in the "ng2-alfresco-core" package. This service allows changing the title of the page (browser tab) on demand from the code. The format of the title is always "<Application Name> - <Title>" where "<Application Name>" is taken from the application configuration file:
{
"application": {
"name": "Alfresco ADF Appplication"
}
}
Viewer component has been updated with improved UI and support for integration with Angular Router.
The major features and improvements are:
It is now possible to store layouts for Document List in the global application configuration file ("app.config.json") for default mode or special aliases like "-trashcan-", "-favorites-", etc. The DocumentList component automatically falls back to the defaults if no customizations are present.
{
...,
"document-list": {
"supportedPageSizes": [5, 10, 15, 20],
"presets": {
"-trashcan-": [
{
"key": "$thumbnail",
"type": "image",
"srTitle": "ADF-DOCUMENT-LIST.LAYOUT.THUMBNAIL",
"sortable": false
},
{
"key": "name",
"type": "text",
"title": "ADF-DOCUMENT-LIST.LAYOUT.NAME",
"cssClass": "full-width ellipsis-cell",
"sortable": true
},
{
"key": "path",
"type": "location",
"title": "ADF-DOCUMENT-LIST.LAYOUT.LOCATION",
"format": "/files",
"sortable": true
},
{
"key": "content.sizeInBytes",
"type": "fileSize",
"title": "ADF-DOCUMENT-LIST.LAYOUT.SIZE",
"sortable": true
},
{
"key": "archivedAt",
"type": "date",
"title": "ADF-DOCUMENT-LIST.LAYOUT.DELETED_ON",
"format": "timeAgo",
"sortable": true
},
{
"key": "archivedByUser.displayName",
"type": "text",
"title": "ADF-DOCUMENT-LIST.LAYOUT.DELETED_BY",
"sortable": true
}
],
"default": [
...
]
}
}
}
The Login component provides a new "successRoute" property as a way to automatically redirect the user to the particular application route upon successful sign in.
<adf-login successRoute="/dashboard" ...></adf-login>
You can turn any clickable HTML element or other Angular Component into a Logout feature. ADF provides a new "adf-logout" directive to help you building application menus or toolbar buttons that sign the user out:
<button adf-logout>Log out</button>
The Breadcrumb component exposes a new "rootId" property to allow you restricting the root element to a particular node. Component automatically trims the elements if full node path needs to be cut. You can use this together with the "root" property that allows renaming the root (first) element of the path.
<adf-breadcrumb root="Personal Files" rootId="<GUID>" ...></adf-breadcrumb>
All the documentation was inside the individual README.md files of any components, this has now been pulled out into a separate directory, and a new Doc Index to help navigate it.
Below you can find a brief list of references to help you start to use the new release.
Official GitHub Project - alfresco-ng2-components
Getting started guides with Alfresco Application Development Framework
Gitter chat supporting Alfresco ADF
Please refer to the official documentation for further details and suggestions.
Below you can find a detailed list of tickets addressed in the new release. For a better understanding, the list is grouped by topic.
Release Notes - Apps Development Framework - Version 1.9.0
Please refer to the Alfresco issue tracker for other known issues in this release. If you have more questions, please reply here or contact us using gitter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Blog posts and updates about Application Development Framework (ADF).
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.