Javascript API for Alfresco nodeRef

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 08:06 AM
Hi there ,
I have usecase to copy files from one contentstore to another contentstore in given frequency ( Eg once in month on a specific day)
I am using Alfresco crone job to invoke java script , which will copy files from one contentstore to another . I have following question
- How do i get nodereference using javascript API ?
- Is there a way to get list of file in a specific folder and iterate through to set new conentstore ?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 09:23 AM
I guess using Java is a better approach in these scenarios, but anyway JavaScript API documentation is available in
https://docs.alfresco.com/community/concepts/API-JS-intro.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020 09:27 AM
Thanks a lot for suggestion & link , will look into java APIs also
