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-02-26 05:48:53 GMT *** HSeritt is now known as HarlinS

2018-02-26 06:37:27 GMT <divya> hi all

2018-02-26 06:38:02 GMT <divya> I am trying to find the mimetype of a node in share-side js in alfresco

2018-02-26 06:38:28 GMT <divya> So,I added the following lines in node-header.get.js

2018-02-26 06:39:10 GMT <divya> var mimeType = model.nodeRef.mimetype;

2018-02-26 06:39:25 GMT <divya> logger.log("mimetype is" + mimeType);

2018-02-26 06:40:22 GMT <divya> but the value of variable mimeType is coming to be undefinded.

2018-02-26 06:40:47 GMT <divya> I can't figure out the reason why this is so

2018-02-26 06:41:10 GMT <divya> can anyone please help me on this

2018-02-26 06:43:17 GMT <divya> I am trying to find the mimetype of a node in share-side js in alfresco

2018-02-26 06:43:26 GMT <divya> So,I added the following lines in node-header.get.js

2018-02-26 06:43:38 GMT <divya> var mimeType = model.nodeRef.mimetype;

2018-02-26 06:43:48 GMT <divya> logger.log("mimetype is" + mimeType);

2018-02-26 06:43:58 GMT <divya> but the value of variable mimeType is coming to be undefinded.

2018-02-26 06:44:11 GMT <divya> I can't figure out the reason why this is so

2018-02-26 07:13:27 GMT <HarlinS> divya: I think mimetype is the property of a document rather than a node and I kind of doubt that it's a property of a nodeRef itself.

2018-02-26 07:14:54 GMT <HarlinS> so if you can create a document from say, model.document maybe it can be extracted as model.document.mimetype

2018-02-26 07:15:51 GMT <divya> Harlin,I don't think think so

2018-02-26 07:16:18 GMT <divya> because the noderef.mimetype is working properly on repo side

2018-02-26 07:17:28 GMT <divya> hey Loftux,does nodeRef.mimetype not works on share side

2018-02-26 07:18:16 GMT *** HarlinS_ is now known as HarlinS

2018-02-26 07:57:04 GMT <Loftux> divya: Correct

2018-02-26 08:08:25 GMT <yreg> Morning everyone !

2018-02-26 08:19:47 GMT <Loftux> Is there an issue with AOS (1.1.6) where creating folders from windows explorer fails? I.e you create a folder and give it a name, it gets created but is created as "new folder" (not the name given), and only shows after refresh.

2018-02-26 08:20:13 GMT <Loftux> Thinking this is just because webdav in windows in general is shitty.

2018-02-26 08:29:06 GMT <yreg> loftux

2018-02-26 08:29:22 GMT <yreg> if you use fiddler or alike you might be able to debug this further

2018-02-26 08:30:10 GMT <yreg> it doesn't have any problem recording and inspecting https traffic

2018-02-26 08:32:30 GMT <Loftux> yreg: Thanks, I'll look into that

2018-02-26 08:58:34 GMT *** ChanServ sets mode: +o fcorti

2018-02-26 09:00:09 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com Channel help: https://community.alfresco.com/ Official support for Enterprise subscribers: http://support.alfresco.com. Next event is Tech Talk Live #114, the 14th of March (more details soon)."

2018-02-26 09:26:42 GMT <Sumit> Hi, Where I can find "create ticket" webscript to override with additional parmeters?

2018-02-26 09:27:20 GMT <yreg> Sumit, what are you trying to do

2018-02-26 09:31:28 GMT <Sumit> I want ticket generation after validation of my custom addition parameters then username and password.

2018-02-26 09:32:08 GMT <Sumit> Thanks for the reply.

2018-02-26 09:34:34 GMT <angelborroy> Sumit probably you can override org.alfresco.repo.web.scripts.bean.LoginPost.jav

2018-02-26 09:34:41 GMT <angelborroy> jav > java

