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-04-20 02:11:30 GMT <vicce> anyone knows that how to preview visio in alfresco?

2017-04-20 06:02:00 GMT <twen> bonjour

2017-04-20 06:24:28 GMT <bhuvan> hi yreg

2017-04-20 06:25:53 GMT <bhuvan> hi Afaust

2017-04-20 06:26:22 GMT <bhuvan> i had one doubt regarding alfresco workflow

2017-04-20 06:26:59 GMT <bhuvan> shall i make any form property mandatory dynamically

2017-04-20 06:27:16 GMT <bhuvan> based on approve and reject actions

2017-04-20 06:29:49 GMT <AFaust> I don't know how you'd want to do that. Form property mandatory-ness is static in Alfresco. Either it is mandatory or it is not - regardless of the task decision you take...

2017-04-20 06:31:39 GMT <bhuvan> execution.setVariable('lattitudequdos_publish',true);

2017-04-20 06:31:56 GMT <bhuvan> i am using like this in taskscript

2017-04-20 06:32:06 GMT <bhuvan> for mandatory true

2017-04-20 07:03:53 GMT <yreg> Good morning

2017-04-20 07:04:51 GMT <bethel> hi guys im following this tutorial to update from 5.1 to 201701 http://www.keensoft.es/camino-desde-alfresco-ce-5-1-g-alfresco-201701/

2017-04-20 07:04:52 GMT <alfbot> Title: Nuestro camino desde Alfresco CE 5.1.g hasta Alfresco 201701 - keensoft (at www.keensoft.es)

2017-04-20 07:05:26 GMT <bethel> but theres a stage that we need to run this cmd sudo solr/bin/solr start -force -a -Dcreate.alfresco.defaults=alfresco,archive but it keeps on saying sudo: solr/bin/solr: command not found

2017-04-20 07:05:35 GMT <bethel> must i run it in a specific dir

2017-04-20 07:10:18 GMT <AFaust> yes - the dir where the solr directory is located in

2017-04-20 07:10:24 GMT <AFaust> or simply change to use the absolute path

2017-04-20 07:11:04 GMT <AFaust> Also, that guide is referring to SOLR6 / Alfresco Search Services, which is not part of the default installer and needs to be installed separately

2017-04-20 07:12:34 GMT <bethel> i did install it from the zip file i downloaded

2017-04-20 07:13:19 GMT <bethel> ah got it by running inside the solr6 folder

2017-04-20 07:15:08 GMT <bethel> the solr indexing part, must that be changed in the alfresco-global.properties?

2017-04-20 07:18:07 GMT <bethel> as i cant get the solr to launch at http://localhost:8983/solr

2017-04-20 07:27:24 GMT <bethel> hi angelborroy hope you are well im following your tutorial to upgrade to 201701 but am stuck after i started the solr service : https://pastebin.com/6y4Xxhjy

2017-04-20 07:27:25 GMT <alfbot> Title: solr6 config - Pastebin.com (at pastebin.com)

2017-04-20 07:27:35 GMT <bethel> cant get it to launch http://localhost:8983/solr

2017-04-20 07:28:22 GMT <bethel> did run sudo solr/bin/solr start -force -a -Dcreate.alfresco.defaults=alfresco,archive

2017-04-20 07:28:35 GMT <Modestas> Hello guys!

2017-04-20 07:29:08 GMT <Modestas> can anyone tell me table name in which NodeRef properties is saved?

2017-04-20 07:29:11 GMT <angelborroy> bethel and you have no access to that URL?

2017-04-20 07:29:17 GMT <angelborroy> behtel it looks strange

2017-04-20 07:29:27 GMT <angelborroy> bethel SOLR service is running (jetty)

2017-04-20 07:29:31 GMT <bethel> nope

2017-04-20 07:30:50 GMT <bethel> i followed your tutorial up to where i start sudo solr/bin/solr start -force -a -Dcreate.alfresco.defaults=alfresco,archive then the next thing is to launch http://localhost:8983/solr but its not loading so not sure how to proceed

2017-04-20 07:31:59 GMT <bethel> all my data did pull in , just afraid of all the errors in catalina and that i cant get the solr to launch

2017-04-20 07:32:49 GMT <bethel> angelborroy: no it keeps on saying that solr.service not found

2017-04-20 07:33:06 GMT <angelborroy> bethel you can check solr6/logs/solr.log

2017-04-20 07:33:10 GMT <angelborroy> to find some error

2017-04-20 07:33:11 GMT <bethel> Redirecting to /bin/systemctl start solr6.service Failed to start solr6.service: Unit not found.

2017-04-20 07:33:29 GMT <angelborroy> Modestas ALF_NODE_PROPERTIES

2017-04-20 07:34:08 GMT <angelborroy> bethel you need to define a Unit for that

2017-04-20 07:34:14 GMT <angelborroy> bethel have you defined such file?

2017-04-20 07:34:37 GMT <bethel> angelborroy: https://pastebin.com/sxsSwqcc

2017-04-20 07:34:38 GMT <alfbot> Title: solr.log - Pastebin.com (at pastebin.com)

