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-07 08:04:30 GMT <digcat> morning all, just a quick one, has anybody been able to view the videos on this page ? https://community.alfresco.com/docs/DOC-6808-alfresco-one-52-share-intro

2017-04-07 08:04:32 GMT <alfbot> Title: Share enhancements in Alfresco Content Services... | Alfresco Community (at community.alfresco.com)

2017-04-07 08:13:24 GMT <yreg> Hey Daren, I confirm that all of these videos are working for me

2017-04-07 08:14:34 GMT <digcat> morning yreg,

2017-04-07 08:14:41 GMT <digcat> thanks for checking, are you logged in

2017-04-07 08:16:18 GMT <yreg> Morning digcat

2017-04-07 08:16:19 GMT <yreg> Yes

2017-04-07 08:17:08 GMT <digcat> hmm, so these videos only available to enterprise customers?

2017-04-07 08:17:19 GMT <digcat> im logged in but still seeing not authorised on those videos

2017-04-07 08:18:04 GMT <yreg> maybe you need to be logged in in youtube ?

2017-04-07 08:18:08 GMT <yreg> I do not know

2017-04-07 08:18:24 GMT <yreg> let me check the youtube links for you to see if you can access them

2017-04-07 08:18:47 GMT <yreg> https://www.youtube.com/watch?v=WklphjnPcLE for instance

2017-04-07 08:19:21 GMT <digcat> hmm i can see that youtube link fine

2017-04-07 08:20:34 GMT <digcat> maybe a jive 'feature'

2017-04-07 08:21:09 GMT <digcat> if they are on youtube, i can go through the source i guess to locate the urls, painful

2017-04-07 08:22:55 GMT <AFaust> It definitely is a Jive feature. I just verified the behaviour when I was not logged into Jive and after logging in those videos play

2017-04-07 08:26:24 GMT <digcat> morning Afaust, ive tried logging into jive, but still get that Unauthorised access, are you logged into a youtube account

2017-04-07 08:27:49 GMT <AFaust> Well - yes, I am basically always logged in for Google-based services

2017-04-07 08:28:32 GMT <digcat> ahh ok so that might be the missing piece, will confirm

2017-04-07 08:28:36 GMT <AFaust> But the fact that it was reported as "unauthorized" when I was not logged in to Jive really pointed to a Jive issue

2017-04-07 08:30:48 GMT <digcat> yeah still seeing Unauthorised on all those video links

2017-04-07 08:30:58 GMT <digcat> even when im logged in to jive and youtube

2017-04-07 08:31:06 GMT <digcat> but can get to urls on youtube

2017-04-07 08:38:53 GMT <fcorti> Hi "digcat on european timezone" :-)

2017-04-07 08:39:19 GMT <fcorti> we knew about the fact that the video are available to logged users only

2017-04-07 08:39:27 GMT <digcat> hi francesco, sorry been trying to get to the bottom of these unauthorised videos

2017-04-07 08:39:36 GMT <digcat> so im logged into jive

2017-04-07 08:39:40 GMT <fcorti> (and Kristen is trying to work with Jive support)

2017-04-07 08:39:45 GMT <fcorti> no problem, you are right

2017-04-07 08:39:46 GMT <digcat> is this only for enterprise custoemers then

2017-04-07 08:39:59 GMT <fcorti> no

2017-04-07 08:40:08 GMT <digcat> ok so a jive feature

2017-04-07 08:40:14 GMT <fcorti> yes

2017-04-07 08:41:01 GMT <digcat> ok, yreg showed me that the youtube links is a way to get to them, so can do that now, so no stress, good your onto it :)

2017-04-07 08:41:25 GMT <fcorti> mmm... maybe I could add the link to youtube to the post

2017-04-07 08:41:43 GMT <digcat> yeah, that would be helpful, save trying to pull out from the source

2017-04-07 08:41:51 GMT <fcorti> ok... will do now

2017-04-07 08:43:39 GMT <digcat> ta

2017-04-07 08:45:27 GMT <fcorti> Ok, done

2017-04-07 08:45:35 GMT <fcorti> now the links are in clear under the videos

2017-04-07 08:45:36 GMT <digcat> thankyou

2017-04-07 08:45:40 GMT <fcorti> ;-)

2017-04-07 10:23:51 GMT <fwu> hello all!

2017-04-07 11:59:54 GMT <Loftux> Is there any more documentation available for SDK3? Such as how to package as an amp? Or as I want to do it, a war with all amp dependencies applied. Maybe just stick with SDK2.

2017-04-07 12:52:18 GMT <fcorti> Loftux not as much as we want... being concrete: the alfresco docs + Ole's post is everything (sad so say)

2017-04-07 12:52:35 GMT <fcorti> Of course we will do more but we are struggling with the schedule and the various things to do

2017-04-07 12:54:12 GMT <yreg> Loftux, did you check that old guide of Martin ?

2017-04-07 12:55:22 GMT <Loftux> yreg: Not aware of that one, where can you find it?

2017-04-07 12:56:18 GMT <Loftux> fcorti: Thanks, could be good to release some draft guides anyway, better than nothing.

2017-04-07 12:56:27 GMT <ohej> I'm reluctant to socialise it too much as it is outdated and in some instances has wrong information (a few of the properties was renamed for example), and it's fairly incomplete

2017-04-07 12:56:45 GMT <ohej> but we're amongst friends so with that disclaimer in place https://docs.google.com/document/d/1p5QR1Q8pVvMT9fh_aID5nraD5NP6ZrU1ztcgE_zHR-4/pub

2017-04-07 12:56:46 GMT <alfbot> Title: Alfresco SDK 3.0 Beta - User Guide (at docs.google.com)

2017-04-07 12:57:08 GMT <fcorti> Thank you ohej... really valuable

2017-04-07 12:57:22 GMT <ohej> for example it doesn't cover much about building AMPs or anything about integration testing

2017-04-07 12:58:33 GMT <Loftux> ohej: Thanks, well at leas it is something to get started with. I got your disclaimer, so won't complain :)

2017-04-07 13:00:02 GMT <ohej> great :)

2017-04-07 13:00:11 GMT <ohej> The problem is however that it doesn't really cover the question you asked

2017-04-07 13:00:45 GMT <ohej> but overall guidance: All the archetypes has the assembly in the pom, but commented out. Remove the comments and doing the build will produce both the JAR and the AMP

2017-04-07 13:01:00 GMT <ohej> the assembly.xml is part of your project so you have full control over the layout and how it builds the AMP

2017-04-07 13:01:59 GMT <ohej> as for building your war, the plugin actually builds a war file behind the scenes but it's not exposed in the target directory

2017-04-07 13:02:27 GMT <ohej> so once approach would be to create a maven module in your project and use the war overlay approach from 2.2, which should still work

2017-04-07 13:02:53 GMT <ohej> all though I have to say that is not a use case I have tested but more than happy to go over it whenever I find some time

2017-04-07 13:08:41 GMT <Loftux> ohej: Cool, now got both and amp and a jar by just uncommenting the assembly xml.

2017-04-07 13:10:48 GMT <ohej> Loftux: then the next step, if you need to override stuff from inside the AMP, you may need to tweak the assembly because by default it will just wrap your JAR and add 3rd party libs in there, along with a file-mappings

2017-04-07 13:11:08 GMT <mbui> Hey, how do I correctly run two transactions in sequence? I've tried just creating two "doInTransaction" after eachother but I sometime get concurrencyFailureException. Any idea?

2017-04-07 13:11:22 GMT <ohej> there's also the web-folder that may be useful, but again, this is an area where we need to provide som documentation and guidance. But essentially you have full freedom over the way your AMP is built - which you didn't have in the past ;)

2017-04-07 13:11:57 GMT <Loftux> ohej: Yay Freedom!

