Alfresco discussion and collaboration. Stick around a few hours after asking a question.
Official support for Enterprise subscribers: support.alfresco.com.
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.
More help is available in this list of resources.
2016-12-27 07:49:49 GMT <alfbot> ohej: Sent 1 week, 0 days, 21 hours, and 28 minutes ago: <yreg> I think most of the sdk materials in docs are outdated and require some polishing, ping me when you are around
2016-12-27 07:52:00 GMT <ohej> ~later tell yreg Regarding SDK docs, are we talking about 2.x? or 3.x? I know it's a mess but let's try and clarify it a bit ;)
2016-12-27 07:52:00 GMT <alfbot> ohej: The operation succeeded.
2016-12-27 07:52:20 GMT <ohej> ~later tell yreg and sorry for the long response time, I've had a few days off around the holidays
2016-12-27 07:52:20 GMT <alfbot> ohej: The operation succeeded.
2016-12-27 11:29:07 GMT <douglascrp> morning guys
2016-12-27 11:31:37 GMT <douglascrp> can anyone take a look at this? https://community.alfresco.com/thread/227385-how-to-include-the-web-preview-component-in-the-edit-metadata-form-on-share-51f
2016-12-27 11:31:39 GMT <alfbot> Title: How to include the web-preview component in the... | Alfresco Community (at community.alfresco.com)
2016-12-27 11:33:53 GMT <angelborroy> douglascrp I don’t know if you are trying this: https://www.dropbox.com/s/n1j39ie0x1jhc6m/html-viewer.zip?dl=0
2016-12-27 11:34:22 GMT <douglascrp> angelborroy, oh, let me see
2016-12-27 11:37:47 GMT <douglascrp> angelborroy, is that to allow pure html content view?
2016-12-27 11:37:58 GMT <angelborroy> right
2016-12-27 11:38:00 GMT <douglascrp> like deas posted another day?
2016-12-27 11:38:02 GMT <douglascrp> ah, nice
2016-12-27 11:38:15 GMT <Loftux> The AOS module is now on 1.1.5. Is there a changelog somewhere to see what has changed?
2016-12-27 11:38:16 GMT <douglascrp> tks for sharing... I'm going to test it
2016-12-27 11:38:17 GMT <angelborroy> it’s ported from share extras
2016-12-27 11:38:29 GMT <douglascrp> angelborroy, but that's not what I tried to achieve on that thread
2016-12-27 11:38:39 GMT <douglascrp> I'm trying to include the previewer in the edit-metadata form
2016-12-27 11:38:51 GMT <douglascrp> in order to allow the user to read the document while he is filling in the properties
2016-12-27 11:38:55 GMT <angelborroy> douglascrp ah, ok, sorry
2016-12-27 11:39:02 GMT <douglascrp> angelborroy, no need to sorry
2016-12-27 11:39:09 GMT <angelborroy> douglascrp nice idea, I haven’t tried that
2016-12-27 11:39:10 GMT <douglascrp> I liked what you shared anyway :D
2016-12-27 11:39:39 GMT <douglascrp> if you read that thread, it has a link to another thread started by Loftux , but for an older version
2016-12-27 11:39:45 GMT <douglascrp> and it doesn't work on 5.1
2016-12-27 11:40:03 GMT <angelborroy> douglascrp sorry, not enought time today for analyizing that
2016-12-27 11:40:10 GMT <douglascrp> angelborroy, that's ok
2016-12-27 11:40:12 GMT <douglascrp> don't worry
2016-12-27 11:40:58 GMT <Loftux> douglascrp: I have that, a custom control that shows the preview in a form :)
2016-12-27 11:41:07 GMT <douglascrp> angelborroy, is the code you shared with me available publicly?
2016-12-27 11:41:20 GMT <douglascrp> Loftux, ah, I see
2016-12-27 11:41:31 GMT <douglascrp> Loftux, do you see any problem with the code I posted?
2016-12-27 11:41:36 GMT <angelborroy> douglascrp not, because it’s alpha status
2016-12-27 11:41:52 GMT <douglascrp> it's basically the same thing as you posted in the other one, including some of the suggestion the other guy gave
2016-12-27 11:41:59 GMT <douglascrp> angelborroy, ok, got it
2016-12-27 11:42:01 GMT <Loftux> Not sure what code you are referring to, just dropped into the conversation.
2016-12-27 11:42:11 GMT <douglascrp> Loftux, https://community.alfresco.com/thread/227385-how-to-include-the-web-preview-component-in-the-edit-metadata-form-on-share-51f
2016-12-27 11:42:13 GMT <alfbot> Title: How to include the web-preview component in the... | Alfresco Community (at community.alfresco.com)
2016-12-27 11:42:17 GMT <douglascrp> if was just before you entered the chat
2016-12-27 11:42:18 GMT <douglascrp> :D
2016-12-27 11:42:36 GMT <douglascrp> my link, and then "Loftux has joined"
2016-12-27 11:44:35 GMT <douglascrp> Loftux, I have that code working on a 5.0.d server, but I did it in the dirty way, replacing files
2016-12-27 11:44:50 GMT <douglascrp> I was trying to do it the right way, using the extension mechanism, but it doesn't work the way I want
2016-12-27 11:44:59 GMT <douglascrp> I keep getting the unbound-region div
2016-12-27 11:45:16 GMT <douglascrp> I bet it's because of my ignorance on surf
2016-12-27 11:46:10 GMT <Loftux> I'm still doing it the old way for the edit-metadata page, by overriding the entire edit-metadata.ftl. It works, and that page hasn't really changed between version so I keep it as is.
2016-12-27 11:46:29 GMT <douglascrp> weird, it doesn't work for me
2016-12-27 11:46:41 GMT <douglascrp> I tried to apply the same project over a 5.1.f, and it doesn't work at all
2016-12-27 11:47:17 GMT <douglascrp> I don't know... maybe a different surf version?
2016-12-27 11:47:17 GMT <Loftux> For this page it is good, since it can use available space to the right. I also have a control that can be used for pop-up pages.
2016-12-27 11:47:31 GMT <Loftux> I have it working for 5.2 now
2016-12-27 11:47:46 GMT <douglascrp> Loftux, nice
2016-12-27 12:03:46 GMT <Loftux> douglascrp: Sent you a mail for how I do it in edit-metadata page. I know you are looking for the more fancy solution ;)
2016-12-27 12:04:35 GMT <douglascrp> Loftux, ah, nice
2016-12-27 12:04:52 GMT <douglascrp> yes, but what I cannot understand is why it doesn't work in this new version
2016-12-27 12:05:11 GMT <douglascrp> I have the "fancy" version working by doing it the "wrong" way :D
2016-12-27 12:05:24 GMT <Loftux> I can probably publish the control as well, just a bit more involved. Essentially I have created a page that shows nothing but the preview, and then use a control that creates an iframe to show said page in form that includes the control.
2016-12-27 12:05:25 GMT <douglascrp> I'm going to check the email now
2016-12-27 12:05:26 GMT <douglascrp> tks
2016-12-27 12:08:01 GMT <douglascrp> Loftux, your first answer in that thread works, by binding the previewer component using region-id and source-id both as edit-metadata, but the prewiew is put under the form
2016-12-27 12:11:40 GMT <Loftux> douglascrp: Then it is just some css tricks needed. The email I sent you can work as a guide, I thinkt to yui won't work since there is a lot of yui column stuff on the form itself, I think it gets nested.
2016-12-27 12:12:00 GMT <douglascrp> Loftux, yes, it's messy
2016-12-27 12:12:13 GMT <Loftux> (the yui-g and yui-u first ones that is)
2016-12-27 12:12:43 GMT <douglascrp> Loftux, this answer looks promising https://community.alfresco.com/thread/200203-40-reusing-existing-alfresco-components-for-a-customization#comment-664264
2016-12-27 12:12:45 GMT <alfbot> Title: 4.0 Reusing existing Alfresco components for a ... | Alfresco Community (at community.alfresco.com)
2016-12-27 12:13:15 GMT <douglascrp> I got it to work in parts, like, the new region/div is created perfectly, with the form being broken in two main areas, but the new div is unbound
2016-12-27 12:13:22 GMT <douglascrp> and there is no way to bind the preview into it
2016-12-27 12:13:56 GMT <douglascrp> I guess it's something really simple to fix it, but as I cannot get myself fully understanding this spring-surf thing, I have no idea on what is wrong
2016-12-27 12:14:25 GMT <douglascrp> I wasted almost 2 full days trying to make it work... sometimes I want to hit my head against the wall when dealing with some custom code
2016-12-27 12:14:41 GMT <douglascrp> simple things can be really really hard to do
The other logs are at http://esplins.org/hash_alfresco