Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2017-11-20 07:24:40 GMT <twen> good morning

2017-11-20 08:54:37 GMT *** ChanServ sets mode: +o fcorti

2017-11-20 08:56:01 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com Channel help: https://community.alfresco.com/ Official support for Enterprise subscribers: http://support.alfresco.com. Next event is Tech Talk Live #111, the 4th of December about Alfresco ADF 2.0."

2017-11-20 09:19:04 GMT <yreg> Morning

2017-11-20 09:21:02 GMT <yreg> Are the slides from friday's Office Hours available on slideshare ?

2017-11-20 09:30:28 GMT <fcorti> Morning yreg. No, but I can ask if we can put them there.

2017-11-20 09:30:41 GMT <fcorti> Do you want me to ask to Garen/Nathan?

2017-11-20 09:42:27 GMT <yreg> That would be nice

2017-11-20 09:42:29 GMT <yreg> thanks

2017-11-20 09:42:32 GMT <fcorti> deal

2017-11-20 09:59:27 GMT <yreg> angelborroy, your new blog about ML+CS is simply AWESOME !

2017-11-20 09:59:42 GMT <yreg> Great job !

2017-11-20 09:59:50 GMT <angelborroy> thanks, it has been discarded as talk for next DevCon :D

2017-11-20 09:59:59 GMT <angelborroy> so I’m sharing this way ;-)

2017-11-20 10:00:43 GMT <fcorti> I will do the same with mine. ;-)

2017-11-20 10:01:33 GMT <yreg> how many talks you got accepted :D ?

2017-11-20 10:25:42 GMT <yreg> angelborroy, the only explanation would be that you have at least one or two equally interesting talks accepted

2017-11-20 10:28:36 GMT <rusin> hi all

2017-11-20 10:30:52 GMT <rusin> i converted folder as zip through javascript, the file created like filename.acp. but the downloaded acp file contains not exact name of file i copied zip

2017-11-20 10:31:15 GMT <rusin> the filenames like content0 content1 etc.

2017-11-20 10:31:28 GMT <rusin> i followed below code:

2017-11-20 10:32:12 GMT <rusin> var node=search.findNode("workspace://SpacesStore/2e213570-105c-4d95-8023-c70c085beaef"); var newfolder=node.createFolder("newFolder"); for(var i=0;i<node.children.length;i++) { if(node.children[i].isDocument) { node.children[i].copy(newfolder); } } var zipfolder=actions.create("export"); zipfolder.parameters['store'] = "workspace://SpacesStore"; zipfolder.parameters['package-name'] = "newfolder"; zipfolder.

2017-11-20 10:32:43 GMT <rusin> zipfolder.parameters['include-children'] =true; zipfolder.parameters['include-self'] = true; zipfolder.parameters['encoding'] = "UTF-8"; zipfolder.execute(newfolder);

2017-11-20 10:43:47 GMT <angelborroy> yreg let’s wait this evening… I hope we can publish the schedule

2017-11-20 10:44:19 GMT <fcorti> angelborroy +1

2017-11-20 10:55:16 GMT <yreg> cool

2017-11-20 10:59:02 GMT *** angelborroy_ is now known as angelborroy

2017-11-20 11:16:13 GMT <Tichodroma> rusin: what do you expect?

2017-11-20 11:17:18 GMT <Tichodroma> acp is a format specific to export/import, it is not a normal ZIP file

2017-11-20 11:19:58 GMT <Tichodroma> rusin: see http://docs.alfresco.com/3.4/concepts/acp-files.html

2017-11-20 11:19:59 GMT <alfbot> Title: Alfresco Content Package files | Alfresco Documentation (at docs.alfresco.com)

2017-11-20 11:20:23 GMT <rusin> How can I create download link for folder to be downloaded as zip.

2017-11-20 11:23:16 GMT <rusin> like document guest download api

2017-11-20 11:24:01 GMT <Tichodroma> I don't think that's included in Alfresco. You could write an extension for this. If I remember correctly, we once did this.

2017-11-20 11:26:07 GMT <rusin> could you please share me that

2017-11-20 11:27:43 GMT <Tichodroma> That's easy. You need a Java WebScript that builds up a ZipOutputStream from the children of a folder.