2018-02-26 09:35:56 GMT <angelborroy> this class is implementing webscript webscript.org.alfresco.repository.login.post

2018-02-26 09:38:18 GMT <Sumit> Yes @angelborroy, This can have a starting check of validating additional parameters.

2018-02-26 09:39:31 GMT <Sumit> I hope there will not be any bypass of (alfresco/api/-default-/public/authentication/versions/1/tickets)

2018-02-26 09:40:32 GMT <yreg> Sumit, what is your custom validation for ?

2018-02-26 09:41:24 GMT <yreg> something like 2 factor authentication or more like validation of some facts within the repo ?

2018-02-26 09:41:45 GMT <Sumit> I am going to validate with OTP

2018-02-26 09:49:22 GMT <Sumit> Thanks @angelborroy and @yreg.

2018-02-26 10:38:27 GMT <yreg> Sumit, it's probably best to setup a wrapper/interceptor on the service responsible for the authentication and where you check against the one-time password when it exists, otherwise fall-through to the OOTB logic, that way you wouldn't care about which API is your entry-point

2018-02-26 12:01:54 GMT <digcat> hi @fcorti hope the little isnt keeping you up too much, and all is well. just a quick one, noticed the nightlies page is down, is this something temporary?

2018-02-26 12:02:16 GMT <digcat> http://alf-community-nightly.s3-website-eu-west-1.amazonaws.com/

2018-02-26 12:02:17 GMT <alfbot> Title: Alfresco Community Edition - Nightly builds (at alf-community-nightly.s3-website-eu-west-1.amazonaws.com)

2018-02-26 12:02:32 GMT <fcorti> morning digicat

2018-02-26 12:02:51 GMT <fcorti> yes, I'm fine and the baby is going great

2018-02-26 12:03:36 GMT <fcorti> mmm... let me ask internally

2018-02-26 12:25:45 GMT <digcat> thankyou

2018-02-26 12:32:38 GMT <hiten> Hi Guys

2018-02-26 12:33:31 GMT <hiten> Recently I have started facing issue with soffice connection with my repo project on SDK 3.0

2018-02-26 12:33:43 GMT <hiten> https://pastebin.com/tJvvniDx this is the error I get

2018-02-26 12:33:44 GMT <alfbot> Title: soffice_error - Pastebin.com (at pastebin.com)

2018-02-26 12:34:08 GMT <hiten> anyone who have faced this please let me know how did you resolved

2018-02-26 12:56:14 GMT <yreg> ~later tell hiten when you use the SDK you do not have 3rd party libraries on board like if you have had actually used the installer to use alfresco; for that subsystem to work with the SDK you should pre-install the third libs on your system (in this case libreoffice) and configure your project correctly to point to them

2018-02-26 12:56:14 GMT <alfbot> yreg: The operation succeeded.

2018-02-26 13:23:25 GMT <alfbot> resplin: Sent 2 days, 5 hours, and 9 minutes ago: <digcat> hi richard, just watched office hours, interesting to see more on roadmap plans, question re the desire to hit version 7 by 2019, at each major version change do customers need to pay an 'upgrade fee' ? of course the changes would require work

2018-02-26 13:23:57 GMT <digcat> hi resplin, its ok axel enlightened me from earlier conversations

2018-02-26 13:24:04 GMT <digcat> hope all well your end

2018-02-26 13:25:09 GMT <resplin> digcat: Upgrades are included with an ACS subscription, and new releases do not change the support status of previous releases.

2018-02-26 13:25:24 GMT <digcat> yes, thats what i learnt :)

2018-02-26 13:25:28 GMT <resplin> digcat: Things are going well. Always lots to do, but it's a fun project to be involved with.

2018-02-26 13:25:36 GMT <resplin> Did your project in January go well?

2018-02-26 13:26:01 GMT <digcat> still going, plus family

2018-02-26 13:26:09 GMT <digcat> sounds like i missed a great event