2017-04-20 07:34:50 GMT <bethel> angelborroy: how do i do that

2017-04-20 07:35:06 GMT <angelborroy> bethel probably you can use just SOLR 4

2017-04-20 07:35:09 GMT <bethel> as i followed service solr6 start

2017-04-20 07:35:14 GMT <angelborroy> bethel is easier and it’s better documented

2017-04-20 07:35:37 GMT <bethel> ok do i follow your tutorial then just skip the solr6 part?

2017-04-20 07:35:42 GMT <angelborroy> right

2017-04-20 07:36:08 GMT <bethel> ok thnx and just one last thing, in centos how do i install the libre office libraries

2017-04-20 07:40:59 GMT -yreg- Are you attending BeeCon 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:42:42 GMT -yreg- Are you attending BeeCon 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:43:05 GMT -yreg- Are you attending BeeCon 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:43:22 GMT <fcorti> yreg, I'll spread the word tomorrow in the middle of day... let me know if I can do more.

2017-04-20 07:43:26 GMT -yreg- Are you attending BeeCon 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:43:40 GMT -yreg- Are you attending BeeCon,-1 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:43:48 GMT -yreg- Are you attending BeeCon 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:44:15 GMT -yreg- Are you attending BeeCon 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:45:10 GMT <AFaust> Modestas: If you look at the database schema it should be obvious: alf_node_properties

2017-04-20 07:45:37 GMT <AFaust> oh - angelborroy already answered that - didn't spot that between the lines

2017-04-20 07:46:57 GMT -yreg- Are you attending BeeCon, 2017? Then make sure to let us know which topics you are interested in discussing during BoF sessions ! https://goo.gl/1t8yFd

2017-04-20 07:53:02 GMT <Modestas> angelborroy and AFaust thank you!

2017-04-20 07:56:32 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2017-04-20 08:31:47 GMT *** angelborroy_ is now known as angelborroy

2017-04-20 09:05:50 GMT <reCAPTCHA> hi guys does anyone know this error: Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 03200038 Request failed 500 /solr4/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=50&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&sort=%40cm%3Amodified+desc&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON

2017-04-20 09:05:58 GMT <reCAPTCHA> o did clean the solr4 folders

2017-04-20 09:36:20 GMT <Hiten> Hi Guys, I am currently using SDK 3.0 for creating an evaluator in which I am calling a webscript but I am facing a problem in creating a HttpSession object in the evaluator as it can't be resolved

2017-04-20 09:37:10 GMT <Hiten> I remember that in SDK 2.2.0 sevlet-api jar was provided but I can't find the same in SDK 3.0

2017-04-20 09:38:08 GMT <Hiten> is this one of the changes in SDK 3.0 ?? Do I need to import the jar in order to get it working

2017-04-20 09:52:10 GMT * DarkStar1 greets everyone "Good morning"

2017-04-20 12:08:00 GMT <yreg> ~seen ohej

2017-04-20 12:08:00 GMT <alfbot> yreg: ohej was last seen in #alfresco 1 week, 5 days, 22 hours, 43 minutes, and 54 seconds ago: <ohej> [nolog] wtf? so sorry to hear that!

2017-04-20 14:14:36 GMT <AFaust> Quick history question: In which Alfresco version was JMX removed from the core and made EE-only?

2017-04-20 14:23:43 GMT <fcorti> mmmm... I remember this feature in 4.0.something... in my opinion around that version.

2017-04-20 14:25:37 GMT <yreg> AFaust, I think that as well, a lot of stuff got removed after 4.0.x from CE and made EE exclusive

2017-04-20 14:25:55 GMT <yreg> check realse notes from community to be sure though

2017-04-20 14:27:49 GMT <AFaust> Last big big EE-only move was in 4.2 with removal of ehcache

2017-04-20 14:28:20 GMT <AFaust> I tried to look for decent release info via Google search for 4.x line but results were not promising...

2017-04-20 14:30:13 GMT <AFaust> Migrated release notes documents in community.alfresco.com are also not helping

2017-04-20 14:35:10 GMT <twen> I don't remember having JMX available on 4.0... thus, I started with 4.0 c then e

2017-04-20 14:36:02 GMT <AFaust> Well - it was only available as a read-only interface anyway even before removal.

2017-04-20 14:36:10 GMT <AFaust> But still useful for monitoring back then.

2017-04-20 14:36:24 GMT * AFaust just needs the version number for a lightning talk slide

2017-04-20 14:37:28 GMT <angelborroy> Task history at Alfresco Share detail page includes only tasks in which the user has participated

2017-04-20 14:37:49 GMT <angelborroy> Is there any chance to modify this to show all the tasks?

2017-04-20 14:38:08 GMT <angelborroy> Approach 1 - Insert every task with “public” services

2017-04-20 14:38:23 GMT <angelborroy> Approach 2 - Extend Alfresco Share to show every task in that page

2017-04-20 14:38:33 GMT <angelborroy> Which should be easier (and faster)?

2017-04-20 14:38:57 GMT <angelborroy> (Approach 1 - “public” access instead of “public” services)

