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-06-14 05:20:03 GMT <bhuvana_> hi all

2017-06-14 05:20:58 GMT <bhuvana_> how to do taskdone action in alfresco workflow using javascript

2017-06-14 06:12:16 GMT *** yreg is now known as Guest37889

2017-06-14 06:23:20 GMT <Guest37889> Morning everyone !

2017-06-14 06:23:56 GMT <Guest37889> does anyone know of a bug in 5.1.x regarding mimetypes changes ?

2017-06-14 07:47:33 GMT <bhuvana_> hi all

2017-06-14 07:49:56 GMT <bhuvana_> comment of previous task is not showing in next task

2017-06-14 07:57:01 GMT <angelborroy> bhuvana_ this is default behaviour

2017-06-14 07:59:11 GMT <angelborroy> bhuvana_ there are different improvement requests for workflow integration in Alfresco Share (https://issues.alfresco.com/jira/browse/MNT-11122, https://issues.alfresco.com/jira/browse/MNT-14080 …)

2017-06-14 07:59:40 GMT <angelborroy> bhuvana_ But it looks that they are going to be definitively closed and discarded

2017-06-14 09:37:02 GMT <fwu> hi all!

2017-06-14 09:54:03 GMT <qwebirc58689> Hi Guys Adding aikau jar dependency to share amp gave compilation errors for apache commons logging package (saying the package does not exist, I did not include its dependency though) If I don not include aikau jar dependency the amp build runs sucessfully

2017-06-14 09:55:16 GMT <fwu> ppl I have tis in my alfresco global properties:

2017-06-14 09:55:25 GMT <fwu> ooo.exe=C:/Alfresco2/libreoffice/App/libreoffice/program/soffice.exe ooo.enabled=true ooo.port=8100

2017-06-14 09:55:38 GMT <fwu> what is this used for?

2017-06-14 10:16:41 GMT <fwu> ok, I found an answer from AFaust about this. However, I still have a question regarding transformations: if I have transformation activated like it seems they are, when transformations will be trigger? Only when I explicitly invoke them (with a rule, for instance) or they will be automatically trigger as soon as a specific document type is uploaded to the repository?

2017-06-14 10:18:15 GMT <angelborroy> fwu automatically

2017-06-14 10:18:27 GMT <angelborroy> doclib and pdf

2017-06-14 10:19:11 GMT <angelborroy> the rest when you invoke the transformation

2017-06-14 10:19:27 GMT <fwu> angelborroy, but where is that configured?

2017-06-14 10:20:09 GMT <fwu> and what that means pdf is transformed automatically? Is converted to what?

2017-06-14 10:20:43 GMT <angelborroy> rendition service

2017-06-14 10:21:16 GMT <angelborroy> both doclib and pdf transformations are configured in order to provide Share web app with thumbnails and pdf preview

2017-06-14 10:21:34 GMT <angelborroy> so everytime you upload a file, both transformations are fired

2017-06-14 10:21:58 GMT <fwu> ok, I forgot the thumbnails and the previwes!

2017-06-14 10:22:44 GMT <fwu> does that means that for each uploadded document I will have a node pointing to a file plus a thumbnail and a converted file?

2017-06-14 10:23:25 GMT <angelborroy> yep

2017-06-14 10:23:35 GMT <angelborroy> they are technically children of the original file

2017-06-14 10:24:07 GMT <fwu> and the converted preview is of waht format? any image format?

2017-06-14 10:26:49 GMT <angelborroy> png by default

2017-06-14 10:28:09 GMT <fwu> angelborroy, and where this configuration is set?

2017-06-14 10:28:38 GMT <fwu> so the viewer actually previews png files...

2017-06-14 10:29:00 GMT <angelborroy> the viewer preview PDF files

2017-06-14 10:29:09 GMT <angelborroy> the thumbnail in document list is a PNG

2017-06-14 10:30:20 GMT <fwu> ok, then all other formats are transformed in PDF files for previewing and a thumnail is also created for document listing. Is that right?

2017-06-14 10:30:37 GMT <angelborroy> right

2017-06-14 10:31:41 GMT <fwu> so if I disable both converters I will not get preview of documents different of PDF files

2017-06-14 10:32:02 GMT <angelborroy> right again

2017-06-14 10:32:08 GMT <fwu> and I believe this is configured here: transformers.properties

2017-06-14 10:32:18 GMT <angelborroy> not really

2017-06-14 10:32:35 GMT <angelborroy> disabling thumbnail service

2017-06-14 10:32:38 GMT <angelborroy> system.thumbnail.generate=false

2017-06-14 10:33:02 GMT <fwu> where? in alfresco global properties?

2017-06-14 10:33:06 GMT <angelborroy> yep

2017-06-14 10:33:36 GMT <fwu> and the pdf conversion for preview?

2017-06-14 10:33:43 GMT <angelborroy> I’m looking for it

2017-06-14 10:33:47 GMT <angelborroy> I can’t remember

2017-06-14 10:34:28 GMT <angelborroy> yep

2017-06-14 10:34:33 GMT <angelborroy> is in the share part

2017-06-14 10:34:36 GMT <angelborroy> share-config-custom

2017-06-14 10:34:59 GMT <angelborroy> find it at slide 4: https://www.slideshare.net/LuisCabaceira/alfresco-tuning-part1-54221871

2017-06-14 10:35:00 GMT <alfbot> Title: Alfresco tuning part1 (at www.slideshare.net)

2017-06-14 10:35:32 GMT <angelborroy> so thumbnails are generated by repo (automatically) but PDFs are generated by share

2017-06-14 10:36:31 GMT <fwu> angelborroy, a big thank you!

2017-06-14 10:36:39 GMT <angelborroy> you’re welcome

2017-06-14 10:36:51 GMT <bhuvana_> hi i am unable to sync AD with community

2017-06-14 10:37:04 GMT <bhuvana_> but same is working in alfrescoone

2017-06-14 10:37:13 GMT <bhuvana_> this is my configuration...

2017-06-14 10:37:45 GMT <bhuvana_> ###Ldap#### authentication.chain=ldap-ad1:ldap-ad,alfrescoNtlm1:alfrescoNtlm ntlm.authentication.sso.enabled=false ldap.authentication.active=true ldap.authentication.userNameFormat=%s@powergrid.com ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory ldap.authentication.java.naming.provider.url=ldap:// ldap.authentication.java.naming.security.authentication=simple ldap.authentication.

2017-06-14 10:39:33 GMT <bhuvana_> please find the configuration file https://pastebin.com/1kdq7RVa

2017-06-14 10:39:34 GMT <alfbot> Title: ###Ldap#### authentication.chain=ldap-ad1:ldap-ad,alfrescoNtlm1:alfrescoNtlm - Pastebin.com (at pastebin.com)

2017-06-14 10:54:29 GMT <fwu> ppl, Alfresco supports nested security groups, right? But I cant create nested groups in alfresco community in a visual way, right?

2017-06-14 12:15:47 GMT <mtsiak> hi all. for syncing alfresco and drupal, CMIS API module is recommended?

2017-06-14 12:33:19 GMT <angelborroy> mtsiak I don’t think so

2017-06-14 12:33:40 GMT <angelborroy> that module was developed for an old Alfresco release

2017-06-14 12:33:55 GMT <angelborroy> mtsiak it’s not working with Alfresco 5.x

2017-06-14 12:36:02 GMT <mtsiak> we test it with 5.0 works. Fixed a syncing error, caused by https://www.drupal.org/node/2442141

2017-06-14 12:36:07 GMT <angelborroy> yep

2017-06-14 12:36:20 GMT <angelborroy> I’m seeing that it has been updated in the last years

2017-06-14 12:36:25 GMT <angelborroy> so it should work

2017-06-14 12:36:26 GMT <mtsiak> yep...

2017-06-14 12:37:02 GMT <angelborroy> it’s just a PHP CMIS client based in Apache Chemistry

2017-06-14 12:38:15 GMT <mtsiak> i remember the presentation of the zaragoza univercity. what module did they used?

2017-06-14 12:38:21 GMT <mtsiak> yes.

2017-06-14 12:38:44 GMT <angelborroy> they used that module with some patches

2017-06-14 12:38:59 GMT <angelborroy> probably you can contact José Antonio Gutiérrez for further details

2017-06-14 12:39:17 GMT <mtsiak> ok. nice. will do that.

2017-06-14 12:40:10 GMT <mtsiak> we will test the syncing processes, but it is good to take some feedback.

2017-06-14 12:40:13 GMT <mtsiak> thanks.

2017-06-14 12:43:00 GMT <mtsiak> about, esing cert. i left it for now. dont know how to call the sign action from the workflow taks (i.e. added in the package item group).

2017-06-14 12:43:30 GMT <mtsiak> but i you have any ideas left, i could give them a try.

2017-06-14 12:43:37 GMT <mtsiak> :(

2017-06-14 12:43:47 GMT <angelborroy> sure, let me find some time for it

2017-06-14 12:44:05 GMT <mtsiak> ok. thanks.

2017-06-14 12:44:43 GMT <IanW1> fwu: https://issues.alfresco.com/jira/browse/ACE-5679

2017-06-14 13:18:33 GMT <fwu> IanW1, thank you, but that doesnt seems related with my question! Im not searching for a bug but for a feature that I believe it is not in share, am I right?

2017-06-14 13:24:58 GMT <IanW1> fwu: Just pointing out that if you use nested groups you might have problems.... - you can create subgroups - select a group, then click on the + above the list of members

2017-06-14 13:29:09 GMT <fwu> IanW1, let me try that

2017-06-14 13:30:03 GMT <fwu> IanW1, you are right, thank you!

2017-06-14 13:30:13 GMT <fwu> I never tried that... select a group.... hehhee

2017-06-14 13:31:54 GMT <fwu> ok, regarding the bug also,

2017-06-14 13:31:58 GMT <fwu> many thanks

2017-06-14 13:32:56 GMT <fwu> ppl, im playing here with transformations. I found the webpreview node/file for a document and downloaded. What is the format of this file?

2017-06-14 13:35:04 GMT <fwu> wow, it is a swf file

2017-06-14 13:35:34 GMT <fwu> now I understand why there is so much references to flash

2017-06-14 13:36:19 GMT <fwu> but now I dont understand how the current browsers can load this. I beleive the viewer can load swf files but is not using flash right?

2017-06-14 13:36:38 GMT <fwu> because if so, I would have permission problems in most browsers

2017-06-14 13:38:47 GMT <fwu> actually it is a flash player. I can see that right clicking on it.

2017-06-14 13:41:01 GMT <fwu> strange, chrome is still supporting flash, so I see the viewer in a nice way

2017-06-14 13:41:55 GMT <fwu> but in firefox I can see only one page of the document and I dont see the viewer tools menu. SO in firefox, the player is being replaced by any other thing. Maybe n html5 object?

2017-06-14 13:51:59 GMT <fwu> ppl, if all documents are converted this way: source -> pdf -> flash and if there is a growing lack of support for loading swf files on browsers, shuldnt alfresco stop in hte second conversion (to PDF), and show the PDF file?

2017-06-14 13:54:01 GMT <fwu> and if pdf is an issue in some browsers (but I believe most has internal support), then why not to use pdf.js, for instance?

2017-06-14 13:54:05 GMT <fcorti> Hi all, in 7 minutes Tech Talk Live 106 will happen here:

2017-06-14 13:54:06 GMT <fcorti> https://youtu.be/Zz50eJKCuNA

2017-06-14 13:54:23 GMT <fwu> fcorti, great. thanks!

2017-06-14 13:54:41 GMT <fcorti> Today we will introduce the Digital Business Platform with Content & Search for beginners and newbies.

2017-06-14 13:54:55 GMT <fcorti> Sorry fwu to interrupt your thread :-)

2017-06-14 13:55:11 GMT <fwu> haha no problem. Im there now!

2017-06-14 14:00:05 GMT <bmejias> hi all.

2017-06-14 14:00:31 GMT <bmejias> I'm going to rush and grab my coffee to be ready to enjoy angelborroy's TTL

2017-06-14 14:02:31 GMT <fcorti> waiting for you :-)

