Http request from a folder rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2015 06:01 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2015 11:00 AM
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.
Hope this helps.