I am trying to figure out how and where the item selected value from a gallery gets passed to a display or edit form. How does it know which one is selected.
On a vanilla template app the Edit button code is
EditForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None)
I don't see it happening there.
I get that there is an isSelected attribute, but am not putting it all together.
Another example:
BrowseScreen1 Shows all items in the SP List using a gallery.
When the arrow > icon is clicked for an item it goes to the Detail screen for the item selected
The code for that button is
Navigate(DetailScreen1, ScreenTransition.None)
I don't see it happening there.
Can you help me understand so that i can apply it to my project?
Thanks
Schuess
I think i might have figured it out myself. Confirm?
The thing is, I want to capture a specific value from the gallery item and pass it to different screen.
If the gallery item is showing a sharepoint item with say 3 fields
1. Title
2. Price
3. Model#
I want to grab the model number value of the item selected and pass it to a screen with a edit form from a different data source.
Is that possible?
Hi schuess,
I think this cannot be done so far. You cannot capture the value from a data source to another editform with another data source. This is not possible for now.
You could post this idea in the PowerApps Ideas forum, so it might be considered for future releases.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Regards,
Mona
Add a context variable or Global varibale into the navigate function.
Navigate(NextScreen,ScreenTransition.None,{CatchMyVariable:XXXX})
On the next screen, I use the varibale in different places, ie,
Works.
Look at Types of Varibale here
https://docs.microsoft.com/en-us/powerapps/working-with-variables
See the Deep Dive Session here:
https://youtu.be/14yqmGBY12I?t=2544
Directs you to the relevant video section.
User | Count |
---|---|
197 | |
122 | |
89 | |
48 | |
41 |
User | Count |
---|---|
286 | |
162 | |
138 | |
80 | |
73 |