cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Re: How to hide a Edit.Form as long as no Gallery Item is selected

If the two tables have the same columns then.

 

ClearCollect(MyCombinedTable, Filter(Table1, SomeColumn = SomeValue)); Collect(MyCombinedTable, Filter(Table2, SomeColumn = SomeValue))

 

Now MyCombinedTable has all of the rows from both tables that match your query. 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
PytByt
Level: Powered On

Re: How to hide a Edit.Form as long as no Gallery Item is selected


@Shanescows wrote:

I am guessing something you changed is causing this. No problem, we will ignore it, and make your form act the way you want in this scenario. 

 

  1. For your Display Form set the Visible property to ShowMyForm
  2. In your Gallery. Change the > icon to be Select(Parent);UpdateContext({ShowMyForm: true})
  3. For the Screen that these items are on: change the OnVisible property for the screen to UpdateContext({ShowMyForm: false})

All done. 

 

To enhance the app a little I would add a Label that says "please select an item to see the details" and put it in the same spot as the display form. Then set the labels Visible property to !ShowMyForm How Fancy is that?

 

Does that work for you?

 

 

Shane



Hi Guru @Shanescows , 

 

Could you show me how its done? i need the same thing, but i already in view form and need to hide it when user click the edit icon (at the same time show the edit form for them to edit).

 

Thank you.

 

Ps. I'm a super noob in powerapss BTW.  

>_<

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 93 members 3,319 guests
Please welcome our newest community members: