cancel
Showing results for 
Search instead for 
Did you mean: 

Http request from a folder rule

patrick
Champ in-the-making
Champ in-the-making
Hi, im new with alfresco and I have a question. How can I send http request to given url e.g. alfresco.com in a javascript folder rule?

Edit: I forgot to add information about what I've tried. So I tried use remote but it's part of share, not one. I also tried java libraries like HttpClient but none is visible. I know that building new java class and making it visible in js is an option but I have no idea how to do it. I've searched for tutorials but couldn't find any so far. Is there any easier option?

Thanks in advance
1 REPLY 1

romschn
Star Collaborator
Star Collaborator
Take a look at the following post which explains how you can create a custom java script extension object to use in the java scripts. https://forums.alfresco.com/comment/146025#comment-146025

Hope this helps.
Welcome to the new Hyland Connect. Get started or submit feedback.