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-07-09 06:43:02 GMT <alfresco-discord> <twen> good morning

2018-07-09 09:39:57 GMT <kumar> Hi,I want to customize Form(when we click on start new process that form) with my own color ,text and background in ADF .if possible please share me how to do it ?

2018-07-09 10:14:26 GMT <alfresco-discord> <Francesco Corti> Hi kumar, Below some links you might check.

2018-07-09 10:14:32 GMT <alfresco-discord> <Francesco Corti> https://community.alfresco.com/community/application-development-framework/blog/2017/10/11/adf-theming

2018-07-09 10:14:34 GMT <alfbot> Title:ADF Theming | Alfresco Community (at community.alfresco.com)

2018-07-09 10:14:39 GMT <alfresco-discord> <Francesco Corti> https://alfresco.github.io/adf-component-catalog/additional-documentation/typography.html

2018-07-09 10:14:40 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 10:14:46 GMT <alfresco-discord> <Francesco Corti> https://alfresco.github.io/adf-component-catalog/additional-documentation/theming.html

2018-07-09 10:14:47 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 10:14:54 GMT <alfresco-discord> <Francesco Corti> https://alfresco.github.io/adf-component-catalog/additional-documentation/tutorials/basic-theming.html

2018-07-09 10:14:55 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 10:15:12 GMT <alfresco-discord> <Francesco Corti> I hope it helps.

2018-07-09 10:59:07 GMT <kkore> I getting issue while getting some properties names in Audit trails:

2018-07-09 10:59:08 GMT <kkore> https://community.alfresco.com/message/834698-in-audit-trail-for-some-properties-names-getting-null-for-oob

2018-07-09 10:59:10 GMT <alfbot> Title:In audit trail for some properties names gettin... | Alfresco Community (at community.alfresco.com)

2018-07-09 10:59:34 GMT <kkore> help clearing this issue

2018-07-09 11:04:51 GMT <angelborroy> kkore audit trail is a module/addon from the Community?

2018-07-09 11:04:59 GMT <angelborroy> or are you using the Node Browser?

2018-07-09 11:05:03 GMT <angelborroy> It’s not clear to me

2018-07-09 11:05:35 GMT <kkore> Audit services from community

2018-07-09 11:07:06 GMT <angelborroy> I don’t know that page you are including in your Screen Shots, sorry

2018-07-09 11:09:03 GMT <kkore> in custom page screen shot

2018-07-09 11:09:21 GMT <angelborroy> So it’s a page you are developing?

2018-07-09 11:09:50 GMT <kkore> yes

2018-07-09 11:12:42 GMT <angelborroy> It looks like there are some classes in the Dictionary that have no Title value associated

2018-07-09 11:15:25 GMT <kkore> angelborroy check link once I update my entire page for very few property names are not coming

2018-07-09 11:15:56 GMT <kkore> with screenshot-4 contains total page

2018-07-09 11:18:41 GMT <kkore> for property value :offlineEditing property name null & (Working Copy) property name null

2018-07-09 11:18:49 GMT <angelborroy> https://github.com/Alfresco/alfresco-repository/blob/d8f828324419f101d6e1f7a19020864d801b3b64/src/main/resources/alfresco/model/contentModel.xml#L990

2018-07-09 11:18:50 GMT <alfbot> Title:alfresco-repository/contentModel.xml at d8f828324419f101d6e1f7a19020864d801b3b64 · Alfresco/alfresco-repository · GitHub (at github.com)

2018-07-09 11:19:11 GMT <angelborroy> kkore “Title” it’s not defined in the repository, so you are getting null

2018-07-09 11:19:29 GMT <angelborroy> There is no alternative way to obtain this property name

2018-07-09 11:19:48 GMT <angelborroy> You can just play with the “name” and skip the prefix or some other adjustment

2018-07-09 11:19:54 GMT <angelborroy> But you have to develop it by your own

2018-07-09 11:20:56 GMT <kkore> mean I what need to do.Need to override contentmodel.xml file ??

2018-07-09 11:22:30 GMT <angelborroy> no

2018-07-09 11:23:11 GMT <angelborroy> kkore Probably the better approach is to override your Java Snippet

2018-07-09 11:23:31 GMT <angelborroy> Just including the Name instead of the Title when Title is a null value

2018-07-09 11:25:01 GMT <kkore> @angelborroy thank you

2018-07-09 11:50:37 GMT <alfresco-discord> <douglascrp> morning guys

2018-07-09 11:51:08 GMT <alfresco-discord> <douglascrp> has anyone tried to add an activity to be shown in the activities dashlet for documents/folders being moved?

2018-07-09 11:51:17 GMT <alfresco-discord> <douglascrp> something like "the document X has been moved"

2018-07-09 11:51:25 GMT <angelborroy> yep

