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-10-02 06:15:00 GMT <alfresco-discord> <MorganP> Hello everybody. I have a question from a customer: he wants to display only documents that are on a certain language. Like if the browser is using German, then display only German documents on Alfresco. Any idea on that? I don't remember seeing anything that might be related to this

2018-10-02 06:17:44 GMT <yreg> Morning everyone

2018-10-02 06:18:27 GMT <yreg> @MorganP your requirements could easily be covered using open nlp or any tool to detect the language on a document

2018-10-02 06:19:01 GMT <yreg> The idea would be to trigger a behaviour on every content change/upload to detect the language and put it on a metadata

2018-10-02 06:19:15 GMT <yreg> Then filter on a specific language ....

2018-10-02 06:23:48 GMT <alfresco-discord> <MorganP> Yes no I understand this would be possible

2018-10-02 06:24:12 GMT <alfresco-discord> <MorganP> but I don't have the time to develop something for this so I was wondering if there were something out there already

2018-10-02 08:47:34 GMT <alfresco-discord> <bhagyas> MorganP, ping @Loftux

2018-10-02 08:48:44 GMT <alfresco-discord> <bhagyas> AFaust, any thoughts on moving configuration standard to yaml?

2018-10-02 08:53:03 GMT <AFaust> What configurations in particular?

2018-10-02 08:53:39 GMT <AFaust> Global Properties - sure, can be an alternative to deal with those hierarchical property keys

2018-10-02 08:53:55 GMT <alfresco-discord> <bhagyas> yeah, global properties + application properties

2018-10-02 08:54:41 GMT <AFaust> And could likely be added as an addon without sacrificing / overriding default (though one would have to clarify if a *.properties overrides a *.yaml in the same path or vice versa)

2018-10-02 08:54:58 GMT <AFaust> What do you consider "application properties"

2018-10-02 08:55:08 GMT <alfresco-discord> <bhagyas> module properties in general

2018-10-02 08:55:22 GMT <alfresco-discord> <bhagyas> i think the yaml should override properties, since its more explicit

2018-10-02 08:55:23 GMT <AFaust> You mean the module "descriptor" properties

2018-10-02 08:55:52 GMT <alfresco-discord> <bhagyas> yeah, in terms of module configuration properties, which might not in in alf-global.prop

2018-10-02 08:56:01 GMT <AFaust> Apart from descriptor data module.properties does not add anything to the actual "configuration"

2018-10-02 08:56:41 GMT <AFaust> And module configuration properties themselves are already based on alfresco-global.properties, so adding support for that already covers modules

2018-10-02 08:56:55 GMT <AFaust> Unless you actually define custom *.properties files in your modules (why?)

2018-10-02 08:57:29 GMT <alfresco-discord> <bhagyas> customer specific config, build filtered - etc

2018-10-02 08:57:59 GMT <alfresco-discord> <bhagyas> but yeah, should be overridable by alf global anyways

2018-10-02 08:58:14 GMT <AFaust> Not sure I understand why customer specific config couldn't just be global... or what "build filtered" refers to

2018-10-02 08:58:44 GMT <alfresco-discord> <bhagyas> ah, configurations which might reside in the same code, but filtered through maven filtering

2018-10-02 08:58:54 GMT <alfresco-discord> <bhagyas> based on build runtime arguments

2018-10-02 08:59:25 GMT <AFaust> IMHO that would only be relevant for final WAR / Docker image builds, as no module should ever have any config based on build runtime arguments...

2018-10-02 08:59:43 GMT <alfresco-discord> <bhagyas> hypothetically in this case

2018-10-02 09:00:00 GMT <alfresco-discord> <bhagyas> but i mean all config properties, not localising messages

2018-10-02 09:00:05 GMT <alfresco-discord> <bhagyas> except*

2018-10-02 09:02:00 GMT <AFaust> Anyhow... adding YAML support for alfresco-global style config should be trivial. Requires a custom properties factory and a Spring post processor to switch out default with that custom factory, and duplicate file lookup patterns for YAML file extension...

2018-10-02 09:02:15 GMT <AFaust> ...and order lookups correctly for desired overide behvaiour

2018-10-02 09:39:49 GMT <alfresco-discord> <bhagyas> yeah

2018-10-02 09:40:08 GMT <alfresco-discord> <bhagyas> maybe it can be a simple drop-in jar

2018-10-02 12:31:03 GMT <Tichodroma> Is it possible to restore a node from archive://SpacesStore/... back to its original location using the JavaScript API?

2018-10-02 13:03:28 GMT <Tichodroma> nvm

2018-10-02 14:23:58 GMT <yreg> Hey guys, I couldn't register for the ADF webinar later today

2018-10-02 14:24:24 GMT <yreg> Would it be possible to share a link here or something ?

