web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Camera Control Single ...
Power Apps
Unanswered

Camera Control Single Photo

(0) ShareShare
ReportReport
Posted on by 3,291

Hi there,

 

Quick question here?

 

Is possible to have the camera control to take a single picture? I would like to add an unique photo per record but with the hability of change it or retake if is required?

 

Thanks in advance.

 

Regards,

 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @sajarac,

     

    Could you please share a bit more about your scenario?

    Do you want to add an unique photo for each record of your data source but with the ability of changing it or re-taking if it is required?

     

    Currently, within PowerApps, the Camera control would take a picture when you click it, and then the Camera control would be reset or prepared to take another picture. In other words, the Camera control would not stop after you taken a picture.

     

    If you want to preview the taken picture via the Camera control, you could add a Image control within your app, and set the Image property of the Image control to following formula:

    Camera1.Photo

    Note: The Camera1 represents the Camera control.

     

    If you only want the Camera control to take a single one picture, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    As an alternative solution, you could consider take a try to store the picture taken via the Camera control into a variable, and then preview the taken image using Image control, if the taken picture does not meets your needs, please click the Camera control to taken again (until the taken picture meets your needs). If the taken picture meets your needs, please save the taken picture (the variable) into the record.

     

    I have made a test on my side, please take a try with the following workaround:

     

    Set the OnSelect property of the Camera control to following formula:

    UpdateContext({TakenPic:Camera1.Photo})

    Set the Image property of the Image control to following formula:

    TakenPic

     

    In addition, please also check if the following thread would help in your scenario:

    https://powerusers.microsoft.com/t5/Creating-Apps/swap-camera-for-preview/m-p/142201/highlight/true#M3762

     

     

    Best regards,

    Kris

  • Sajarac Profile Picture
    3,291 on at

    Hi there, and thank you ver mcuh much for your pormpt response.

     

    Yes, I would like to have a single photo for every record, I wzas thinking on this but I don't know how to achieve:

     

    What about if, when the user take the picture another property for instance the display mode, sets the camera control disabled? you have a preview of that picture in a small gallery or thubnail then you decided if save it or ratake it? if you click in retake the display mode change to edit? and can repeat the process. Make sense?

     

    thanks in advance,

     

    Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard