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

2019-09-30 01:09:38 GMT <guest_100> Good evening! Any configuration in alfresco 6.x to change multi-valued comma delimiter to any other character?

2019-09-30 06:37:45 GMT <alfresco-discord> <Thijs> guest_100: What API are you using?

2019-09-30 13:36:24 GMT <alfresco-discord> <Luca.Biondo> Hi everyone, sorry to bother, does anyone know how to register a java webscript on share 5.2? I had to write a share webscript to call a repo webscript witch applies an action on a Node. Repo side everything works fine. Share side i tryed javascript but it didn't called my webscript (using connector ogbject) in post. So I switched to Java. I wrote two descriptors (one for get and one for post),

2019-09-30 13:36:25 GMT <alfresco-discord> and two html.ftl to render the form and the response in the share admin console. Those files are in my config/alfresco/site-wescripts/path/to/webscript. I put my java class in a dedicated package. To register it I created a webscript-context.xml with a bean similar to the one repo side. The webscript-context is loaded through module-context.xml. Unfortunately the java webscript is never called, I know I'm missing

2019-09-30 13:36:25 GMT <alfresco-discord> something but I don't know where to look. If anyone can put me in the right direction would be very appreciated. Thanks!!

2019-09-30 14:40:40 GMT <AFaust> @Luca Biondo: You register Java web scripts in Share very much the same way you do in Repository. See https://github.com/OrderOfTheBee/ootbee-support-tools/blob/master/share/src/main/resources/org/springframework/extensions/surf/ootbee-support-tools-context.xml#L21 as an example

2019-09-30 14:40:41 GMT <alfbot> Title:ootbee-support-tools/ootbee-support-tools-context.xml at master · OrderOfTheBee/ootbee-support-tools · GitHub (at github.com)

2019-09-30 14:41:32 GMT <AFaust> The module-context.xml though is not loaded in Share, which is missing an import of that file. That is why that example file I linked is in the org/springframework/extensions/surf/ package

2019-09-30 14:42:05 GMT <AFaust> Of course you could also use a custom-slingshot-application-context.xml which a lot of folks use...

2019-09-30 15:36:23 GMT <alfresco-discord> <Luca.Biondo> Thank you very much! I'll try this. I actually eventually found the way to make it work with js. So now will be in js, but for further reference I'll definitely try to register my java websript!

End of Daily Log

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