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

2019-03-07 07:30:34 GMT <alfresco-discord> <Chandu> Hello All

2019-03-07 07:30:57 GMT <alfresco-discord> <Chandu> Where can i get Alfresco community 5.2.e SDK?

2019-03-07 07:31:08 GMT <alfresco-discord> <Chandu> Can you please suggest me

2019-03-07 08:43:42 GMT <alfresco-discord> <MorganP> https://docs.alfresco.com/5.2/concepts/sdk-getting-started.html

2019-03-07 08:43:44 GMT <alfbot> Title:Getting started with Alfresco SDK 3.0 | Alfresco Documentation (at docs.alfresco.com)

2019-03-07 08:43:59 GMT <alfresco-discord> <Alfresco User> @Chandu follow the SDK setup guide. We need to create a new maven all in one archetype. Pretty easy from there onwards.

2019-03-07 08:51:27 GMT <alfresco-discord> <Alfresco User> @jpotts I have started writing unit test cases for both Java and JavaScript based webscript. I was able to write one successfully for Java based ones. I am unable to mock the http client correctly for the JavaScript ones. I am sure I got something basic wrong. I was wondering if there are any tutorials or blog posts from any anyone of you. I really need a reference for my task. Kindly suggest

2019-03-07 08:51:27 GMT <alfresco-discord> one.

2019-03-07 08:52:15 GMT <alfresco-discord> <Alfresco User> @jpotts I have started writing unit test cases for both Java and JavaScript based webscript. I was able to write one successfully for Java based ones. I am unable to mock the http client correctly for the JavaScript ones. I am sure I got something basic wrong. I was wondering if there are any tutorials or blog posts from any anyone of you. I really need a reference for my task. Kindly suggest

2019-03-07 08:52:15 GMT <alfresco-discord> one.

2019-03-07 09:25:36 GMT <alfresco-discord> <new-user> Is anyone else facing hotswap issue with sdk4 ?

2019-03-07 09:26:15 GMT <alfresco-discord> <new-user> Here is the GitHub link https://github.com/Alfresco/alfresco-sdk/issues/543

2019-03-07 09:26:16 GMT <alfbot> Title:HotSwap capability for SDK4 beta does not work · Issue #543 · Alfresco/alfresco-sdk · GitHub (at github.com)

2019-03-07 09:28:23 GMT <angelborroy> hotswap does not work with SDK4

2019-03-07 09:28:29 GMT <angelborroy> And IMO is not going to work anymore

2019-03-07 09:31:57 GMT <alfresco-discord> <new-user> oh okay

2019-03-07 09:33:31 GMT <alfresco-discord> <new-user> @angelborroy what is the other alternative ? any idea ?

2019-03-07 09:33:54 GMT <angelborroy> jrebel

2019-03-07 09:38:39 GMT <alfresco-discord> <new-user> okay thanks 😃

2019-03-07 09:46:47 GMT <alfresco-discord> <AHT> Hi all!

2019-03-07 09:50:25 GMT <alfresco-discord> <drazen04> Hi guys, someone can help me with audit? I enable it on alfresco-global.properties in tomcat\shared\classes, but if i make the call "http://localhost:8080/alfresco/service/api/audit/control" on postman, it retrieves me {"enabled": false}

2019-03-07 10:13:39 GMT <alfresco-discord> <digcat> hi @drazen04 is that on community or enterprise? dont forget on community you would need to do a restart

2019-03-07 10:18:28 GMT <alfresco-discord> <drazen04> Yes, it is community. I made a test-audit. xml linked on action button to get audit for a specific nodeRef and it worked fine, then i changed the name of the xml and related references, from that point on alfresco seems not to read properly the alfresco global properties

2019-03-07 10:19:55 GMT <alfresco-discord> <digcat> and what version are you running?

2019-03-07 10:20:46 GMT <alfresco-discord> <drazen04> Alfresco 5.2

2019-03-07 10:24:04 GMT <alfresco-discord> <digcat> ok, ive not tried linking an action button, other maybe have, ive enabled audit on 5.2 and it seemed to do what i needed at the time. others may give you more input