2017-11-20 11:28:52 GMT <rusin> if could share me the sample code. i would be grateful

2017-11-20 11:32:57 GMT <Tichodroma> rusin: some snippets to get you started: https://u.lhorn.de/j9Wv

2017-11-20 11:32:59 GMT <alfbot> Title: DownloadAsZIP.java · GitHub (at gist.github.com)

2017-11-20 11:35:32 GMT <rusin> where i need to place the configuration and how

2017-11-20 11:35:50 GMT <Tichodroma> Do you know how to implement a WebScript in Java?

2017-11-20 11:36:31 GMT <rusin> yes

2017-11-20 11:37:19 GMT <Tichodroma> then you just a need to define the WS as a Spring bean. That's all configuration that is needed.

2017-11-20 12:00:57 GMT * DarkStar1 bids you all a good afternoon]

2017-11-20 12:14:14 GMT <AFaust> rusin, Tichodroma: Is the default "Download as ZIP" action not an option for this mornings question?

2017-11-20 12:43:27 GMT <douglascrp> morning guys

2017-11-20 12:49:04 GMT <DarkStar1> afternoon douglascrp :)

2017-11-20 12:58:30 GMT <rusin> Tichodroma> is it possible to work with javascript

2017-11-20 13:08:45 GMT <douglascrp> DarkStar1, how about the bpmn presentation? I forgot to ask you before

2017-11-20 13:15:34 GMT <DarkStar1> douglascrp: It went well so now I have to go ahead and start implementing all that stuff.

2017-11-20 13:15:46 GMT <douglascrp> DarkStar1, I see

2017-11-20 13:15:59 GMT <douglascrp> DarkStar1, you know... call me if you need

2017-11-20 13:16:39 GMT <DarkStar1> Tichodroma: Thats a question for the oracle. :)

2017-11-20 13:16:56 GMT <DarkStar1> douglascrp: You'll most likely regret that :)

2017-11-20 13:18:12 GMT <douglascrp> DarkStar1, uhauhauhauha

2017-11-20 13:18:14 GMT <douglascrp> no way dude

2017-11-20 13:19:51 GMT <DarkStar1> douglascrp: I've screen capped this chat for when that day comes.;)

2017-11-20 13:20:07 GMT <douglascrp> :(

2017-11-20 18:56:28 GMT <xkahn> I have a multivalued property. I'd like to find all documents with more than one value set. Is it possible?

2017-11-20 20:15:34 GMT <resplin> That's interesting.

2017-11-20 20:15:41 GMT <resplin> I'm not sure.

2017-11-20 20:16:08 GMT <resplin> If you post that question in Jive, I can ask someone. But I have to admit that I won't follow up until after Thanksgiving.

2017-11-20 20:20:58 GMT <resplin> cc xkahn (I forgot to send a notification)

2017-11-20 20:21:30 GMT <xkahn> resplin: okay. Will do.

2017-11-20 20:21:46 GMT <xkahn> resplin: repository alignments SUCK

2017-11-20 20:33:29 GMT <resplin> xkahn: What do you mean by repository alignments?

2017-11-20 20:34:37 GMT <xkahn> resplin: Two repositories (in this case in different products) need to have the same metadata with any documents in common.

2017-11-20 20:35:35 GMT <xkahn> In this case, the other repository has a single property for product and a SECOND multivarient property which contains any additional products associated.

2017-11-20 20:35:44 GMT <xkahn> In order to get a "primary" product

2017-11-20 20:36:43 GMT <xkahn> I just have a single multivariate property for product

2017-11-20 20:37:00 GMT <xkahn> So step one is to identify all the documents that have more than one value

2017-11-20 21:00:02 GMT <xkahn> resplin: https://community.alfresco.com/message/824229-how-do-i-find-all-the-documents-with-multiple-values-in-a-property

2017-11-20 21:00:04 GMT <alfbot> Title: How do I find all the documents with multiple v... | Alfresco Community (at community.alfresco.com)

2017-11-20 21:00:09 GMT <xkahn> resplin: hopefully the question makes sense. :)

2017-11-20 21:00:57 GMT <xkahn> A coworker said there may be "a way using FQ and caching the result"

2017-11-20 21:01:14 GMT * xkahn forgot that dave_largo used Alfresco as well

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco