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-05-18 00:24:08 GMT *** mmccarthy1 is now known as mmccarthy

2017-05-18 01:21:39 GMT *** mmccarthy1 is now known as mmccarthy

2017-05-18 01:27:08 GMT *** mmccarthy1 is now known as mmccarthy

2017-05-18 05:55:37 GMT <alfbot> twen: Sent 15 hours and 18 minutes ago: <yreg> verified email setup on mattermost, it seems that it goes straight to spam folder

2017-05-18 06:30:54 GMT <twen> ~later tell yreg found ! I was too impatient and didn't look the spam folder...

2017-05-18 06:30:54 GMT <alfbot> twen: The operation succeeded.

2017-05-18 07:01:18 GMT <twen> morning :)

2017-05-18 07:02:52 GMT <yreg> Morning

2017-05-18 07:02:52 GMT <alfbot> yreg: Sent 31 minutes ago: <twen> found ! I was too impatient and didn't look the spam folder...

2017-05-18 07:21:41 GMT <yreg> ~later tell douglascrp couldn't find the issues you told me about on bitbucket

2017-05-18 07:21:41 GMT <alfbot> yreg: The operation succeeded.

2017-05-18 08:09:26 GMT <mbui> God morning :)

2017-05-18 10:16:11 GMT <fwu> hi all!

2017-05-18 10:34:24 GMT <qwebirc27110> Hi

2017-05-18 10:34:48 GMT <qwebirc27110> is there any that I can override the email templates using the bootstrap content approach ?

2017-05-18 10:35:15 GMT <qwebirc27110> I want to replace the content located at /app:company_home/app:dictionary/app:email_templates

2017-05-18 10:35:27 GMT <qwebirc27110> not create new folder and add them there

2017-05-18 10:44:21 GMT <yreg> qwebirc27110, as far as I can remember, the link to those is made using a special noderef uuid

2017-05-18 10:44:48 GMT <yreg> you should be able to update the content without modifying the UUID

2017-05-18 10:44:57 GMT <yreg> programmatically

2017-05-18 10:45:15 GMT <yreg> I guess sujaypillay published an extension for that a while back

2017-05-18 11:33:08 GMT <fwu> why not a single change works at first try? :(

2017-05-18 11:33:52 GMT <fwu> I add a new hidden task in share-config-custom, but the task list in not filtering by this new task....

2017-05-18 11:34:09 GMT <fwu> but in the js code, there is a hidden task variable being used

2017-05-18 11:35:28 GMT <fwu> this.options.hiddenTaskTypes.join(",")

2017-05-18 11:35:56 GMT <fwu> now I need to look where this array is being filled to understand why my task is not there...

2017-05-18 11:37:19 GMT <fwu> this is one of the reasons why the hard-coded way is so tempting... :)

2017-05-18 11:41:33 GMT <fwu> so, where this hiddenTaskTypes is being filled for the tasks-list.js? How can I see this?

2017-05-18 11:51:21 GMT <fwu> nevermind...

2017-05-18 11:51:59 GMT <fwu> worst than say that not a single chnage works at first

2017-05-18 11:52:08 GMT <fwu> is to say that the machine is always right

2017-05-18 11:52:11 GMT <fwu> :P

2017-05-18 11:52:33 GMT <fwu> i forgot the minified file

2017-05-18 12:22:56 GMT <fwu> ppl, where can I see the new user interface for Alfresco (repository and workflow) built in ADF? (It may be the enterprise version screens)

2017-05-18 12:23:08 GMT <fwu> Is there somewhere capture of the screens?

2017-05-18 12:24:34 GMT <fwu> Untill now I was only able to see a login screen...

2017-05-18 12:36:26 GMT <alfbot> douglascrp: Sent 5 hours and 14 minutes ago: <yreg> couldn't find the issues you told me about on bitbucket

2017-05-18 12:52:24 GMT <douglascrp> yreg, hey dude

2017-05-18 12:52:30 GMT <douglascrp> good morning everyone

2017-05-18 13:05:00 GMT <yreg> hi

2017-05-18 13:06:14 GMT <fwu> douglascrp, hello!

2017-05-18 13:10:07 GMT <douglascrp> yreg, so, my feedback was sent using the "Feedback" action on Bitbucket

2017-05-18 13:10:17 GMT <douglascrp> fwu, hey

2017-05-18 13:25:09 GMT <qwebirc38281> Hi Guys

2017-05-18 13:26:01 GMT <qwebirc38281> in order to replace an existing file using the content bootstrap approach we need to know the UUID

2017-05-18 13:28:26 GMT <qwebirc38281> how do I get the UUID if I want to replace a file when alfresco runs for the first time ? (soon after install)

2017-05-18 13:28:38 GMT <qwebirc38281> are there any tricks for this ?

2017-05-18 13:36:56 GMT <qwebirc38281> Well one approach I have in mind is that create new versions of the existin email templates with custom ones as part of patch

2017-05-18 13:37:01 GMT <angelborroy> qwebirc38281 do you mean GenericBootstrapPatch approach?

2017-05-18 13:37:40 GMT <qwebirc38281> http://docs.alfresco.com/5.1/concepts/dev-extensions-modules-bootstrapping-files-spaces-xml.html