2019-03-07 10:28:07 GMT <alfresco-discord> <drazen04> The funny thing is that on "http://localhost:8080/alfresco/service/api/audit/control" gives me {"enabled: false"} but if do call "http://localhost:8080/alfresco/service/api/audit/query/decathlon-audit?verbose=true" on postman gives me results that i expected

2019-03-07 10:31:27 GMT <alfresco-discord> <drazen04> Java gives me this error: 2019-03-07 11:29:34,554 ERROR audit.model.AuditModelRegistryImpl Failed to load audit model: file:/C:/alfresco-community/tomcat/shared/classes/alfresco/extension/audit/myapplication.xml org.alfresco.repo.audit.model.AuditModelException: 02070024 Audit application key 'myapplication' is used by: AuditApplication[ name=myapplication, id=5, disabledPathsId=5310]

2019-03-07 10:37:59 GMT <alfresco-discord> <bhagyas> @drazen04 would recommend staying away from Audit, due to deprecation risk

2019-03-07 10:38:24 GMT <alfresco-discord> <bhagyas> maybe a good idea to start looking at kafka and an elk stack for purpose built auditing

2019-03-07 10:45:31 GMT <alfresco-discord> <drazen04> I'm reading about it, seems interesting, but adding the audit section is a task for work so i think will be hard to suggest something else

2019-03-07 10:55:36 GMT <alfresco-discord> <AHT> Hi again, I have to introduce some metadata into our MS Word .doc (note is .doc and not .docx) documents uploaded to alfresco . Its possible to do that using alfresco out of the box , for example using a transformer or something like that?? Any tip will be appreciated 😄 Thank you guys 😃

2019-03-07 10:56:40 GMT <angelborroy> @AHT so you want to copy Alfresco Metadata into Word Properties, right?

2019-03-07 10:58:16 GMT <alfresco-discord> <AHT> into word content

2019-03-07 10:58:43 GMT <angelborroy> afaik Tika only supports to parse metadata from Word, but it has no feature to modify Word properties nor content

2019-03-07 10:59:05 GMT <angelborroy> If you are looking for templates and metadata combination, there are different solutions out there

2019-03-07 10:59:17 GMT <angelborroy> But nothing out-of-the-box

2019-03-07 11:00:33 GMT <alfresco-discord> <AHT> add a new page into the doc with the metadata... the idea is.. when someone prints the document.. know the doc version.. so i have to add it to footer.. or a watermark or a new page of metadata...

2019-03-07 11:01:55 GMT <angelborroy> You have to develop that by yourself

2019-03-07 11:02:46 GMT <alfresco-discord> <AHT> I started creating a behaviour to catch AfterCreateVersion... and using apache poi add the info... but in complex word with a lot styles apache poi doesnt work...

2019-03-07 11:03:09 GMT <angelborroy> Yes

2019-03-07 11:03:26 GMT <angelborroy> I usually create a PDF Rendition and perform all this operations using that file type

2019-03-07 11:03:29 GMT <angelborroy> It’s easier

2019-03-07 11:03:54 GMT <alfresco-discord> <AHT> and then change it again to .doc ?

2019-03-07 11:04:26 GMT <angelborroy> Nope

2019-03-07 11:04:30 GMT <angelborroy> Just working with PDFs

2019-03-07 11:05:11 GMT <angelborroy> IMO it’s not the right approach to manipulate MS Office files

2019-03-07 11:05:35 GMT <angelborroy> It has been always complex if you want to create “free” new content

2019-03-07 11:09:35 GMT <alfresco-discord> <AHT> I have read something about a possibility to call libreOffice / OpenOffice to make this possible...

2019-03-07 11:10:40 GMT <alfresco-discord> <AHT> Im working now around that idea.. .. at last another idea could be what you said.. change it to PDF or docx.. both are easy to add content...

2019-03-07 11:11:29 GMT <alfresco-discord> <AHT> Thank you a lot for your help @angel.borroy

2019-03-07 11:11:34 GMT <alfresco-discord> <AHT> 😃

2019-03-07 12:53:47 GMT *** angelborroy_ is now known as angelborroy

End of Daily Log

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