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 / How to submit an objec...
Power Apps
Unanswered

How to submit an object to the editing form if I do not have an ID field?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a base that an employee fills. I have a screen on which there are edit fields to be loaded from Item.
How to pass a pointer to a specific record, if and I don’t have a column with unique values?

2019-12-01 13_44_56-doctor_template - Сохранено (неопубликовано) - PowerApps.png2019-12-01 13_44_15-doctor_template - Сохранено (неопубликовано) - PowerApps.png

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @Anonymous 

    There are two ways to do this:

     

    #1 Reference the last selected value from the gallery (no variables approach).  Put this code in the Items property of your Edit Form.

    Gallery1.Selected

     

    #2  You can store the selected record in a variable using either of these methods.

    Set(currentRecord,ThisItem)
    Set(currentRecord,Gallery1.Selected)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    We shuold define the corresponding properties in the formula bar of the respective properties.

    So if you want pass the gallery selected item to Form's Item property, you should make the definition in Items property formula bar.

    As  said, there are two ways to get that:

    1. Directly, set GalleryX.Selected to Items of Form

    2. Use variable to pass the Gallery selected item, put Set(Var_selecteditem, ThisItem) to Gallery's OnSelect, and then set Var_selecteditem to Items of Form.

    Best regards,

    Sik

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard