Javascript API for Alfresco nodeRef

cancel
Showing results for 
Search instead for 
Did you mean: 
brijeshnk
Established Member

Javascript API for Alfresco nodeRef

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 ?

2 Replies

Re: Javascript API for Alfresco nodeRef

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

Software Engineer in Alfresco Search Team.
brijeshnk
Established Member

Re: Javascript API for Alfresco nodeRef

Thanks a lot for suggestion & link , will look into java APIs also