cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DeemaEmadaldin
Helper II
Helper II

View Result

Hello Everyone,

 

How to view the selected items from screen 1 into screen 2.

Thanks in advance

 

Screen 2Screen 2Screen 1Screen 1.

1 ACCEPTED SOLUTION

Accepted Solutions

You can also simply add the below code in the next screen dropdown. 

 

Default: YourSelectedDataCardNo.Selected.Value 

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

16 REPLIES 16
PG_WorXz10
Community Champion
Community Champion

Hi @DeemaEmadaldin ,

 

You can use Set() function to get the selected record/value in a variable and Populate second screen based on this value. 

If you are using a gallery for selecting records please use below formula. Otherwise please explain your selection point in details. 

Set(varSelected,Thisitem)

On the second screen you can add varSelected.ColumnValue in the Default of all the control. 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

@PG_WorXz10 

Set(varSelected,Thisitem)

In which property do i put this code in the first screen?

Hi @DeemaEmadaldin ,

 

Are you using a gallery for selection the items ?

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

@PG_WorXz10 

yes 

Hi @DeemaEmadaldin ,

 

Is there any icon onclick of which you are naviaagation to screen2. 

On that icon add the code. 

 

Set(varSelected,Thisitem)

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Hi @DeemaEmadaldin,

 

In the Form Set Items as GALLERYNAME.Selected

 

Hi @PG_WorXz10 

It didn't work actually, I added the code to the submit icon but it showed an error  Screenshot (167).png

Hi @DeemaEmadaldin ,

 

This not a gallery. 

Could you explain more in the screen shot Screen4 is your 1st screen where you select the items ? 

If yes which control value you need to pass to other screen ?

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

no, its not 

Screen 4 is the third screen.

i want to pass the selected items from the dropdown to screen 3

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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