2018-02-26 13:27:13 GMT <digcat> are alfresco looking for a new ceo now ? or is Doug doing the moon lighting event :0)

2018-02-26 13:27:25 GMT <resplin> Looking for a new CEO.

2018-02-26 13:28:35 GMT <digcat> the forward info re the road map is good,

2018-02-26 13:29:05 GMT <resplin> Now we need to execute! grin

2018-02-26 13:29:34 GMT <digcat> yes,

2018-02-26 13:30:02 GMT <digcat> i bugged francesco re the nightlys btw, dont suppose if you know if they are coming back

2018-02-26 13:30:16 GMT <digcat> http://alf-community-nightly.s3-website-eu-west-1.amazonaws.com/

2018-02-26 13:30:17 GMT <alfbot> Title: Alfresco Community Edition - Nightly builds (at alf-community-nightly.s3-website-eu-west-1.amazonaws.com)

2018-02-26 13:30:40 GMT <resplin> Francesco reached out to me about that this morning. We made some IT changes, and it looks like we broke that. sigh

2018-02-26 13:30:52 GMT <digcat> hehe yep

2018-02-26 13:31:01 GMT <digcat> but can we expect them to return?

2018-02-26 13:31:34 GMT <fcorti> digicat and resplin hello

2018-02-26 13:31:37 GMT <resplin> I hope so.

2018-02-26 13:31:52 GMT <fcorti> I raised an internal ticket for the broken link

2018-02-26 13:32:02 GMT <resplin> We need to investigate.

2018-02-26 13:33:02 GMT <fcorti> thank you digicat for let us know

2018-02-26 13:33:27 GMT <digcat> ok np

2018-02-26 13:33:48 GMT <digcat> resplin fcorti will you be in london 1st march

2018-02-26 13:34:01 GMT <fcorti> Unfortunately not!

2018-02-26 13:34:19 GMT <fcorti> Mario Romano, Mauricio Salatino and other folks will be there

2018-02-26 13:34:26 GMT <fcorti> are planning to join the meetup?

2018-02-26 13:34:45 GMT <digcat> yes ah shame you cant, hope your home

2018-02-26 13:34:56 GMT <resplin> I also won't be in the UK that week.

2018-02-26 13:34:57 GMT <digcat> yes should be

2018-02-26 13:35:09 GMT * resplin has enjoyed not traveling since DevCon, but realizes that it won't last.

2018-02-26 13:35:24 GMT <digcat> hehe yes, enjoy it while you can

2018-02-26 14:13:18 GMT <owerfelli> Hi all, is there an out of the box webscript that return node type or node properties ?

2018-02-26 14:18:54 GMT <yreg> owerfelli, what Alfresco version are you on ?

2018-02-26 14:19:19 GMT <owerfelli> Hi yreg, 5.0.d

2018-02-26 14:20:15 GMT <yreg> you have a webscript from the slingshot family that gives back node infos

2018-02-26 14:20:38 GMT <yreg> but AFAIK it's considered as internal and should not be relied upon for being upgrade friendly

2018-02-26 14:21:26 GMT <yreg> you could also use call CMIS call for such information

2018-02-26 14:23:51 GMT <owerfelli> I'm requesting repo, so slingshot is not the solution

2018-02-26 14:25:22 GMT <owerfelli> but CMIS might be a solution

2018-02-26 14:25:48 GMT <yreg> owerfelli, I meant repo webscripts of the family Slingshot

2018-02-26 14:26:06 GMT <owerfelli> ahh

2018-02-26 14:26:13 GMT <owerfelli> ok,

2018-02-26 14:26:29 GMT <owerfelli> can you give me its id

2018-02-26 14:27:01 GMT <yreg> do a quick search in /alfresco/s/index/uri

2018-02-26 14:27:34 GMT <yreg> I do not know such information bu heart <grin>

2018-02-26 14:29:56 GMT <owerfelli> I searched but I can't find it, you remember a key word ?

2018-02-26 14:32:03 GMT <yreg> owerfelli, not sure but I think it's this one /alfresco/s/index/uri/slingshot/doclib/doclist/{type}/node/{store_type}/{store_id}/{id}

2018-02-26 14:33:30 GMT <yreg> note that Lifecycle is internal, meaning that the output might change across alfresco versions

2018-02-26 14:33:55 GMT <yreg> even though IMHO it has been consistent for the past 3 major releases or so

2018-02-26 14:37:19 GMT <yreg> owerfelli, I think that one was for folder listing, this is probably the right one : /alfresco/s/index/uri/slingshot/doclib/node/{store_type}/{store_id}/{id}

2018-02-26 14:42:05 GMT <owerfelli> I think it's that, but the response is 404

2018-02-26 14:45:00 GMT <yreg> owerfelli, that means one of two things: 1 - Node does not exist 2- User does not have enough permissions to see the node

2018-02-26 14:47:00 GMT <owerfelli> yreg, I can receive node content with /alfresco/service/api/node/content/workspace/SpacesStore/595..

2018-02-26 14:49:48 GMT <yreg> double check if you have a typo

2018-02-26 14:49:52 GMT <owerfelli> it ok yreg, just I removed "uri" form the url

2018-02-26 14:50:32 GMT <yreg> ok, I did not give you the URL to be used, I gave you a link to the inspect webscript page

2018-02-26 14:50:46 GMT <owerfelli> like this /alfresco/service/slingshot/doclib/node/workspace/SpacesStore/59573

2018-02-26 14:52:09 GMT <owerfelli> -_-" ah, yess

2018-02-26 14:52:26 GMT <owerfelli> thanks a lot yreg

2018-02-26 14:53:07 GMT <yreg> urw

2018-02-26 15:20:04 GMT <Fiifi> Hi folks!

2018-02-26 15:21:17 GMT <Fiifi> I have noticed that RM community does not the security clearance admin feature!

2018-02-26 15:21:46 GMT <Fiifi> Is it an enterprise only feature?

2018-02-26 15:23:58 GMT <angelborroy> Flifi, RM only in Enterprise are

2018-02-26 15:24:06 GMT <angelborroy> DOD 5015.02

2018-02-26 15:24:12 GMT <angelborroy> Security Marks

2018-02-26 15:24:20 GMT <angelborroy> Classified Contentn and Records

2018-02-26 15:24:27 GMT <angelborroy> Details available at https://www.alfresco.com/platform/content-services-ecm

2018-02-26 15:24:28 GMT <alfbot> Title: Alfresco Content Services | Alfresco (at www.alfresco.com)

2018-02-26 15:24:37 GMT <angelborroy> click on “Full comparison"

2018-02-26 15:27:25 GMT <Fiifi> How can I get a trial RM ?

2018-02-26 15:27:54 GMT <Fiifi> I need it for customer Demo!

2018-02-26 15:28:10 GMT <angelborroy> Probably the easiest is https://community.alfresco.com/community/platform/la/pages/labs-home

2018-02-26 15:28:13 GMT <alfbot> Title: Labs | Alfresco Community (at community.alfresco.com)

2018-02-26 15:28:19 GMT <angelborroy> You can get RM 2.5 Enteprise

2018-02-26 19:34:50 GMT <jpotts> When a folder is deleted (moved to the archive store) it looks like it loses its child associations. If I want to recover a folder and all of its descendants, but I don't know what those descendants were, is that possible?

2018-02-26 19:35:35 GMT <jpotts> Complicating factor is that the trashcan appears to be broken for some reason, so this will have to be done with code.

2018-02-26 20:06:35 GMT <jpotts> Nevermind, I found the archivedNodeService and also an archive web script end point. It seems to be able to figure out how to do a "deep restore" on a folder and its descendants

End of Daily Log

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