I will try to be clear to explain this strange behaviour on Appery.
I have an APP where a user can upload service request and the supporting images.
On the main service request page, the user inputs all the data and to upload an image user clicks on a button which opens a dialogue attaches an image then returns to the main page, verifies info and then submits.
The logic I have is. When you hit submit button, upload the image/s, on success, upload raw data (found on service request page). These services are called from the main page.
Here is the issue, when I call the Fileupload service, it return success, then it proceeds to load the raw data BUT when I go to the files DB the image is not there but raw data is uploaded.
I have done lots of debugging and I was able to load both image + raw data but only when I call both services from the Image dialogue page. The reason is...although I am getting success message from fileupload, Apppery will not upload images unless you are on the same image page (dialogue box).
I know I can call a service by using "service.execute();" but this aint working I am using "uploadMultipleFilesHelperNew(existingPhoto_UploadService02, Apperyio('photo2_Select'));" appending .execute() in the end throws an error.
I know the service is fine because I can upload images fine from the dialogue.
How can I call Fileuploadservice from another page...I have a feeling that the plugin needs review also because it throws a success message even when no image has been loaded.
Please provide some help!