As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
All the Angular2 based Alfresco web components can be found in the following GitHub project:https://github.com/Alfresco/alfresco-ng2-components
Each component, such as the datatable, has its own sample that demonstrates the use of it.
Description: The datatable component can be used to display arbitrary data in a table:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-datatable
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-datatable
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-datatable/demo
How to run sample (note. does not require the Alfresco server to be running):
Alternative way to build and start demo (step 3-4) if above instructions does not work (sudo might be needed on linux):
Description: The document list component can be used to display content node metadata in a list. Each row in the list has a number of columns representing a content node’s metadata:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-documentlist
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-documentlist
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-documentlist/demo
How to run sample:
Alternative way to build and start demo (step 5-6) if above instructions does not work (sudo might be needed on linux):
Description: The login component is used to provide an Alfresco Platform login dialog:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-login
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-login
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-login/demo
Description: The search component is actually two components: Search Control, which displays a search box where the user can enter a query, and Search Result, which displays the search result from that query.
Instant search via Search Control:
Search Result screen:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-search
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-search
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-search/demo
Description: The upload component can be used to provide a button for a file upload dialog. It actually consist of two components: Upload Button and Drag and Drop, depending on what the user prefers and what you want to provide:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-upload
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-upload
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-upload/demo
Description: The viewer component provides file previews:
Detailed component information: http://devproducts.alfresco.com/components/ng2-alfresco-viewer
Component source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-viewer
Sample/Demo source code: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-viewer/demo