cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Re: How to turn a button visible=false or disabled=true?

Hi Carlos,

 

I'm curious to know why as to why a variable is required in this instance? 

 

I've been trying to set the visibility of a camera control with something on long the lines the following within the OnSelect of an Icon

 

CameraControl.Visible = true

 

Now I'm having to introduce a variable where it would seem one is not required. 

 

I'm interested in what is happening under the hood of PowerApps - for interests sake 🙂

 

Cheers

Highlighted
Regular Visitor

Re: How to turn a button visible=false or disabled=true?

ButtonButton

How can I use dot (.) in the formula? I try this scenario. I have two buttons and I want to disable button2 if i press button1.

On button1: OnSelect > fx button1.disabled: true

It not working - error syntax

 

I do it with UpdateContext with context variable. Is it possible to do it without context variable?

Highlighted
Frequent Visitor

Re: How to turn a button visible=false or disabled=true?

I want Edit button enable only for the user who created the record can only see Edit button

Highlighted
New Member

Re: How to turn a button visible=false or disabled=true?

Hi, I am also having exact scenario for gallery. I have created Updatecontext ie., UpdateContext({visible:false}) and tried to bind visible context variable in to Gallery1.Visible:visible. But it is throwing error as shown in attached screenshot.

Could you please help me how to bind visible context variable to gallery1.visible propery. 

 
 
 

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,065)