2017-06-14 14:05:12 GMT <bmejias> nice idea about the 3-5 tutorials

2017-06-14 14:05:25 GMT <bmejias> I hope the community will jump on that

2017-06-14 14:05:58 GMT <bmejias> newbies sounded like new bees when fcorti said it :D

2017-06-14 14:06:21 GMT <kgastaldo> @bmejias - Me too for the videos. They're one of the more popular resources - but we could use a ton more

2017-06-14 14:06:50 GMT <bmejias> it also forces to create content that is actually working...

2017-06-14 14:07:17 GMT <bmejias> sometimes written instructions can miss one instruction and then the whole procedure breaks

2017-06-14 14:09:39 GMT <kgastaldo> Good point

2017-06-14 14:13:03 GMT <kgastaldo> So sad you can't see @fcorti's hands going wild ;)

2017-06-14 14:13:32 GMT <bmejias> hahaha

2017-06-14 14:13:43 GMT <bmejias> I can imagine that

2017-06-14 14:14:04 GMT <bmejias> kgastaldo you should screencast that for the "behind the scenes" series

2017-06-14 14:14:23 GMT <bmejias> also, some of the awkward silences right before going live

2017-06-14 14:15:30 GMT <kgastaldo> Gah! I can never time it right. You hit the button and then it takes a few seconds. Awkward silence or I start too soon.

