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-27 06:58:51 GMT <twen> good morning

2017-11-27 07:46:52 GMT <qwebirc62332> Hi how we will create the reports in alfresco ??

2017-11-27 08:00:06 GMT <Filip_Tieto> Hello guys,

2017-11-27 08:00:20 GMT <Filip_Tieto> Do you know why Luis'blog was deleted from community? https://community.alfresco.com/people/lcabaceira/blog/2017/04/26/alfresco-best-practices

2017-11-27 08:05:39 GMT <fcorti> qwebirc62332 please read here for the official roadmap: https://community.alfresco.com/people/harry.peek@alfresco.com/blog/2017/11/08/alfresco-search-services-analytics-roadmap-update-aw2017

2017-11-27 08:05:41 GMT <alfbot> Title: Alfresco Search Services & Analytics Roadma... | Alfresco Community (at community.alfresco.com)

2017-11-27 08:06:10 GMT <fcorti> For a Community alternative, based on Pentaho, you can consider this: http://fcorti.com/alflytics/

2017-11-27 08:06:11 GMT <alfbot> Title: Alflytics - The Open Source Business Intelligence solution over Alfresco - Francesco Corti (at fcorti.com)

2017-11-27 08:06:53 GMT <fcorti> Filip_Tieto the post is not deleted but in draft mode (so hidden) don't know why. Maybe you can ask to Luis directly.

2017-11-27 08:08:19 GMT <Filip_Tieto> Thanks Francesco. I will ask him directly.

2017-11-27 09:30:38 GMT *** angelborroy_ is now known as angelborroy

2017-11-27 09:45:05 GMT *** IanW2 is now known as IanW1

2017-11-27 10:38:52 GMT <douglascrp> morning

2017-11-27 10:43:11 GMT <qwebirc62332> how we will create the reports in alfresco ??

2017-11-27 10:52:19 GMT <MorganP> [09:05] <fcorti> qwebirc62332 please read here for the official roadmap: https://community.alfresco.com/people/harry.peek@alfresco.com/blog/2017/11/08/alfresco-search-services-analytics-roadmap-update-aw2017

2017-11-27 10:52:21 GMT <alfbot> Title: Alfresco Search Services & Analytics Roadma... | Alfresco Community (at community.alfresco.com)

2017-11-27 10:52:46 GMT <MorganP> 09:06] <fcorti> For a Community alternative, based on Pentaho, you can consider this: http://fcorti.com/alflytics/

2017-11-27 10:52:47 GMT <alfbot> Title: Alflytics - The Open Source Business Intelligence solution over Alfresco - Francesco Corti (at fcorti.com)

2017-11-27 10:53:52 GMT <MorganP> These were Francesco's replies to you qwebirc62332

2017-11-27 10:54:11 GMT <fcorti> Thank you MorganP

2017-11-27 11:46:08 GMT <qwebirc62332> thanks MorganP,Francesco

2017-11-27 11:46:25 GMT <qwebirc62332> I will go through those now.

2017-11-27 11:49:44 GMT <hiten> Hi Guys

2017-11-27 11:50:01 GMT <hiten> Please help me out with my query https://community.alfresco.com/message/824470-error-while-converting-pdf-to-doc-using-custom-transformer

2017-11-27 11:50:03 GMT <alfbot> Title: Error while converting pdf to doc using custom ... | Alfresco Community (at community.alfresco.com)

2017-11-27 12:22:18 GMT <MorganP> hiten: the export file is under /tmp

2017-11-27 12:22:30 GMT <MorganP> but then it is searching for this file under /home

2017-11-27 12:22:41 GMT <MorganP> and it seems to fail there

2017-11-27 12:24:17 GMT <MorganP> You need to figure out why the path is different

2017-11-27 12:37:57 GMT <tushar_> hi all

2017-11-27 12:38:22 GMT <tushar_> i wanted to ask that i have a page that reloads when site id is mentioned on the url

2017-11-27 12:38:40 GMT <tushar_> but if i remove the site id the page becomes stable

2017-11-27 12:39:03 GMT <tushar_> can anyone please tell me how can i rectify this

2017-11-27 14:15:02 GMT <yreg> Morning

2017-11-27 14:15:16 GMT <yreg> Any idea when we should expect a schedule ?

2017-11-27 14:20:53 GMT <yreg> for devcon I mean

2017-11-27 14:41:54 GMT <kgastaldo> Hey Younes - We're getting confirmations back from accepted speakers now. I'll be adding some to the website today. I believe everyone is supposed to confirm their attendance by the end of this week, so schedule should follow shortly.

2017-11-27 14:42:24 GMT <kgastaldo> I think we may put a document in the community with all the sessions, just to have them in one place with descriptions - rather than having to click each session on the schedule (on DevCon site)

2017-11-27 14:50:28 GMT <AFaust> Middle of the week actually for the confirmation deadline...

2017-11-27 14:52:04 GMT <AFaust> Next meeting about waitlist, remaining slots and specific track schedule in ~10 minutes..

2017-11-27 15:53:20 GMT <yreg> thanks for the update kgastaldo !

