web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Going from a selected ...
Power Apps
Answered

Going from a selected item in a gallery to a edit form

(0) ShareShare
ReportReport
Posted on by 48

Hi guys,

 

I'm struggling with two lists shown in two screens in a Powerapp.

 

So let me try to explain this:

  1. I've got two lists in SharePoint:
    1. A list to gather all responses (people requesting a sandwich, premade or not).
    2. A list to choose already premade sandwiches.
  2. I've already got one screen that's an EditForm which gathers people wanting a sandwich. When filled in and submitted, this is gathered in the 1st list in SharePoint.
    AB__0-1641397931504.png

     

  3. I've also got a screen with a gallery, linked to list 2 (the one with the premade sandwiches)
    AB__2-1641398138854.png

 

The idea is that I would like that people can also choose from list 2, and gather that information in list 1.

 

So I'd like that this information is gathered in the column 'Belegd Broodje' (first field in editform) when clicking on '>'.

 

Any ideas on this? Thank you!

 

Categories:
  • eka24 Profile Picture
    20,925 on at

    If am clear on your request, you want when select 'Belegd Broodje'  from the Gallery, the imformation should show in the edit form?

    If So:

    In the OnSelect Property of '>'; Set(varSelected,ThisItem)

    Then in the Item Property of the EditForm put: varSelected

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

    Please Subscribe to my Youtube Channel

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @AB_ ,

     

    Based on your description, I assume you will need to let users be able to select the premade item from the Gallery in next screen then populate the value in the Text input box. Then please try create a variable to store the selected value:

    Set(varSelectedSandwich, ThisItem.'Belegd Broodje')

    and use this variable as Default of the Belegd Broodje TextInput box of the Form.

     

    You can also set context variable OnSelect of the ">" arrow of Gallery2:

    UpdateContext({varSandwich: ThisItem.'Belegd Broodje'});Navigate(FormScreen)

    or

    Navigate(FormScreen,ScreenTransition.Fade,{varSandwich: ThisItem.'Belegd Broodje'})

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • AB-18111337-0 Profile Picture
    48 on at

    Thanks! This works great!

     

    But I have one added problem.

     

    So the information here must be added in the same list as the first form.

     

    However, I am using a second 'editform' in Powerapps of course. So now I have two 'Editforms' in my Powerapps, but only one of them is adding items to my list.

     

    Also any idea on this one?

     

    Thanks!

  • gazzo1967 Profile Picture
    1,151 on at

    @AB_ 
    Hi
    You can't use 2 edit forms in one app
    I suggest you read up on Gallery and Patch
    regards Gary

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard