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

2018-06-21 01:24:01 GMT <alfresco-discord> <kgastaldo> Addons are back guys. They're all here - https://community.alfresco.com/community/alfresco-addons

2018-06-21 01:24:03 GMT <alfbot> Title:Alfresco Addons | Alfresco Community (at community.alfresco.com)

2018-06-21 01:24:23 GMT <alfresco-discord> <kgastaldo> I'll be rebuilding the landing page to have some lists (popular, newest, etc), but ... done for tonight!

2018-06-21 06:13:22 GMT <allen_> Hello,I have create a Site after opening site I find Site Dashboard and Site Members Options,etc..I want to remove Site Dashboard and site manager option If it is possible please let me know how to do it ?

2018-06-21 06:29:54 GMT <apus> hi, i have a question regarding the 260 character max length of the path in Windows when mapping a WebDAV AOS network drive. I found and activated the group policy option for long paths, however this doesn't seem to have an effect on the WebClient mount. Is there a way to use the special prefix \\?\ to get it mounted differently, so that it works?

2018-06-21 06:33:15 GMT <apus> i found this here, but shortening of AOS urls doesn't work when using a mapped network drive, right? https://issues.alfresco.com/jira/browse/MNT-13869

2018-06-21 09:38:22 GMT <alfresco-discord> <mbui> Would there be any repercussions if you were to increase download.maxContentSize from 2GB to say 20GB, other than being able to download larger files?

2018-06-21 09:40:37 GMT <alfresco-discord> <bhagyas> @mbui is this for zip download?

2018-06-21 09:40:50 GMT <alfresco-discord> <mbui> Yes

2018-06-21 09:42:19 GMT <alfresco-discord> <bhagyas> if (maximumContentSize > 0 && estimator.getSize() > maximumContentSize) { maximumContentSizeExceeded(actionedUponNodeRef, estimator.getSize(), estimator.getFileCount()); }

2018-06-21 09:42:28 GMT <alfresco-discord> <Loftux> @mbui Zipping 20G of files will take a lot of time (and cpu from server)

2018-06-21 09:42:31 GMT <alfresco-discord> <bhagyas> so it will throw an exception upon zip creation

2018-06-21 09:42:48 GMT <alfresco-discord> <bhagyas> Look at CreateDownloadArchiveAction.java

2018-06-21 09:43:33 GMT <alfresco-discord> <bhagyas> it will return a error code to the zip download poller

2018-06-21 09:46:04 GMT <alfresco-discord> <mbui> It wont return error if zip-file is less than the download.maxContentSize property? @bhagyas

2018-06-21 09:52:01 GMT <alfresco-discord> <Loftux> @mbui No, it should work. Note that it is the total size of the files to be zipped, it does an estimation before starting to zip

2018-06-21 09:53:22 GMT <alfresco-discord> <mbui> Are there any other good (i.e. fast/cheap to implement) methods of downloading large files/folders in Alfresco?

2018-06-21 09:54:58 GMT <alfresco-discord> <Loftux> Jeff Potts did a talk on that last Devcon

2018-06-21 09:56:04 GMT <alfresco-discord> <Loftux> @mbui https://www.slideshare.net/jpotts/moving-gigantic-files-into-and-out-of-the-alfresco-repository

2018-06-21 09:56:05 GMT <alfbot> Title:Moving Gigantic Files Into and Out of the Alfresco Repository (at www.slideshare.net)

2018-06-21 09:56:22 GMT <alfresco-discord> <mbui> Of course, I attended that talk. Thanks ๐Ÿ˜ƒ

2018-06-21 10:04:38 GMT <alfresco-discord> <Mark> Am I right to conclude that OAuth 2.0 integration is still only available as third-party plugin OR in APS, not for Content Services?

2018-06-21 10:04:56 GMT <alfresco-discord> <Mark> even if enterprise is an option

2018-06-21 11:25:49 GMT <roudhan> hi all

2018-06-21 11:26:20 GMT <roudhan> how can i get parent group name based on user through javascript

2018-06-21 11:27:38 GMT <angelborroy> a user is a member of a group, right?

2018-06-21 11:27:51 GMT <angelborroy> So a user belongs (or can belong) to more than 1 group

2018-06-21 11:28:06 GMT <angelborroy> Do you want to obtain all the groups an user belongs to?

2018-06-21 11:28:08 GMT <roudhan> i tried this < https://community.alfresco.com/thread/152756-get-the-users-groups > but it gives group hire-achy list

2018-06-21 11:28:10 GMT <alfbot> Title:Get the user's groups | Alfresco Community (at community.alfresco.com)

2018-06-21 11:28:50 GMT <roudhan> the user in hireachy of groups and i want only the parent of that user only.

2018-06-21 11:29:52 GMT <alfresco-discord> <THpubs> Hi @DenysVuika I just tried to write the file I got as the base64 string to the disk, read it const bitmap = new Buffer(base64Content, 'base64'); await fs.writeFileSync(tmp/file.jpg, bitmap);

