cancel
Showing results for 
Search instead for 
Did you mean: 

create form through Aikau to get all the folder under the companyhome and display in the AlfListView

prakasht
Champ in-the-making
Champ in-the-making

i am new in alfresco ,i want all the folder name  under company home and display in another form in alfList(dropdown) (Aikau). how can i do this ????

Thanks in advance!!!!

2 REPLIES 2

redraccoon
Star Contributor
Star Contributor

you create an alfList

like this

Aikau Sandpit 

and instead of the widget "name": "alfresco/lists/views/HtmlListView"

you put a crudService widget with all of your folder inside company home

JSDoc: Source: services/CrudService.js 

and for display your informations you have to use rows and cells

Aikau/Tutorial6.md at master · Alfresco/Aikau · GitHub 

ddraper
World-Class Innovator
World-Class Innovator

The question isn't completely clear (particularly regarding what you want to display the form as a drop-down?), however to add to RedRaccoon _‌'s answer you may want to look at importing the the library file provided for building Document Library content. This import file is discussed and demonstrated in the following blog posts:

As a general rule I wouldn't recommend using the CrudService for all lists as it shouldn't be used when there is a more specific service that can handle data retrieval - which in this case would be the DocumentService.

There are some Document Library specific views available to use (such as AlfSimpleView, AlfDetailedViewAlfTableView, AlfFilmStripView and AlfGalleryView) or you can build your own view by configuring the AlfListView - examples are shown in the Aikau tutorial on GitHub as recommended by ‌.

If you can describe your use case in more detail (for example step through the user interaction) then I will be able to provide more support with regards to the forms and drop-downs that you've referred to in your question.