Alfresco Application Development Framework, version 2.2.0 Release Note
These release notes provide information for the 2.2.0 release of the Alfresco Application Development Framework.
This a General Available release of the Application Development Framework, which contains the Angular components to build a Web Application on top of the Alfresco Platform.
The release can be found on GitHub at this link.
In this release we have focused on enhancing existing components, such as the Viewer which now supports thumbnails, previewing images and enhanced configuration. The Data Table and Document List have added initial support for a card and gallery view and forms now have a date time widget. See all the new features below.
We continue to keep a balance between improving existing components, adding new ones, and also improving the underlying architecture to prepare for future components such as faceted search.
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.
Notable new features
Below are the most important new features of this release:
The data table and the document list are now able to render in different formats. If you want to enable the gallery view mode you need to assign the string 'gallery' to the display input parameter [cardview]:
Besides the aspect oriented configuration, it is now possible to configure the groups and properties in a more detailed way. With this type of configuration any property of any aspect / type can be "cherry picked" and grouped into an accordion drawer, while defining a translatable title in the preset configuration.
This improvement was a proposed solution to a community-raised issue regarding the usage of the component.
For more info about the original issue, see the link below:
To help developers configure the application in a more error-proof way, the app.config.json file now has a schema validator. This schema is part of the core package and will be inside the Yeoman-generated application from now on, by default. Every time a component gets an update which involves using the app.config, the schema will be updated to the new interface to validate the configuration file.
Customize form outcomes styles
If you want to customize the outcomes style of your form you can do so using plain CSS selectors. Any outcome has an Id that is composed in the following way:
adf-form-YOUR_OUTCAME_NAME
Using the CSS you can target any outcome ID and change the style as in this example:
In this release, the Viewer component has received the following set of improvements and enhancements:
Thumbnails for PDF view, with the option to provide your own Thumbnails template if needed
Image view now features a floating action toolbar with extra actions: zoom in/out, rotate, reset to default size
Image view now supports panning of the images. Hardware-accelerated styles were used to enable panning of zoomed in or large images with the highest performance and efficiency
Support for "carousel" modes and document navigation options (extra buttons you can enable and provide handlers for). This feature will be fully demonstrated in the upcoming "Alfresco Content Application" release.
For the current release, the Destination Picker UI has been greatly improved.
Login Enhancements
the authentication status is now correctly resolved for scenarios where the "remember me" feature is switched off
it is now possible to use Login in scenarios where Cookies are not allowed or available (Electron desktop wrappers)
Process Pagination - There is no way to paginate the result
With ADF 2.2.0 the processes list result are easy to paginate. You just need to pass the process list reference #processList as target of the pagination component
App list - The component shows No Apps found until all the apps are loaded
With ADF 2.2.0, the app list component is shows the mat-spinner until the apps are loaded.
Task Header - Make it customizable from the config file
You can decide which properties the Task header component should render from the app.config.json file. By default, the component will render all the available properties. You can restrict those by changing app.config.json.
For instance, in this example, I would like to show the id, priority, parentName, and status.
Process List - Provide a way to support custom html template and static columns at same time
As with the Task List, now you can create your own process list with static and dynamic columns.
You can declare the static columns that your process list should show from the "app.config.json" file using custom presets.
We have added the new date time widget provided with APS 1.7.
This widget lets you choose the date and the time in the format given by the APS form.
Form Upload Widget Actions menu
We have added a new menu for actions to perform on the Upload widget.
We have provided 3 actions for each file added: Show, Remove and Download.
Clicking on the Show button will trigger the viewer to open with the given document.
Clicking on the Download button will allow you to download the selected file.
Clicking on the Remove button will remove the file from the Upload widget value.
Search custom empty template
We enhanced the search control component by adding the option of customizing the template shown when no result is found via the tag adf-empty-search-result.
[ADF-2175] - Document List requests are executed twice when opening the copy/move dialog
[ADF-2176] - CLONE - [Destination picker] File Libraries are not displayed
[ADF-2187] - 'Involve people' into task component don't have the proper color in dark themes
[ADF-2199] - Visibility of items dependent on a radio button list not showing on completed tasks
[ADF-2215] - Comments are not ordered by 'Created by' column
[ADF-2225] - [Form component] In a task form the complete button stays disabled if hidden mandatory fields are emptyIn a task form the complete button stays disabled if hidden mandatory fields are empty
[ADF-2231] - Moment.js library needs to be updated to fix security issues
[ADF-2267] - [Login Component] Password field autocomplete
[ADF-2293] - Ripristinate the loading in the generator/ demo shell
[ADF-2307] - Add a data-automation-id tag for Process Services navigation bar.
[ADF-2354] - Paginator Component - Add an unique id to the overlay menu
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.
We use cookies on this site to enhance your user experience
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.