2017-04-07 13:16:05 GMT <Loftux> ohej: Hmm, since I in dev run from the "jar" I cannot get amp-based dependencies pulled in to test the full stack?

2017-04-07 13:17:44 GMT <ohej> yes, in the platformModules and shareModules you can specify the type

2017-04-07 13:18:28 GMT <Loftux> And it will automatically be applied? If so your good at this ;)

2017-04-07 13:18:49 GMT <ohej> yes

2017-04-07 13:19:01 GMT <ohej> ie

2017-04-07 13:19:04 GMT <ohej> <moduleDependency>

2017-04-07 13:19:04 GMT <ohej> <groupId>${project.groupId}</groupId>

2017-04-07 13:19:04 GMT <ohej> <artifactId>aio-share-jar</artifactId>

2017-04-07 13:19:04 GMT <ohej> <version>${project.version}</version>

2017-04-07 13:19:04 GMT <ohej> <type>amp</type>

2017-04-07 13:19:04 GMT <ohej> </moduleDependency>

2017-04-07 13:23:49 GMT <Loftux> -= THIS MESSAGE NOT LOGGED =-

2017-04-07 13:24:05 GMT <ohej> -= THIS MESSAGE NOT LOGGED =-

2017-04-07 14:14:07 GMT <mrks_js> does anybody know if https://issues.alfresco.com/jira/browse/MNT-17113 is fixed in 201702 GA?

2017-04-07 14:14:29 GMT <mrks_js> ahh.. nevermind

2017-04-07 14:14:31 GMT <mrks_js> it does

2017-04-07 14:14:41 GMT <mrks_js> affect 02 too

2017-04-07 15:07:52 GMT <fwu> ppl, anyone knows who to add an item menu on the left menu in the admin tools page?

2017-04-07 15:08:04 GMT <fwu> how instead of who..

2017-04-07 15:09:58 GMT <yreg> fwu, the webscript for the right side of the page should have a special family and the id of the webscript should be used to localize the link name

2017-04-07 15:10:08 GMT <yreg> let me lookup an example for you

2017-04-07 15:11:03 GMT <yreg> fwu, https://github.com/softwareloop/uploader-plus/blob/master/surf/src/main/amp/config/alfresco/site-webscripts/com/softwareloop/uploader-plus/uploader-plus-admin.get.desc.xml

2017-04-07 15:11:04 GMT <alfbot> Title: uploader-plus/uploader-plus-admin.get.desc.xml at master · softwareloop/uploader-plus · GitHub (at github.com)

2017-04-07 15:11:20 GMT <yreg> feel free to browse other files from the same folder as well

2017-04-07 15:19:33 GMT <fwu> ok, yreg. I will look at it. thank you!

2017-04-07 17:12:41 GMT <fwu> yregaieg, regarding the admin menu item. I only want to add an item there to then open a web page in a new window. So I dont have any webscript

2017-04-07 17:14:05 GMT <fwu> so, isnt there a config file where I can add a menu entrance with an explicit link?

2017-04-07 17:14:16 GMT <yregaieg> no

2017-04-07 17:17:23 GMT <yregaieg> no config

2017-04-07 17:17:37 GMT <yregaieg> but you could override a webscript

2017-04-07 17:17:41 GMT <yregaieg> to do it

2017-04-07 17:18:25 GMT <fwu> ok, so every entrance in that left menu comes from webscript config, right?

2017-04-07 17:18:39 GMT <yregaieg> yes

2017-04-07 17:19:55 GMT <yregaieg> fwu see this https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/console/console-tools.get.js

2017-04-07 17:19:56 GMT <alfbot> Title: share/console-tools.get.js at master · Alfresco/share · GitHub (at github.com)

2017-04-07 17:20:21 GMT <fwu> ok yreg, thank you again!

2017-04-07 22:40:18 GMT <fwu> hi all!

2017-04-07 23:15:45 GMT <fwu> douglascrp, what is the param to set to make the control readonly?

End of Daily Log

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