[Camera Plugin] Camera Plugin - Local Storage
Forge component by OutSystems R&D
Published on 10 Dec 2020
Application Type


im pretty new to outsystems. I made an app using the camera plugin. I want to take a picture and then show the result on another screen. But if I take a picture it doesnt save in the local storage. I would appreciate it if someone could check out my oml and tell me whats wrong.

Furthermore is there a possibily to just show the pictures taken with the app instead of every picture on the phone?

Kind regards,



Rank: #1027

hello Bob

you did everything right, you just need to redirect to the detail pagedata is being saved to the local database correctly

Rank: #33282

Hey, thank you very much! That worked fine.

After getting it to work i tried to make the connection to the detailpage with an extra button on the mainscreen, because i think the app is better to use if you take several pictures and then check out which picture is the best rather than getting redirected to the detailpage right after you take a picture. But it doesnt work... (see the attached oml)

If i use the app with the flow you showed me, it only saves the one picture i took. I cant go back, take another picture and then see the 2 pictures in that screen. Can you help me with that problem as well?

Thank you very much!!


Rank: #1027

hi Bob

I don't know if I understood your need 

I made two small changes to your code and the list was displayed


Rank: #33282

Thank you so much! This turned out great! Can you tell me the two small changes? I only found the one where you changed PicturesId to NullIdentifier().

Rank: #1027

I also changed the aggregate filter in PicturesDetails 

if the ID is informed it filters by the ID, otherwise it returns all records 

Rank: #1027

you can also check all changes using the comparison option in the Module menu