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 / "Add picture" Control ...
Power Apps
Answered

"Add picture" Control - prevent Image Upload

(0) ShareShare
ReportReport
Posted on by 34

Is there a way to deactivate the ability to upload pictures in the "Add picture" control? I've set the "UseMobileCamera" property to "true" and its working fine on smartphones.

 

But when i open the app on a desktop in a browser, theres still the option to upload media. I dont want to use the "Camera" Control, because its not as user friendly as the "App picture" Control, in my opinion.

 

If there is no way, is there maybe another solution? Maybe something like to force an application to open on the smartphone app? That would be fine too.

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @tf777 

    Not so much...but, you can certainly determine if you are on a mobile device or a browser and based on that, enable or disable the controls that you would like.

     

    I hope this is helpful for you.

  • tf777 Profile Picture
    34 on at

    Yes im using

    Set(
     varMobileDesktop;
     If(
     Location.Altitude > 0 Or Acceleration.X >0;
     "Mobile";
     "Desktop"
     )
    )

     

    on the first screen, that works to determine if its a smartphone or desktop. Thx

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard