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-03-23 08:56:09 GMT <yregaieg> Morning guys

2017-03-23 08:56:27 GMT *** yregaieg is now known as Guest43016

2017-03-23 10:36:25 GMT <fwu> hi all!

2017-03-23 10:37:55 GMT <fwu> ppl, how can I have access from inline java workflow code to a data list defined in a site?

2017-03-23 10:39:42 GMT <angelborroy> fwu you can

2017-03-23 10:41:16 GMT <angelborroy> extending from ActivitiScriptBase you can use getServiceRegistry() method to obtain references to Alfresco services

2017-03-23 10:41:32 GMT <angelborroy> fwu for example: getServiceRegistry().getNodeService();

2017-03-23 10:42:06 GMT <angelborroy> fwu to find the container for datalist you can use something like this

2017-03-23 10:42:07 GMT <angelborroy> SiteServiceImpl.getSiteContainer(

2017-03-23 10:42:09 GMT <angelborroy> siteName, DATALIST_CONTAINER_ID, true,

2017-03-23 10:42:10 GMT <angelborroy> getServiceRegistry().getSiteService(),

2017-03-23 10:42:11 GMT <angelborroy> getServiceRegistry().getTransactionService(),

2017-03-23 10:42:12 GMT <angelborroy> getServiceRegistry().getTaggingService());

2017-03-23 10:42:13 GMT <fwu> angelborroy, until that I am following you

2017-03-23 10:42:26 GMT <angelborroy> the last one?

2017-03-23 10:42:45 GMT <angelborroy> just to find dataListContainer

2017-03-23 10:42:53 GMT <fwu> no, until get the serviceregistry, because im already getting other objectds

2017-03-23 10:43:16 GMT <angelborroy> so you have your serviceRegistry injected, right?

2017-03-23 10:43:38 GMT <fwu> yes

2017-03-23 10:43:43 GMT <fwu> let me put the code here:

2017-03-23 10:43:59 GMT <angelborroy> then you have to write a code like this one http://pastebin.com/jg9fRCBW

2017-03-23 10:44:00 GMT <alfbot> Title: NodeRef dataListContainer = SiteServiceImpl.getSiteContainer( siteName, - Pastebin.com (at pastebin.com)

2017-03-23 10:44:06 GMT <angelborroy> to recover data lists

2017-03-23 10:44:39 GMT <angelborroy> DATALIST_CONTAINER_ID is "dataLists"

2017-03-23 10:44:56 GMT <angelborroy> and siteName is your site name

2017-03-23 10:45:44 GMT <fwu> ok, let me see

2017-03-23 10:46:27 GMT <fwu> im trying to use them as wf backoffice configuration

2017-03-23 10:47:42 GMT <angelborroy> right

2017-03-23 10:48:05 GMT <angelborroy> the code I’ve shared should be used for that

2017-03-23 10:49:38 GMT <fwu> angelborroy, but is this code java inline code?

2017-03-23 10:57:49 GMT <angelborroy> sorry

2017-03-23 10:57:56 GMT <angelborroy> no, it’s not inline

2017-03-23 11:00:07 GMT <fwu> but i

2017-03-23 11:00:14 GMT <fwu> should be able to get it inline

2017-03-23 11:00:26 GMT <angelborroy> probably, yes

2017-03-23 11:00:32 GMT <fwu> I like to use inline code because it is easy to chnage the code

2017-03-23 11:01:00 GMT <fwu> specially if I put the code outside in a javscript file

2017-03-23 11:01:47 GMT <fwu> in inline code i already getting the context, and then the some custom types to get the constranints

2017-03-23 11:01:59 GMT <fwu> so I believe I will be able to get the data list also

2017-03-23 12:59:59 GMT <resplin> ~later tell yreg IRC truncated the long messages in your PM to me, so I got a bit lost.

2017-03-23 12:59:59 GMT <alfbot> resplin: The operation succeeded.

2017-03-23 14:36:04 GMT <douglascrp> quick question on extension modules

2017-03-23 14:36:42 GMT <douglascrp> if I have two projects, both generating amps, and having the same ftl being changed, like resources.get.html.ftl

2017-03-23 14:37:21 GMT <douglascrp> in the extension xml file, I have this

2017-03-23 14:37:22 GMT <douglascrp> <customizations>

2017-03-23 14:37:22 GMT <douglascrp> <customization>

2017-03-23 14:37:22 GMT <douglascrp> <targetPackageRoot>org.alfresco</targetPackageRoot>

2017-03-23 14:37:22 GMT <douglascrp> <sourcePackageRoot>br.com.dgcloud</sourcePackageRoot>

2017-03-23 14:37:22 GMT <douglascrp> </customization>

2017-03-23 14:37:23 GMT <douglascrp> </customizations>

2017-03-23 14:38:06 GMT <douglascrp> will surf process the head/resources.get.html.ftl files in both projects?

2017-03-23 14:38:31 GMT <douglascrp> in theses projects, both add new css or js dependencies, using the same component

2017-03-23 15:49:21 GMT <Guest43016> Douglas, it will, and you can provide some ordering as well to control which extension gets applied first

2017-03-23 15:49:44 GMT <douglascrp> Guest43016, who are you? :D

2017-03-23 15:50:14 GMT <Guest43016> I can look up this ordering thing for you if you want

2017-03-23 15:50:31 GMT <douglascrp> Guest43016, would you mind answering it here https://community.alfresco.com/thread/230533-multiple-surf-extension-modules-customizing-the-same-ftl-file

2017-03-23 15:50:33 GMT <alfbot> Title: Multiple surf extension modules customizing the... | Alfresco Community (at community.alfresco.com)

2017-03-23 15:50:36 GMT <douglascrp> I have just posted it there

2017-03-23 15:50:43 GMT <Guest43016> I am the Guest N° 43016 coming to freenode webchat <grin>

2017-03-23 15:52:13 GMT <Guest43016> Will do that later tonight (if Axel does not beat me to it as usual)

2017-03-23 15:52:38 GMT <Guest43016> Need to finish up a couple of things before quiting my client's building today

2017-03-23 15:53:47 GMT <Guest43016> You should be confident that both extensions should work (if they are both configured right) but unless you provide explicitely some ordering you can not know for sure which one will execute first ;-)