2017-11-27 15:56:08 GMT <yreg> fcorti, can you confirm which is the latest RM version

2017-11-27 15:56:29 GMT <yreg> support portal says 2.5.2 and nexus says 2.6 is available

2017-11-27 15:58:07 GMT <douglascrp> yreg, https://community.alfresco.com/community/ecm/blog/2017/11/22/records-management-community-26c

2017-11-27 15:58:09 GMT <alfbot> Title: Records Management Community 2.6.c | Alfresco Community (at community.alfresco.com)

2017-11-27 15:58:40 GMT <yreg> II was actually referring to rm-enterprise

2017-11-27 16:10:48 GMT <fcorti> hi yreg

2017-11-27 16:10:58 GMT <fcorti> You should find it in the partner portal

2017-11-27 16:11:07 GMT <fcorti> But to be sure, I'm asking to John Iball

2017-11-27 16:11:43 GMT <fcorti> (PS: I did not forget your request about the deck of the OEM Program. I'm still waiting for Nathan reply on this)

2017-11-27 16:16:09 GMT <fcorti> yreg: the latest RM EE available today is 2.5.2 (you should find it in the Partner Portal). Version 2.6 is on the road... tomorrow or in few days it should be released.

2017-11-27 16:22:11 GMT <yreg> thanks fcorti, we just hit a major bug with2.5.2 and by just upgrading to 2.6 (from EE repos) it got solved, so I wanted to make sure that I can advise the client to upgrade

2017-11-27 16:22:28 GMT <fcorti> yreg great

2017-11-27 16:52:49 GMT <douglascrp> yreg, are you aware of this? https://issues.alfresco.com/jira/browse/REPO-2910

2017-11-27 16:53:28 GMT <douglascrp> it seems the custom module xenit developed will not be required anymore

2017-11-27 16:58:16 GMT <fwu> hi all

2017-11-27 17:00:13 GMT <fwu> ppl, I have a bean pointing to a java class. In this bean im making a reference to the global-properties bean.

2017-11-27 17:01:43 GMT <fwu> If I call this bean/class from alfresco javascript workflow code, everything works. However, if I call the java class from another javaclass, the bean reference is not being used. How can I achieve that? (get the global-properties bean reference)?

2017-11-27 17:03:49 GMT <douglascrp> fwu, how are you accessing that class?

2017-11-27 17:03:58 GMT <douglascrp> aren't you creating a new instance, are you?

2017-11-27 17:04:09 GMT <fwu> I am

2017-11-27 17:04:32 GMT <douglascrp> if you registered the bean, and if you use spring to get the object, then the globalproperties referece should be inject for you

2017-11-27 17:04:40 GMT <fwu> im using this class from another class in another project. Just like an ordinary class.... and that is the problem I suppose.

2017-11-27 17:05:01 GMT <douglascrp> I am not sure about the right term to describe this, but you should be using spring to give you the object

2017-11-27 17:05:51 GMT <fwu> Im not getting the object directly. I just add a new bean in one project. then in other project Im declaring an object of the type of that class.

2017-11-27 17:06:05 GMT <fwu> object = class, right?

2017-11-27 17:06:28 GMT <douglascrp> object = instance of the class

2017-11-27 17:06:40 GMT <douglascrp> not the class itself

2017-11-27 17:07:04 GMT <douglascrp> what kind of class are you talking about?

2017-11-27 17:07:20 GMT <douglascrp> is it a service? an action?

2017-11-27 17:07:22 GMT <fwu> I have an ordinary java class, that will call another class that has a bean defined. but indeed im not using spring to call it

2017-11-27 17:08:03 GMT <fwu> so, the global-properties (wich is set inside the class) will not be loaded

2017-11-27 17:08:30 GMT <fwu> this class is working if I call it using workflow javascript code.

2017-11-27 17:08:51 GMT <douglascrp> so, are you talking about a new javascript root object?

2017-11-27 17:09:23 GMT <fwu> parent="baseJavaScriptExtension"

2017-11-27 17:09:38 GMT <douglascrp> yes, that one

2017-11-27 17:09:49 GMT <fwu> with this:

2017-11-27 17:09:51 GMT <fwu> <property name="glProperties" > <ref bean="global-properties"/> </property>

2017-11-27 17:10:38 GMT <fwu> so if I try to create an object of the type of this object it works, of course, except that the global-properties will not be there

2017-11-27 17:12:40 GMT <fwu> so, how to call this bean from an external project? Or, how can I get the global-properties from inside the class instead of using bean reference?

2017-11-27 17:13:52 GMT <douglascrp> I guess you will have to ask spring to give you that object too

2017-11-27 17:13:58 GMT <douglascrp> I am trying to find a sample to you

2017-11-27 17:14:12 GMT <douglascrp> maybe someone else here knows how to do so

2017-11-27 17:14:26 GMT <fwu> I need a spring context, or something like that...?

2017-11-27 17:15:47 GMT <douglascrp> agentService = (AgentService) applicationContext.getBean("agentService");

2017-11-27 17:16:13 GMT <douglascrp> something like that

2017-11-27 17:16:43 GMT <fwu> hmm let me try

2017-11-27 17:16:59 GMT <douglascrp> ApplicationContext applicationContext = ApplicationContextProvider.getApplicationContext();

2017-11-27 17:17:12 GMT <douglascrp> https://community.alfresco.com/thread/220076-how-to-access-spring-beans#comment-783479

2017-11-27 17:17:14 GMT <alfbot> Title: How to access Spring beans | Alfresco Community (at community.alfresco.com)

2017-11-27 17:21:03 GMT <fwu> I need to change activiti-context.xml ? :(

2017-11-27 17:21:46 GMT <fwu> Isnt there a simple way of getting a bean inside the java code that is being referenced by the bean?

2017-11-27 17:21:57 GMT <fwu> iinstead of doing the injection as a property

2017-11-27 17:22:28 GMT <fwu> this way I could create the object without problems

2017-11-27 17:24:17 GMT <douglascrp> no, that is just a sample

2017-11-27 17:24:25 GMT <douglascrp> on how to get the reference using java

2017-11-27 17:24:38 GMT <douglascrp> but as I told you before, I am not sure if that is the right way to achieve it

2017-11-27 17:25:47 GMT <fwu> ok. My goal now is only to get that bean inside the java code and not using properties. Because if there would be a way to get the global-properties object from a "plain" java code, I beleive I would solve my problem.

2017-11-27 17:26:26 GMT <fwu> so, when my external class calls the bean based class, it would not mind if it is a spring bean or not.

2017-11-27 17:27:18 GMT <fwu> this would an alternative of making my new class bean aware

2017-11-27 17:36:41 GMT <fwu> I have this:

2017-11-27 17:36:43 GMT <fwu> ApplicationContext context = ApplicationContextHelper.getApplicationContext();

2017-11-27 17:36:54 GMT <fwu> and now I can make something like this:

2017-11-27 17:37:17 GMT <fwu> context.getBean("global-properties");

2017-11-27 17:37:23 GMT <fwu> but what type is this?!

2017-11-27 17:37:33 GMT <fwu> what will return?

2017-11-27 17:38:09 GMT <douglascrp> what is the type you have in the class with the setter?

2017-11-27 17:38:18 GMT <douglascrp> I mean, the parameter type

2017-11-27 17:38:36 GMT <douglascrp> setGlProperties(the time here);

2017-11-27 17:38:52 GMT <douglascrp> s/time/type

2017-11-27 17:40:53 GMT <fwu> yes, you are right!

2017-11-27 17:40:55 GMT <fwu> public java.util.Properties getglProperties

2017-11-27 17:41:12 GMT <fwu> it is a standard properties object

2017-11-27 17:41:16 GMT <douglascrp> yes

2017-11-27 17:42:58 GMT <fwu> let mee try that

2017-11-27 18:31:39 GMT <fwu> douglascrp, it doesn work

2017-11-27 18:39:27 GMT <douglascrp> fwu, :(

2017-11-27 18:39:38 GMT <douglascrp> I guess it work, but I don't now the right way to do it to tell you

2017-11-27 18:39:45 GMT <douglascrp> s/work/works

2017-11-27 18:41:20 GMT <fwu> there must be a way to get appcontext and then the bean using java...

2017-11-27 18:41:32 GMT <douglascrp> yes, it is Spring

2017-11-27 18:41:42 GMT <douglascrp> but I don't use pure spring, so I don't know how to do so

2017-11-27 18:47:10 GMT <fwu> douglascrp, what I dont understand is why there isnt a easy way to get the content from my bean class and then get a reference to a ban using getbean :)

2017-11-27 18:47:30 GMT <fwu> because Im talking about a bean aware class

2017-11-27 18:47:55 GMT <douglascrp> so, there must be an easy way

2017-11-27 18:47:59 GMT <douglascrp> the problem is we don't know it :D

2017-11-27 18:55:17 GMT <fwu> I know!

2017-11-27 18:55:20 GMT <fwu> working

2017-11-27 18:55:56 GMT <fwu> In my class I needed to do this: implements ApplicationContextAware

2017-11-27 18:58:58 GMT <fwu> then I implement the properties and methods needed

2017-11-27 18:59:01 GMT <fwu> then I do this:

2017-11-27 18:59:37 GMT <fwu> java.util.Properties myBean = (java.util.Properties) this.getBean("global-properties");

2017-11-27 18:59:39 GMT <fwu> I finally:

2017-11-27 19:00:03 GMT <fwu> myBean.getProperty("something")

2017-11-27 19:00:19 GMT <fwu> :)

2017-11-27 19:00:31 GMT <douglascrp> oh, nice

2017-11-27 19:00:38 GMT <douglascrp> easy

2017-11-27 19:02:58 GMT <fwu> well I wasnt expecting to have to implement ApplicationContextAware... but ok

2017-11-27 19:11:51 GMT <mikel_asla> or just inject the bean as a property on your bean?

End of Daily Log

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