2018-07-09 11:51:27 GMT <angelborroy> let me find it

2018-07-09 11:52:30 GMT <angelborroy> @douglascrp https://github.com/keensoft/alfresco-version-by-name/blob/master/version-by-name-repo/src/main/java/es/keensoft/alfresco/behaviour/AutoVersionByNameBehaviour.java#L68

2018-07-09 11:52:31 GMT <alfbot> Title:alfresco-version-by-name/AutoVersionByNameBehaviour.java at master · keensoft/alfresco-version-by-name · GitHub (at github.com)

2018-07-09 11:58:53 GMT <alfresco-discord> <douglascrp> angelborroy, tks

2018-07-09 11:59:45 GMT <alfresco-discord> <douglascrp> yes, I am already using that exactly approach, but for the message "document has been edited"

2018-07-09 12:00:19 GMT <alfresco-discord> <douglascrp> but I know in order to add a new "activity", share needs some new resources to show messages not present by default

2018-07-09 12:00:33 GMT <alfresco-discord> <douglascrp> at least, that is what I can remember without going to a deep research

2018-07-09 12:01:08 GMT <alfresco-discord> <douglascrp> but for the move activity, I guess the best thing would be to use behaviours for content and folder types, right?

2018-07-09 12:02:31 GMT <alfresco-discord> <douglascrp> yes, as I thought, there is not such "move" activity type, https://dev.alfresco.com/resource/docs/java/org/alfresco/repo/activities/ActivityType.html

2018-07-09 12:02:32 GMT <alfbot> Title:ActivityType (Alfresco 5.3.a-SNAPSHOT API) (at dev.alfresco.com)

2018-07-09 12:04:22 GMT <alfresco-discord> <douglascrp> interesting http://alfresco.blog.redpill-linpro.com/2015/11/26/posting-custom-events-to-the-activity-feed/

2018-07-09 12:04:23 GMT <alfbot> Title:Posting custom events to the activity feed | Redpill Linpro Alfresco Team (at alfresco.blog.redpill-linpro.com)

2018-07-09 12:21:30 GMT <kumar> thanks @Francesco Corti but when we click start new process then form will show and asks process name that is I want to change color and background image please share me any link?

2018-07-09 12:28:49 GMT <alfresco-discord> <Francesco Corti> kumar: which ADF version are you using?

2018-07-09 12:30:19 GMT <alfresco-discord> <Francesco Corti> And which component?

2018-07-09 12:30:24 GMT <alfresco-discord> <Francesco Corti> https://alfresco.github.io/adf-component-catalog/components/StartFormComponent.html

2018-07-09 12:30:25 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 12:30:29 GMT <alfresco-discord> <Francesco Corti> https://alfresco.github.io/adf-component-catalog/components/StartTaskComponent.html

2018-07-09 12:30:30 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 12:30:33 GMT <alfresco-discord> <Francesco Corti> https://alfresco.github.io/adf-component-catalog/components/StartProcessInstanceComponent.html

2018-07-09 12:30:34 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 12:31:31 GMT <kumar> @Francesco Corti I am using 2.3.0

2018-07-09 12:35:24 GMT <kumar> @Francesco Corti thanks I have checked your links but color is not changed and I want to put my own customize image please help me

2018-07-09 12:36:57 GMT <alfresco-discord> <Francesco Corti> Which component are you using?

2018-07-09 12:37:50 GMT <kumar> start new process @ francesco corti

2018-07-09 12:38:38 GMT <alfresco-discord> <Francesco Corti> Please confirm you are using this: https://alfresco.github.io/adf-component-catalog/components/StartProcessInstanceComponent.html

2018-07-09 12:38:39 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 12:46:06 GMT <kumar> Exactly @Francesco corti i following this link

2018-07-09 12:49:20 GMT <alfresco-discord> <Francesco Corti> Accordingly to the following link: https://alfresco.github.io/adf-component-catalog/components/StartProcessInstanceComponent.html#template

2018-07-09 12:49:21 GMT <alfbot> Title:ADF Component Catalog (at alfresco.github.io)

2018-07-09 12:49:58 GMT <alfresco-discord> <Francesco Corti> You could try to customise the CSS class 'adf-start-process'

2018-07-09 12:51:35 GMT <alfresco-discord> <Francesco Corti> For further details I suggest to ask in the ADF Gitter Channel at https://gitter.im/Alfresco/alfresco-ng2-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

2018-07-09 12:51:36 GMT <alfbot> Title:Alfresco/alfresco-ng2-components - Gitter (at gitter.im)

2018-07-09 12:52:58 GMT <kumar> which css file should I change

2018-07-09 12:53:20 GMT <alfresco-discord> <Francesco Corti> The one where the component is used.

2018-07-09 12:53:49 GMT <kumar> sure thankyou for your help