2017-05-18 13:37:41 GMT <alfbot> Title: Bootstrapping Files/Spaces using XML | Alfresco Documentation (at docs.alfresco.com)

2017-05-18 13:38:14 GMT <qwebirc38281> this is to create a new template, I want to replace an existing template

2017-05-18 13:40:34 GMT <angelborroy> qwebirc38281 try this https://github.com/ITDSystems/alvex-inform-policy-extension/blob/master/repo/src/main/amp/config/alfresco/module/inform-policy/context/bootstrap-context.xml

2017-05-18 13:40:35 GMT <alfbot> Title: alvex-inform-policy-extension/bootstrap-context.xml at master · ITDSystems/alvex-inform-policy-extension · GitHub (at github.com)

2017-05-18 13:41:07 GMT <angelborroy> and this https://github.com/ITDSystems/alvex-inform-policy-extension/blob/master/repo/src/main/amp/config/alfresco/module/inform-policy/bootstrap/config_email_templates.xml

2017-05-18 13:41:08 GMT <alfbot> Title: alvex-inform-policy-extension/config_email_templates.xml at master · ITDSystems/alvex-inform-policy-extension · GitHub (at github.com)

2017-05-18 13:41:23 GMT <angelborroy> I’ve been using it, but I didn’t care that UUID was required

2017-05-18 13:41:39 GMT <angelborroy> probably because this sample is adding a content but not replacing it

2017-05-18 13:42:03 GMT <qwebirc38281> hmm yes

2017-05-18 13:42:05 GMT <qwebirc38281> http://docs.alfresco.com/4.2/concepts/dev-extensions-modules-import-strategy.html

2017-05-18 13:42:06 GMT <alfbot> Title: Import strategy | Alfresco Documentation (at docs.alfresco.com)

2017-05-18 13:43:05 GMT <qwebirc38281> this link is for replacing an existing file, but this approach requires UUID

2017-05-18 13:43:14 GMT <yreg> douglascrp, that sends feedback to Atlissian regarding your thoughts on their product

2017-05-18 13:43:25 GMT <angelborroy> qwebirc38281 you can change for FTL instead of uuid

2017-05-18 13:43:36 GMT <angelborroy> by using directly templates instead of ACPs

2017-05-18 13:43:40 GMT <qwebirc38281> how ?

2017-05-18 13:43:40 GMT <yreg> I told you you should either open an issue or send me an email

2017-05-18 13:43:53 GMT <yreg> Hello angelborroy, good seeing you around !

2017-05-18 13:44:09 GMT <angelborroy> I’m on the train :)

2017-05-18 13:44:20 GMT <angelborroy> All week teaching Alfresco away from home

2017-05-18 13:44:40 GMT <angelborroy> and I have to leave now

2017-05-18 13:44:51 GMT <angelborroy> sorry for that

2017-05-18 13:55:30 GMT <fwu> AFaust, are you there? To overwrite a class file using the /alfresco/WEB-INF/classes, does the file needs to be in the same folder structure as in the jar file?

2017-05-18 13:55:44 GMT <AFaust> yes

2017-05-18 14:02:48 GMT <douglascrp> yreg, newbie mistake :D

2017-05-18 14:08:28 GMT <fwu> starting with the name of the jar?

2017-05-18 14:08:34 GMT <fwu> or exclufing it?

2017-05-18 14:10:01 GMT <yreg> fwu, starting from package

2017-05-18 14:10:46 GMT <yreg> I assume, in your case, it would be : org/alfresco/..../SomeClass.class

2017-05-18 14:11:10 GMT <yreg> be careful, if you have some inner classes, you need to include them as well

2017-05-18 14:11:46 GMT <fwu> this is for the WorkflowInstancesGet.java

2017-05-18 14:14:25 GMT <fwu> I will try that thank you

2017-05-18 14:33:00 GMT <fwu> nice, it is working. hank you AFaust and yreg

2017-05-18 14:34:04 GMT <yreg> fwu, but you should not extend alfresco that way, you should have created a new class, and override the existing bean

2017-05-18 14:34:27 GMT <yreg> what you did is usually considered as a dirty patch

2017-05-18 15:02:43 GMT <fwu> yreg, great :)

2017-05-18 15:03:37 GMT <fwu> I call it a fast working patch!

2017-05-18 15:04:05 GMT <fwu> and the customers may change it, migrating for the 5.2 version... :)

2017-05-18 15:32:32 GMT <fwu> ppl, in a javascript file that I put inside the script folder, I have document.name and document.activeWorkflows

2017-05-18 15:32:57 GMT <fwu> how can I access to a custom property from the document in context?

2017-05-18 15:33:07 GMT <fwu> document.properties?

2017-05-18 15:42:51 GMT <douglascrp> fwu, document.properties["custom:type"]

2017-05-18 16:02:08 GMT <fwu> douglascrp, great! Thank you!

2017-05-18 17:12:22 GMT <douglascrp> AFaust, the log snapshot feature is awesome

2017-05-18 17:19:47 GMT <AFaust> Thanks for the feedback. There may still be some improvements coming to that...

End of Daily Log

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