2017-06-14 14:16:16 GMT <bmejias> yes, but even before we can see it... when it's 2 minutes before starting

2017-06-14 14:16:46 GMT <fcorti> kgastaldo, bmejias, next time I'll point another camera on my hands... and we will call Alfresco hands-moving presentation

2017-06-14 14:16:50 GMT <bmejias> ah, the inbound email protocol... never really understood how to use that.

2017-06-14 14:17:17 GMT * AFaust is annoyed that all this dirty Activiti Angular hacking has made him forget about TTL

2017-06-14 14:18:03 GMT <bmejias> fcorti good idea. You can call that camera "Italian subtitles" or "Italian support communication material"

2017-06-14 14:18:14 GMT <kgastaldo> "italian sign language"

2017-06-14 14:18:26 GMT <bmejias> yeah, that's more accurate

2017-06-14 14:18:44 GMT <bmejias> angel, the font is too small

2017-06-14 14:18:45 GMT <fcorti> at end... I'll launch a pizza on the screen.. weird

2017-06-14 14:18:52 GMT <kgastaldo> @afaust - Does that mean we can't ask you to host a TTL on Activiti?

2017-06-14 14:19:34 GMT <kgastaldo> We'll have the slides online after the event as well

2017-06-14 14:19:44 GMT <fcorti> https://www.slideshare.net/FrancescoCorti/tech-talk-live-106-introduction-to-the-alfresco-digital-business-platform-content-search

