238
Views
3
Comments
Solved
[Amazon S3] How to get the filename and type using mobile upload
Question
amazon-s3
Web icon
Forge asset by Formiga

Hi, I managed to get the AW S3 Module to work as expected using a Web App.


Having some issues with the mobile use of it - followed the sample tutorial.

I was able to understand the need for a local binary variable - but how to I get the filename and the extension ?

It is either emtpy or ends up as a images.jpg ...


How do access those two fields/metadata during upload from a mobile phone ?

Best regards

Tommy Hägvall


2018-04-06 14-34-22
Tommy Hägvall
Solution

Now I saw my misstake - i did not set the property for filename in the right upload component. I hade both web and mobile apps and had upload components in several screens and then tried to build a block module and put the server code in a server action. Now it is working well - thanks !

2018-04-06 14-34-22
Tommy Hägvall

Aha - I noticed it worked different on Iphone and Android. Anroid gave the correct IMG..... name of the image but Iphone always creates a image.jpg file. How can I extract the real filename and file tyoe on the mobile upload ?

2018-05-26 17-33-15
Formiga

Tommy Hägvall wrote:

Aha - I noticed it worked different on Iphone and Android. Anroid gave the correct IMG..... name of the image but Iphone always creates a image.jpg file. How can I extract the real filename and file tyoe on the mobile upload ?

see if this tutorial helps you: https://success.outsystems.com/Documentation/10/Developing_an_Application/Design_UI/Inputs/Upload_Files


2018-04-06 14-34-22
Tommy Hägvall
Solution

Now I saw my misstake - i did not set the property for filename in the right upload component. I hade both web and mobile apps and had upload components in several screens and then tried to build a block module and put the server code in a server action. Now it is working well - thanks !

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.