2018-06-21 11:31:23 GMT <alfresco-discord> <THpubs> Read it using fs.createReadStream, and use that for the upload function just as shown in the API docs https://github.com/Alfresco/alfresco-js-api#upload-file

2018-06-21 11:31:24 GMT <alfbot> Title:GitHub - Alfresco/alfresco-js-api: This project provides a JavaScript client API into the Alfresco REST API and Activiti REST API. (at github.com)

2018-06-21 11:31:31 GMT <alfresco-discord> <THpubs> But still the same error

2018-06-21 11:32:02 GMT <alfresco-discord> <THpubs> Also tried to read a seperate file directly from the disk and send it... same error!

2018-06-21 11:32:09 GMT <roudhan> my user belongs to salesconsultant group and this group is child to teamleader and teamleader is child to salesmanager group, i want only teamleader group name

2018-06-21 11:32:16 GMT <alfresco-discord> <DenysVuika> Yes, I found an issue there too

2018-06-21 11:32:22 GMT <alfresco-discord> <THpubs> Ah ๐Ÿ˜ƒ

2018-06-21 11:33:02 GMT <alfresco-discord> <DenysVuika> You will need the node-friendly version in the future: require('alfresco-js-api-node'); but it needs to be fixed

2018-06-21 11:33:30 GMT <alfresco-discord> <THpubs> Ah I'm already using that!

2018-06-21 11:34:00 GMT <roudhan> <angelborroy> do you have any suggestions to get this.

2018-06-21 11:34:50 GMT <angelborroy> roudhan try this https://pastebin.com/uBJMPGeu

2018-06-21 11:34:51 GMT <alfbot> Title:var userName = "admin"; var user = people.getPerson(userName); var groups = pe - Pastebin.com (at pastebin.com)

2018-06-21 11:42:10 GMT <_proto> hi there. Here a management question: I'm buying the licenses and i have diffentet info in 2 sections:

2018-06-21 11:42:39 GMT <_proto> General information sections says that im buyin 300 users license.

2018-06-21 11:43:02 GMT <_proto> Other extra info. sections says that the number of users is 230

2018-06-21 11:43:26 GMT <alfresco-discord> <Loftux> While checking hot the isSubClass in DictionaryComponent work, I came across this code, it says it should work for both types and aspects, yet the comparison is only for aspects https://github.com/Alfresco/alfresco-data-model/blob/master/src/main/java/org/alfresco/repo/dictionary/DictionaryComponent.java#L251

2018-06-21 11:43:27 GMT <alfbot> Title:alfresco-data-model/DictionaryComponent.java at master ยท Alfresco/alfresco-data-model ยท GitHub (at github.com)

2018-06-21 11:44:10 GMT <_proto> Customer support ppl, isn't answering.

2018-06-21 11:44:19 GMT <_proto> Any idea?

2018-06-21 11:44:30 GMT <alfresco-discord> <Mark> You should probably just call Alfresco sales

2018-06-21 11:47:52 GMT <alfresco-discord> <Loftux> To be more specific, the code i linked to has 'if (classDef.isAspect() == ofClassDef.isAspect())' and it looks like it only would compare aspects, not types, or will isAspect return true even for types ๐Ÿ˜

2018-06-21 11:48:44 GMT <roudhan> <angelborroy> i tried that but i gives all hireachy group details.

2018-06-21 11:49:35 GMT <_proto> thanks alfresco-discord! BB!

2018-06-21 11:58:11 GMT <AFaust> Loftux: That code works for types and aspects. The condition just requires that both QNames refer either to types or aspects only, and there is no mix of type/aspect (a type cannot be a sub-class of an aspect and vice-versa)

2018-06-21 12:00:15 GMT <alfresco-discord> <Loftux> @AFaust Yes, drilling down the code just now this was my conclusion, just didn't know that it doesn't differentiate between aspects and types, and the isAspect implies it does

2018-06-21 12:25:49 GMT * DarkStar1 greet s

2018-06-21 12:26:05 GMT * DarkStar1 greets everyone "Good afternoon guys"

2018-06-21 15:32:44 GMT <angelborroy> is it now the zoom session?

2018-06-21 15:32:47 GMT <angelborroy> where is the link?

2018-06-21 15:35:55 GMT <angelborroy> https://alfresco.zoom.us/my/officehours

2018-06-21 15:35:56 GMT <alfbot> Title:Unsupported Operating System - Zoom (at alfresco.zoom.us)

2018-06-21 15:39:26 GMT <Tichodroma> No web client?

2018-06-21 16:04:23 GMT <alfresco-discord> <Francesco Corti> @everyone : If you have time, Office Hours is going to start at: https://www.alfresco.com/events/webinars/office-hours-every-thursday

2018-06-21 16:04:25 GMT <alfbot> Title:Office Hours (Every Thursday) | Alfresco (at www.alfresco.com)

2018-06-21 16:08:38 GMT <alfresco-discord> <yreg> Is office hours still on?

2018-06-21 16:09:34 GMT <alfresco-discord> <douglascrp> yes

2018-06-21 16:30:37 GMT <alfresco-discord> <yreg> I had to drop out (baby sitting duties)

End of Daily Log

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