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-12-29 00:51:16 GMT <forgiven> am i still online

2017-12-29 00:51:56 GMT <forgiven> douglascrp?

2017-12-29 00:52:53 GMT <forgiven> @douglascrp_

2017-12-29 04:47:55 GMT <digcat> ~later tell fcorti hi franchesco, re AI, did you catch Joram Barrez segment, on BPM and AI, using elastic and spark, https://www.youtube.com/watch?v=i8dYR0LdpHg

2017-12-29 04:47:55 GMT <alfbot> digcat: The operation succeeded.

2017-12-29 10:03:13 GMT <Popochon2> Hi!

2017-12-29 10:53:46 GMT <douglascrp_> morning

2017-12-29 10:53:59 GMT <douglascrp_> forgiven, hello

2017-12-29 10:55:21 GMT <Popochon2> (Im using Alfresco SDK 3 AIO with maven) I have a custom workflow involving a folder. The WF is made with activiti. In a certain task I have to remove initiator access to workflow and to the folder. ¿What is the best aproach to do this? all tips are welcome :)

2017-12-29 10:58:04 GMT <angelborroy> You can use a Listener and a Java Class

2017-12-29 10:58:16 GMT <angelborroy> Or you can use a Listener and Javascript code

2017-12-29 11:09:44 GMT <Popochon2> I readed somewhere JS is easier. Anyway Java or JS both are ok for me. I think my main problem is Im not sure about wich api I must use... I have to access folder to remove permisson and then look at WF API to remove permisson? or how?

2017-12-29 11:13:58 GMT <angelborroy> In Alfresco everything is a node

2017-12-29 11:14:12 GMT <angelborroy> You should use Alfresco JAVA API

2017-12-29 11:14:16 GMT <angelborroy> it’s easier for me

2017-12-29 11:14:51 GMT <Popochon2> oki

2017-12-29 11:14:52 GMT <angelborroy> https://docs.alfresco.com/5.2/references/dev-services-permission.html

2017-12-29 11:14:53 GMT <alfbot> Title: PermissionService | Alfresco Documentation (at docs.alfresco.com)

2017-12-29 11:16:17 GMT <Popochon2> I will use Java becouse im sure my project manager will ask next week to remove permison in other task to other people... IM 100% SURE so java is easier for "copy paste" hahaha

2017-12-29 11:18:42 GMT <angelborroy> you just have to use a class extending from extends ActivitiScriptBase

2017-12-29 11:19:04 GMT <angelborroy> And Alfresco JAVA API is exposed by getServiceRegistry()

2017-12-29 11:19:17 GMT <angelborroy> so getServiceRegistry().getPermissionService() will give you access to the right service

2017-12-29 11:20:20 GMT <Popochon2> I dont have to implement TaskListener?

2017-12-29 11:20:35 GMT <angelborroy> right

2017-12-29 11:21:09 GMT <angelborroy> extends ActivitiScriptBase implements TaskListener

2017-12-29 11:24:46 GMT <Popochon2> Thx i will try it now :D

2017-12-29 11:25:06 GMT <Popochon2> thx a lot :D

2017-12-29 15:34:57 GMT <forgiven> i am looking to upgrade but is there a way to find out which version of community we have?

2017-12-29 15:37:08 GMT <angelborroy> forgiven try http://localhost:8080/alfresco/s/api/server

2017-12-29 15:40:12 GMT <angelborroy> forgiven and then find that version and schema in https://community.alfresco.com/docs/DOC-6295-release-cross-reference

2017-12-29 15:40:14 GMT <alfbot> Title: Release Cross Reference | Alfresco Community (at community.alfresco.com)

2017-12-29 15:44:06 GMT <forgiven> looking now

2017-12-29 15:48:08 GMT <forgiven> shows: "edition": "Community", "version": "5.1.0 (r127059-b7)", "schema": "10001"

2017-12-29 15:48:29 GMT <angelborroy> So 5.1.g Community

2017-12-29 15:48:32 GMT <angelborroy> aka 201605

2017-12-29 15:48:38 GMT <forgiven> exactly

2017-12-29 15:48:45 GMT <forgiven> 5.1.g Community May 2016 (r127059-b7) schema 10001 distributed as 201605-GA, download bundle contains different Repository and Share versions (Repository 5.1.g, Share 5.1.f)

2017-12-29 15:49:32 GMT <forgiven> angelborroy so upgrading to the latest holds no gotchas?

2017-12-29 15:50:00 GMT <angelborroy> I think you can go directly to 201707

2017-12-29 15:50:18 GMT <angelborroy> forgiven are you planning to use SOLR 4 or SOLR 6?

2017-12-29 15:50:31 GMT <angelborroy> forgiven did you upgraded Alfresco before?

2017-12-29 15:50:39 GMT <forgiven> yes

2017-12-29 15:51:14 GMT <angelborroy> ok, if you choose SOLR 4 I think the way is direct

2017-12-29 15:52:51 GMT <forgiven> yea i am reading the release notes now

2017-12-29 15:55:29 GMT <forgiven> so with the bundled installer, it looks like it is SOLR 4 only?

2017-12-29 15:58:41 GMT <angelborroy> yep, bundle is providing SOLR 4

2017-12-29 15:58:52 GMT <angelborroy> what is a safer option by now

End of Daily Log

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