I have a JS based webscript to upload the file to Alfresco and another webscript to retrieve all the uploaded files. Basically once user upload the file I redirect user to file retrieval WS. Even if the file has been successfully uploaded to the Alfresco yet my document retrieval WS needed to be refresh again and again till the uploaded file appears.
In my existing doc retieval WS I am using lucene search to retrieve the nodes from a particular directory:
Any suggestions which file should be modified to achieve dynamic node population, either .js file(use any other node retrieval method) or .ftl file(asyn calls to WS until the new data is populated)?