2017-04-20 14:40:11 GMT <AFaust> angelborroy: You need to replace the workflow security interceptor.

2017-04-20 14:40:21 GMT <angelborroy> is it a listener?

2017-04-20 14:40:29 GMT <angelborroy> an Spring Bean, ok

2017-04-20 14:40:40 GMT <AFaust> Nope - an AOP interceptor that filters out task that you don't have access to

2017-04-20 14:41:01 GMT <angelborroy> ok, finding

2017-04-20 14:42:11 GMT <AFaust> This is one component that came of an Alfresco bug fixe that can be filed in the category "a high-paying Enterprise customer cried and we fixed it without thinking about any side effects or potential other use cases"

2017-04-20 15:06:42 GMT <angelborroy> AFaust up & running, thank you very much!

2017-04-20 15:26:32 GMT *** angelborroy_ is now known as angelborroy

2017-04-20 16:24:52 GMT <fwu> I all!

2017-04-20 16:27:01 GMT <fwu> ppl, Im filtering the doclibs actions presented in the document-details page using some settings in a xml file.

2017-04-20 16:27:05 GMT <fwu> It is like this:

2017-04-20 16:27:21 GMT <fwu> <config evaluator="string-compare" condition="DocLibActions"> <actionGroups> <actionGroup id="document-details"> <action index="510" id="document-move-to" subgroup="50" > <evaluator>evaluator.doclib.action.disableAction</evaluator> </action>

2017-04-20 16:27:39 GMT <fwu> Now, I have a custom document details page, and the actions are not being filtered

2017-04-20 16:27:59 GMT <fwu> how can I filter the actions in this page using the same xml file?

2017-04-20 16:28:19 GMT <fwu> I thoght the key was the page name, but it is not working like that

2017-04-20 16:29:25 GMT <fwu> that actionGroup id should be the key, or not? But how can I use it efectively?

2017-04-20 17:14:37 GMT <fwu> hmm... actually, it seems the filter is working in my custom page as well with the same settings. So, my question now is, why?

2017-04-20 17:16:10 GMT <fwu> how can I control the action filters of my own custom details page?

2017-04-20 17:34:42 GMT <fwu> when defining the template-instance im using this:

2017-04-20 17:34:58 GMT <fwu> <component> <region-id>actions-common</region-id> <url>/components/documentlibrary/actions-common</url> <properties> <nodeRef>{nodeRef}</nodeRef> <dependencyGroup>document-details</dependencyGroup> </properties> </component>

2017-04-20 17:35:11 GMT <fwu> isnt it possible to filter here the actions to show?

2017-04-20 17:47:45 GMT <eswbitto> I'm at a cross road where I need a point in the right direction. I've been reading a lot of docs for developing in alfresco and I've kinda come to the conclusion that when making custom js files to override what is in the share.war file its just best to modify the original file rather than creating an amp to over ride the js file. Thoughts?

2017-04-20 18:43:47 GMT <douglascrp> eswbitto, I have to disagree on that

2017-04-20 18:43:54 GMT <douglascrp> sometimes it is hard to make it work, but it does work

2017-04-20 18:44:46 GMT <douglascrp> eswbitto, http://soft29.info/blog/entry/alfresco-extend-share-javascript-component

2017-04-20 18:44:47 GMT <alfbot> Title: Soft29 blog: Alfresco: extend Share javascript component (at soft29.info)

2017-04-20 19:16:13 GMT <eswbitto> douglascrp thank you for the link...I'm irritated. In my week of googling solutions I never seen this search result come up. >.>

2017-04-20 19:16:27 GMT <douglascrp> eswbitto, I know the feeling

2017-04-20 19:16:36 GMT <douglascrp> as I said, sometimes it is really really hard to make something work

2017-04-20 19:16:42 GMT <douglascrp> but when it works, it is nice

2017-04-20 19:17:08 GMT <douglascrp> I don't like working on client side code

2017-04-20 19:21:07 GMT <eswbitto> douglascrp if I can get a working example I'll share it with you for future reference.

2017-04-20 19:23:10 GMT <douglascrp> eswbitto, ok

2017-04-20 19:23:33 GMT <douglascrp> what exactly are you trying to achieve

2017-04-20 19:28:58 GMT <eswbitto> douglascrp there are two files in the following path /install/tomcat/webapps/share/components/dashlets/ activities.js and activities-min.js I'm just changing a few lines of code that call for a specific group

2017-04-20 19:29:36 GMT <eswbitto> instead of "all" it would be changed to "mine" so that when people look at the activities dashlet either on their own personal one or on a site. They'll only be able to see theirs.

2017-04-20 19:30:30 GMT <eswbitto> It has created a privacy issue on certain sites.

2017-04-20 19:34:59 GMT <douglascrp> now I remember

2017-04-20 19:35:04 GMT <douglascrp> well, that should not be hard to do

2017-04-20 19:35:59 GMT <eswbitto> douglascrp you understand who you're talking to right?

2017-04-20 19:36:02 GMT <eswbitto> :D

2017-04-20 21:30:41 GMT *** mmccarthy1 is now known as mmccarthy

End of Daily Log

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