I have a mobile application where it has 4 buttons.
I am able to take the picture and save it to the mobile device but I am not able to load the picture. I have tried the below in my LoadImageOnClick client action
I have used the File Viewer Plugin for the loading the image. I have attached the OML file for what I have tried.
Can someone help me with this as I am struggling from past week?
Hello Bhargav,
Seem to me that you are using the wrong URI in the Path attribute in the OpenDocument action.
You can try to use the GetFileUrl that you are already using in the savefile to get the right location for the viewer.
Maybe check this sample (haven't tried it but it seems to cover your case) :https://www.outsystems.com/forge/component-overview/10011/file-sample-app
Best Regards,
Miguel Amado
Hello Miguel
I have tried with the GetFileUrl but could not load the file. Tried with the same example you specified but that app isn't opening
Thanks & Regards
Bhargav Venkatesh
I installed your oml and generated a mobile app for android and it worked ok. I took a picture, saved it and click on load and it gave me the message that the image was loaded ok.
You might have a permissions problem on your device
Even I can see the message image loaded but I cannot see the image. I have checked the permissions on my device everything is fine Miguel