I have a function in my app that lets the user take a picture and upload it to the database. I'm using the Cordova file upload plug-in and it works great. The problem is i need the filename back from the service so i can store it in another table that references that photo. No matter what I do, I can't get it back from the service. I setup the service response as an array as directed by support and found elsewhere on this forum, but the filename just won't populate the local variable. I know the response is an array, do i need to do something with the array before mapping the filename field from the response to my variable in the service success mapping? I will only ever be 1 file at a time that is uploaded and saved.