2017-06-14 14:19:45 GMT <alfbot> Title: Tech Talk Live 106 - Introduction to the Alfresco Digital Business Pl… (at www.slideshare.net)

2017-06-14 14:20:30 GMT <bmejias> ok, thanks for those slides

2017-06-14 14:20:30 GMT <AFaust> kgastaldo: If you are not afraid of an MA content rating...

2017-06-14 14:21:35 GMT <AFaust> I still have a long way to go to understand how to develop with Activiti without Activiti getting in your way every 5 minutes...

2017-06-14 14:22:19 GMT <AFaust> Disclaimer: I am obviously not doing the "beaten path" development with Activiti...

2017-06-14 14:24:28 GMT <AFaust> fwu: Concerning your question re previews. Alfresco is already using PDF.js...

2017-06-14 14:25:54 GMT <AFaust> And Alfresco will not convert documents to Flash at all since the introduction of PDF.js unless you configure the Flash previewer to have a higher priority...

2017-06-14 14:34:13 GMT <AFaust> "Version cannot be removed" - Well... that is deceptively simplified.

2017-06-14 14:41:00 GMT <bmejias> hehehe

2017-06-14 14:47:53 GMT <AFaust> Did he just say "Lucene syntax"?

2017-06-14 14:48:01 GMT * AFaust runs around screaming....

2017-06-14 14:48:14 GMT <AFaust> Never tell people they can use the Lucene syntax. FTS / CMIS only...

2017-06-14 14:48:56 GMT <AFaust> ^^ Those receive best support from engineering during development and only those support DB query...

2017-06-14 14:51:05 GMT <fcorti> It is for completeness...

2017-06-14 14:51:22 GMT <fcorti> When newbies will come in the Q&A you tell them ;-)

2017-06-14 14:52:29 GMT <AFaust> fcorti: My "screaming" is mostly because Alfresco will not remove those old features when they are clearly obsolete (even not marked as deprecated yet)

2017-06-14 14:55:02 GMT <fcorti> ;-)

2017-06-14 14:58:42 GMT <bmejias> question, what's the best way to get non technical people using search as easy as google search

2017-06-14 14:58:48 GMT <bmejias> I'm not talking about the results...

2017-06-14 14:58:57 GMT <bmejias> but about how to state the search queries

2017-06-14 14:59:51 GMT <AFaust> bmejias: My suggestion - enhance the search web script to allow users to use the localized property labels as selectors so they don't have to know the technical terms.