2018-10-02 14:24:49 GMT * yreg looking at @fcorti and @kgastaldo

2018-10-02 14:55:45 GMT <alfresco-discord> <kgastaldo> Hmm, let me see

2018-10-02 14:56:40 GMT <alfresco-discord> <kgastaldo> The registration form is still up - https://www.alfresco.com/events/webinars/webinar-faster-application-development-alfresco

2018-10-02 14:56:42 GMT <alfbot> Title:Live webinar: Faster Application Development with Alfresco (at www.alfresco.com)

2018-10-02 14:56:49 GMT <alfresco-discord> <kgastaldo> I don't think we'll have a link to join without registering.

2018-10-02 14:57:45 GMT <alfresco-discord> <Erik.whipp> I've got a question about Alfresco Share SDK webscripts: I've placed my scripts in share-amp/src/main/amp/config/alfresco/web-extension/site-webscripts/ but when I got to 'http://localhost:8080/alfresco/service/' the webscript does not register. Is it mandatory to place all Share webscripts inside of the Data Dictionary Webscript extension folder for them to register?

2018-10-02 14:58:11 GMT <yreg> @kgastaldo that's the thing I tried registering few time but it keeps loading forever

2018-10-02 14:59:41 GMT <alfresco-discord> <kgastaldo> Hmm, so it never went through - and therefore no email. I just registered and haven't seen the email come through yet either.

2018-10-02 14:59:51 GMT <alfresco-discord> <kgastaldo> I'll register you if you'd like - I have your email.

2018-10-02 15:00:01 GMT <alfresco-discord> <douglascrp> @kgastaldo it is workgin for me

2018-10-02 15:00:04 GMT <alfresco-discord> <douglascrp> I am already in

2018-10-02 15:00:09 GMT <alfresco-discord> <Erik.whipp> Me as well

2018-10-02 15:00:27 GMT <alfresco-discord> <dgradecak> I received an emial correctly yesterday

2018-10-02 15:01:06 GMT <alfresco-discord> <dgradecak> @kgastaldo any new if an ACS webinar would happen soon ?

2018-10-02 15:05:09 GMT <alfresco-discord> <dgradecak> no questions/discussion possible on the "webinar"?

2018-10-02 15:05:25 GMT <alfresco-discord> <douglascrp> you can send questons

2018-10-02 15:07:53 GMT <alfresco-discord> <kgastaldo> I think you have to type questions into the chat - because they have maybe 300 registrants, everyone is muted.

2018-10-02 15:21:03 GMT <yreg> Just got the email

2018-10-02 16:02:15 GMT <alfresco-discord> <dgradecak> just a note on the side, share started as a document application like ACA, just to demonstrate the usage of surf ... and than people wanted extensibility

2018-10-02 16:03:02 GMT <alfresco-discord> <Erik.whipp> What is the best practice for applying custom webscripts to Alfresco Share? In the docs, it states to place the configuration + JS files here share-amp/src/main/amp/config/alfresco/web-extension/site-webscripts/ but I'm finding that my webscripts are not registering unless they are in the Web script extension directory in the Alfresco Data Dictionary. Where should I be placing these? I appreciate

2018-10-02 16:03:02 GMT <alfresco-discord> any help.

2018-10-02 17:13:56 GMT <alfresco-discord> <Erik.whipp> Any suggestions? I have them places in share-amp/src/main/resources/web-extension/site-webscripts/ but they do not get registered unless I place them in the data dictionary

2018-10-02 17:35:38 GMT <alfresco-discord> <douglascrp> when using smart folders, do you guys know about any native way to restrict the fts search by the current site only?

2018-10-02 17:36:01 GMT <alfresco-discord> <douglascrp> I mean, without using a custom property to keep the siteid?

2018-10-02 17:37:21 GMT <alfresco-discord> <douglascrp> I have a query to show the deprecated documents, and I am going do set the smart folder inside the document library, but without such filter, if a user has read permission in more than one site, he will see document that are outside of the current site

2018-10-02 17:40:17 GMT <alfresco-discord> <douglascrp> and I don't want to be forced to use a hard-coded path inside the json file

2018-10-02 17:40:27 GMT <alfresco-discord> <douglascrp> as this would force me to have one json per site

2018-10-02 17:40:54 GMT <alfresco-discord> <douglascrp> I am looking for something like the %ACTUAL_PATH% that can be used for the filling config

2018-10-02 18:21:36 GMT <alfresco-discord> <douglascrp> well, it does not provide any other place holder if not ACTUAL_PATH and CURRENT_USER

2018-10-02 18:21:57 GMT <alfresco-discord> <douglascrp> but it seems it would be easy to include new ones, being one of them, the one I need, which is the CURRENT_SITE

End of Daily Log

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