2017-03-23 15:55:07 GMT <Guest43016> douglascrp: Had header customizations from AAAR-Share amp and from client specific extension on multiple alfrescos without any issue

2017-03-23 16:05:45 GMT *** angelborroy_ is now known as angelborroy

2017-03-23 16:48:41 GMT <fwu> ppl,

2017-03-23 16:48:51 GMT <fwu> what is the difference between these evaluators:

2017-03-23 16:48:58 GMT <fwu> model-type & node-type

2017-03-23 16:49:43 GMT <fwu> these are inside a share custom xml file

2017-03-23 17:10:31 GMT <douglascrp> fwu, model-type is used to define forms for "non-existing nodes", like when you are creating an object (folder or document) and the search

2017-03-23 17:10:44 GMT <douglascrp> model because the form will use the information from the content model

2017-03-23 17:10:59 GMT <fwu> douglascrp, ok thank you. I forgot that!

2017-03-23 17:11:01 GMT <douglascrp> node-type is used for "existing nodes", like when you are editing a node (again, folder or document)

2017-03-23 17:11:13 GMT <douglascrp> that's the way I am able to keep it in my mind :D

2017-03-23 17:11:19 GMT <fwu> I will write that in my aml code :)

2017-03-23 17:11:22 GMT <fwu> xml

2017-03-23 18:33:09 GMT <d1rewolf> hi all. We're looking for a document management and workflow solution to replace our current Fortis-based solution. I'm curious...are any of you running the purely open source version of alfresco?

2017-03-23 18:33:33 GMT <douglascrp> d1rewolf, basically everyone here is doing so

2017-03-23 18:34:09 GMT <douglascrp> d1rewolf, check this http://orderofthebee.org/

2017-03-23 18:34:10 GMT <alfbot> Title: Order of the Bee (at orderofthebee.org)

2017-03-23 18:34:32 GMT <d1rewolf> douglascrp: nice. thank you.

2017-03-23 18:34:45 GMT <douglascrp> feel free to ask questions here

2017-03-23 18:34:52 GMT <d1rewolf> do you know of a good feature comparison between what the commercial version offers and what the free version does?

2017-03-23 18:34:58 GMT <douglascrp> we will be happy to help you adopting it

2017-03-23 18:35:48 GMT <d1rewolf> are primary targeted features are the archiving of scanned documents (including annotations, etc) and the ability to design fairly detailed workflows to flow things like purchase requests, capex request, etc through

2017-03-23 18:35:58 GMT <d1rewolf> with custom forms tied to the workflows

2017-03-23 18:36:37 GMT <douglascrp> d1rewolf, https://www.contentreich.de/alfresco-community-vs-enterprise-one

2017-03-23 18:36:39 GMT <alfbot> Title: Alfresco Community vs. Enterprise (One) - CONTENTREICH (at www.contentreich.de)

2017-03-23 18:36:45 GMT <douglascrp> this is old, but still valid

2017-03-23 18:36:57 GMT <douglascrp> there is the english version if you scroll it

2017-03-23 18:37:25 GMT <d1rewolf> douglascrp: great, thank you!

2017-03-23 18:37:46 GMT <d1rewolf> douglascrp: are you an alfresco consultant out of curiosity?

2017-03-23 18:37:47 GMT <douglascrp> d1rewolf, lots of things have changed since that list was update

2017-03-23 18:38:00 GMT <douglascrp> d1rewolf, yes, just like everybody here :D

2017-03-23 18:38:38 GMT <fwu> ppl, anyone gets a response different from a 404 with this url:

2017-03-23 18:38:42 GMT <fwu> http://localhost:8080/alfresco/service/imap/servstatus

2017-03-23 18:38:50 GMT <d1rewolf> douglascrp: lol. ok, thanks. are you based in the US? or do you know of anyone who is?

2017-03-23 18:38:54 GMT <fwu> im getting a imap error and i dont know why

2017-03-23 18:39:07 GMT <fwu> i didnt change nothing...

2017-03-23 18:39:20 GMT <douglascrp> d1rewolf, I am in Brazil

2017-03-23 18:39:57 GMT <d1rewolf> douglascrp: k, got it. thanks ;)

2017-03-23 19:25:16 GMT <marco__> when upgrading to 5.1.2 from 4.1

2017-03-23 19:25:43 GMT <marco__> how can I force alfresco to use solr 1.4 duing the upgrade ?

2017-03-23 19:28:10 GMT <marco__> never mind, I know...

2017-03-23 19:28:11 GMT <marco__> thanks

2017-03-23 19:37:44 GMT <marco__> after the upgrade

2017-03-23 19:38:06 GMT <marco__> from 4.1 to 5.1.2

2017-03-23 19:38:48 GMT <marco__> in the alfresco admin console

2017-03-23 19:39:10 GMT <marco__> the "Repository information" does not seem correct

2017-03-23 19:39:42 GMT <marco__> ID, version number, schema, build, etc...

2017-03-23 19:39:46 GMT <marco__> for the current

2017-03-23 19:39:52 GMT <marco__> install

2017-03-23 19:39:55 GMT <marco__> are all empty

2017-03-23 20:26:39 GMT <fwu> back

End of Daily Log

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