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

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 III
Super User III

@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

@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 III
Super User III

@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

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,397)