Faceted-Search | Download As Zip For Multi-selected items

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
m_scapoli
Member II

Faceted-Search | Download As Zip For Multi-selected items

Hi everybody, after my past degree thesis add-on "Alfresco Versions Difference Plugin" I'm returned to develop a little project on Alfresco for a customer.

The customer has Alfresco 5.0.0 and I'm working on 5.0.1 Enterprise, what I'm trying to reach is something like a way to mass download the search results that are presented in the faceted-search page.

I've followed the following cases but without result:

https://github.com/Alfresco/Aikau/issues/688

https://issues.alfresco.com/jira/browse/AKU-532

the second one in particular seems to be what I need but what I've discovered is that when he say: "pushing the following widget model into the VerticalWidgets widget with the id FCTSRCH_SEARCH_RESULTS_AREA" I've discovered that in Alfresco 5.0.1 Enterprise edition that particular VerticalWidgets has no id in my version of Alfresco.
(also I cannot select this widget also using
widgetUtils.findObject(model.jsonModel, "name", "alfresco/menus/alfresco/layout/VerticalWidgets");
because in this page there's at least 5 of them)

My doubt is that all this cases are too recent for my environment and that the changes made in the following versions of Alfresco are not present in my case..
So I think could be impossible to me to accomplish the feature without installing the new version of Alfresco because the necessary changes to the Aikau source code are not present and I cannot use the
ALF_DOWNLOAD_AS_ZIP
or similar changes that I've saw in the JIRA history related on this page.

Thank you in advance for the help.
4 Replies
m_scapoli
Member II

Re: Faceted-Search | Download As Zip For Multi-selected items

no one have a response?
m_scapoli
Member II

Re: Faceted-Search | Download As Zip For Multi-selected items

up
hiten_rastogi1
Active Member II

Re: Faceted-Search | Download As Zip For Multi-selected items

Hi M_scapoli,

Were you able to achieve this functionality ?? I am looking for something similar to this. Please let me know.

Thanks
Hiten Rastogi
ddraper
Intermediate

Re: Faceted-Search | Download As Zip For Multi-selected items

The key mistake you're making in following the steps from AKU-532 is that you're trying to find a widget by the "name" attribute... the name is just the name of the module, you should be looking for the "id" as described in the AKU-532 as we have ensured that each widget has a unique ID on the search page for this exact reason.

Also, you don't need to use a later version of Alfresco - you just need to use a newer version of Aikau, see this blog post for an example of how to upgrade Aikau in Alfresco.