Hi all, I'm trying to use aikau widgets to develop a new page containing
- alfresco/documentlibrary/AlfDocumentList use to display specific node properties - alfresco/documentlibrary/AlfDocumentFilters to filter displayed properties
Filter is publishing a configured value on ALF_DOCLIST_FILTER_SELECTION topic when selected, but I don't know how to configure filters to interact with AlfDocumentList or view.
It's important to understand that the the filters that are used will correspond to filters provided by the REST API provided by the server and that no filtering is not done on the client. The (work in progress) doclib.lib.js library file for building custom Document Libraries in Aikau (https://github.com/Alfresco/Aikau/blob/master/aikau/src/main/resources/webscript-libs/doclib/doclib....) provides an example of how filters can be used. The "alfresco/services/DocumentService" onRetrieveDocumentsRequest function will apply any filters in a request to load documents by including the "?filter=" request parameter in the URL. You can use lists and filters with any suitable REST API but filtering will only work if that API supports them.
If you want to filter documents, you should follow Dave instructions. If you want to filter a custom list on client side, you can use visibilityConfig/invisibilityConfig config on rows.