Notifications
Announcements
Hello,
I have two screens in the app, both with a camera control that is only visible when clicking an icon. Unfortunately the Camera Control is on when the app starts so I have to click and close the camera control to turn it off. This happens also when navigating between the two screens. I just want the camera control to be active when its visible.
Thanks in advance.
Hi @ShadowTech ,
I assume you have created a variable OnSelect of the icon to enable the camera control, you could create this variable OnStart of the App as well with an opposite value to make the camera control invisible.
Hope this helps.
Best regards,
Community Support Team _ Jeffer NiIf this post helps, then please consider Accept it as the solution to help the other members find it.
@v-jefferni I'm using this UpdateContext({CameraOption:true}) to make the camera visible. I just need to know how to disable the camera when the app starts or navigating from screen to screen. Right now I have to cycle the visibility of the camera to turn it off. Right now the camera is not visible but on by default when the app starts and navigating from screen to screen.
What should be in the Camera control?
OnStart of App:
UpdateContext({CameraOption:false})
@v-jefferni I tried that. It just gives me an error. I have that on the screen itself, which does not work. This is the problem I am having. Nothing I've tried disables the camera until I make it visible.
If there is an error you need show us the error message, screenshots like in my post would be much helpful.
@v-jefferni
You mentioned that you have append the formula OnVisible of the screen, then have you tested with switching screens since OnVisible formulas would only be triggered when the screen being displayed.
@v-jefferni I have that on both screens. the camera is still active. Keep in mind the camera is not visible but the camera is still active.
The camera wont stay disabled until I make it visible.
Also, what should the camera control be?
Hi @ShadowTech
In General, we have 3 properties to control the camera
Here are the properties that controlling Camera
1. OnScreen Visible - UpdateContext({CameraOption:true})
2. Camera control properties
3. I have icon to disable camera
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268