cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dhinesh28R
Post Prodigy
Post Prodigy

Component based Visibility

Hi,

In  my app i have a component. The following is my screen,

 

P1.png

 

Now what i want is if i click Add form only need to Visible as well as click Edit Gallery only visible. Add and Edit are component.

 

Is it possible in component?

 

Thanks,

Dhinesh 

 

15 REPLIES 15

Hi @RandyHayes,

Now its working as per my need man. This is what i need man.

 

Thanks,

Dhinesh

RandyHayes
Super User
Super User

@Dhinesh28R 

Excellent!  Just making sure you are all good now.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

@RandyHayes 

Yes man, All good man. Working fine.

 

Thanks,

Dhinesh

Hi @RandyHayes,

I just upgrading my functionality .

 

Add Component for Add form ,

Dhinesh28R_0-1622974187595.png

 

This is for Edit component,

P1.png

 

When i click NextArrow in Gallery it will hide Gallery and show Edit form like following,
P1.png

 

After that i want to add new item it will redirect to add form when i click a Add component.

But what is my problem is when i click a edit component it will still being in same edit form. But i need a gallery.

 

How to do this?

when i click a Next Arrow function on a gallery that time only i need to show Edit form.

 

Is It possible?

 

Thanks,

Dhinesh

 

RandyHayes
Super User
Super User

@Dhinesh28R 

Yes it is all possible, but it is going to totally depend on the logic you have in your Visible properties.

What are they?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hi @RandyHayes,
This is my Add form Visibility function,
  If(menu.Selected="Add",true,false)

 

This is my Edit Gallery Visibility Function,

If(menu.Selected="Edit"&&!menuComp_1.SelectProps,true,false)

 

This is my Gallery Next arrow OnSelect Function,
Select(Parent);Set(EditItem,true);

This is Edit form Visibility Function,

If(menu.Selected="Edit"&& EditItem, true,false)

 

Now what i want is Whenever I click Edit Component need to display Gallery Not a Edit Form.

 

This is what i need man.

 

Thanks,

Dhinesh

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,351)