cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Pass/Accept Variable to Next Screen

I have a filtered List1 gallery on the Home screen by status. I want to be able to select one of those items and pass the ID as a varible to Screen1 that contains the same List1 Gallery, List1 Detail, and List2 Gallery. List2 has a different ID, but the PO field will match List1 ID. List2.PO=List1.ID

1 ACCEPTED SOLUTION

Accepted Solutions

my apologies, i mistyped. It should be Set(ItemID, ThisItem.ID)

View solution in original post

4 REPLIES 4
PowerAsh
Regular Visitor

You could set a variable on the OnSelect of the item to Set( ItemID=ThisItem.ID ) then on Screen1 you can use the variable ItemID in your expressions? Ie. Filter( List2 , PO=ItemID )

Anonymous
Not applicable

Here is my attempt on the Home screen, but it looks like I am doing this wrong with this string. 

Set(ItemID=ThisItem.ID),Navigate(Screen1,ScreenTransition.Fade)

my apologies, i mistyped. It should be Set(ItemID, ThisItem.ID)

View solution in original post

Anonymous
Not applicable

That worked, the following is for my own notes.

 

Home Screen

Set(ItemID,ThisItem.ID) & Navigate(Screen1,ScreenTransition.Fade)

 

Screen1

Filter('List1', ItemID=ID)

Filter('List2', PO=ItemID)

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

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