2018-07-09 12:53:59 GMT <alfresco-discord> <Francesco Corti> I mean: you should have a component into your app, containing the <adf-start-process > tag

2018-07-09 12:54:33 GMT <alfresco-discord> <Francesco Corti> The CSS of this local component could override the 'adf-start-process' class.

2018-07-09 12:55:01 GMT <kumar> I got it

2018-07-09 12:55:03 GMT <kumar> thanks

2018-07-09 14:16:36 GMT <owerfelli> Hi all

2018-07-09 14:19:45 GMT <owerfelli> Is there another way to pass parameters to a share template other than url args

2018-07-09 14:36:14 GMT <owerfelli> question is here https://community.alfresco.com/message/834775-pass-parameters-to-template-instance

2018-07-09 14:36:16 GMT <alfbot> Title:Pass parameters to template instance | Alfresco Community (at community.alfresco.com)

2018-07-09 14:37:18 GMT <AFaust> owerfelli: You also have the page.properties[] / template.properties[] associative-array constructs which can have their contents defined via the Surf XML files for the page / template

2018-07-09 14:38:01 GMT <AFaust> Very few people use them because most do not fully understand the Surf framework and the args-way is the simplest to grasp

2018-07-09 14:40:17 GMT <AFaust> I almost never use url args, instead mapping the URL parameter of a page to regular, non-url args (yes, there is a args and a url.args and also a page.url.args - any they are not all identical) via the (sub-)component binding properties

2018-07-09 14:41:43 GMT <AFaust> The component should be kept unaware of the page URL, have a defined set of arguments it offers for differentiation of behaviour, and the page / component binding should map the URL args as necessary (or not, if they should be ignored in a particular use case)

2018-07-09 14:42:12 GMT <AFaust> That way the Surf component will remain more reusable than if it were hard-coded to a specific page URL params

2018-07-09 14:45:13 GMT <owerfelli> Thanks AFaust, how can I use this mechanism, is there any example

2018-07-09 14:47:07 GMT <AFaust> Regular use of component binding properties for args passing can be seen in the documentlibrary.xml template-instance => https://github.com/Alfresco/share/blob/develop/share/src/main/resources/alfresco/site-data/template-instances/documentlibrary.xml#L50

2018-07-09 14:47:08 GMT <alfbot> Title:share/documentlibrary.xml at develop · Alfresco/share · GitHub (at github.com)

2018-07-09 14:47:52 GMT <AFaust> Passing of URL arguments via component binding properties can be seen in the inline-edit.xml template-instance => https://github.com/Alfresco/share/blob/develop/share/src/main/resources/alfresco/site-data/template-instances/inline-edit.xml#L67

2018-07-09 14:47:53 GMT <alfbot> Title:share/inline-edit.xml at develop · Alfresco/share · GitHub (at github.com)

2018-07-09 14:49:25 GMT <AFaust> Use of the non-url args can be seen in the document-actions.get.js component web script controller => https://github.com/Alfresco/share/blob/2d4d902c1de5010e5467dbd75669638214dd686c/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/documentlibrary/actions-common.get.js#L1

2018-07-09 14:49:27 GMT <alfbot> Title:share/actions-common.get.js at 2d4d902c1de5010e5467dbd75669638214dd686c · Alfresco/share · GitHub (at github.com)

2018-07-09 15:05:54 GMT <owerfelli> AFaust : now I'm using this way to pass parameters to temlate-instance, my problem is that I want to put a form component in my template and I don't need to pass this in url args, I tried to modify page.url.args and url.args in the global template controller but it seems impossible

2018-07-09 15:06:41 GMT <AFaust> you cannot modify any of the args arrays - they are temporary in nature only for the duration of the JavaScript code...

2018-07-09 15:07:20 GMT <AFaust> the only way you can pass dynamic stuff is by using the context object

2018-07-09 15:08:18 GMT <AFaust> Using context.properties => https://docs.alfresco.com/5.2/references/APISurf-context.html

2018-07-09 15:08:19 GMT <alfbot> Title:context | Alfresco Documentation (at docs.alfresco.com)

2018-07-09 15:11:11 GMT <owerfelli> Yess but when I set a property by context.properties["customValue"]; it's not visible in component properties (when using {customValue})

2018-07-09 15:12:37 GMT <owerfelli> I user context.setValue("customValue", customValue);

2018-07-09 15:12:44 GMT <owerfelli> used*

2018-07-09 15:56:54 GMT <AFaust> Of course it will not be visible in the component properties - it will only ever be visible in the context.properties after you set it via setValue on the context

2018-07-09 16:06:57 GMT <owerfelli> AFaust : So is there a way to do it ?

2018-07-09 23:24:05 GMT *** DragiBus_ is now known as DragiBus

End of Daily Log

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