Usage of Adaptive Form's File Upload and "getFileAttachmentsInfo"
Currently building an adaptive form with textboxes and file upload as input.
After a button click, I would like to pass the files added into the File Upload component onto the Servlet via AJAX call.
I added the code below (into code editor) to send the path of the files within CRX into the servlet for further processing.
guideBridge.getFileAttachmentsInfo({
//this code will produce bugs
success:function(list) {
//ajax code to call servlet
}
});
Is using "getFileAttachmentsInfo" a good approach?