2017-06-14 15:00:36 GMT <AFaust> I did a query parser + translater in one of my projects that allowed user to state query in their own language (including keywords like AND/OR) and properties / types / aspects based on localized model names

2017-06-14 15:01:01 GMT <bmejias> ok... and things like: I want documents modified by fred

2017-06-14 15:01:25 GMT <bmejias> file:*.doc modifier:fred

2017-06-14 15:01:41 GMT <AFaust> That requires that those clients / integrations always specify the name of the app / client that makes the call (e.g. via HTTP header) so it could be added as a technical metadata property

2017-06-14 15:02:04 GMT <AFaust> Or did you mean the actual user account "fred" and not the Xenit product "Fred"?

2017-06-14 15:02:10 GMT <bmejias> hahaha

2017-06-14 15:02:34 GMT <bmejias> sorry, I was said the first name that came to my mind...

2017-06-14 15:02:45 GMT <bmejias> I have a Chilean friend called Alfredo

2017-06-14 15:03:01 GMT <bmejias> so, when I think about Alfresco related names

2017-06-14 15:03:15 GMT <bmejias> I used his English version of his name

2017-06-14 15:03:37 GMT <bmejias> yes.... please thanks Angel to be a pioneer on these new types of TTLs

2017-06-14 15:04:21 GMT <AFaust> A query translater would be able to introduce new "meta" fields in the search that users can use for simple user names and that get translated to multi-stage lookups (e.g. resolving natural name to user name, and then doing the actual query)

2017-06-14 15:04:45 GMT <bmejias> ok, thanks AFaust

2017-06-14 15:05:01 GMT <bmejias> Thanks to kgastaldo and fcorti for hosting TTL

2017-06-14 15:05:08 GMT <bmejias> great job by Angel

2017-06-14 15:05:39 GMT <bmejias> when is the next event? TTL next month? or office hours?

2017-06-14 15:05:53 GMT <fcorti> bmejias, thanks... and thanks angelborroy

2017-06-14 15:05:59 GMT <fcorti> we want to do more...

2017-06-14 15:06:01 GMT <bmejias> I'm leaving now to the supermarket.... need supplies for weekend festival... yeaaaahhh

2017-06-14 15:06:13 GMT <fcorti> guys, any volunteer?

2017-06-14 15:06:35 GMT <bmejias> I could do an office hours with a review of the festival, but probably no one will be interesting in metal

2017-06-14 15:06:56 GMT <kgastaldo> Our Office Hours guest is up in the air - so normally it would be on June 30th

2017-06-14 15:07:12 GMT <kgastaldo> once we get it locked down, I'll announce. If it falls through, we'll be back for TTL on July 12

2017-06-14 15:09:46 GMT <bmejias> thanks for the info kgastaldo

2017-06-14 15:09:52 GMT <bmejias> see you guys...

2017-06-14 15:16:46 GMT <fcorti> \m/ bmejias

2017-06-14 15:56:42 GMT <fwu> ppl, does 5.2 still uses this "old" flash previewer?

2017-06-14 15:57:02 GMT <fwu> I realize there is a previewer that uses pdf.js

2017-06-14 15:59:20 GMT <fwu> as a share extra... but with support only to version 4. So I believe that maybe this was integrated in Alfresco 5... it would make sense to remove/limit flash dependency

2017-06-14 15:59:32 GMT <fwu> and the need to convert from pdf to swf

2017-06-14 16:03:18 GMT <fwu> im looking to this: http://share-extras.github.io/addons/media-viewers/

2017-06-14 16:03:19 GMT <alfbot> Title: Share Extras - media-viewers (at share-extras.github.io)

2017-06-14 16:48:28 GMT <xkahn> fwu: It's built in starting in version 5

2017-06-14 16:52:47 GMT <fwu> xkahn, thank you!

2017-06-14 20:49:42 GMT <sakshi> hi

2017-06-14 23:11:58 GMT <sakshi> Hi

2017-06-14 23:13:06 GMT <sakshi> I need to create a custom action link in Document Actions

2017-06-14 23:13:27 GMT <sakshi> to move actioned upon Bode to a destination folder

2017-06-14 23:13:33 GMT <sakshi> Node*

2017-06-14 23:13:52 GMT <sakshi> I am not able to create the action link

2017-06-14 23:53:56 GMT <sakshi> I need to create a custom action link in Document actions which would move the actioned upon Node to a destination folder.

End of Daily Log

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