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

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

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,200)