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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,745)