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 / Gallery record edit/up...
Power Apps
Unanswered

Gallery record edit/update in a form dropdown at power apps

(0) ShareShare
ReportReport
Posted on by 49

Hi All,

I created a form and gallery(datatable) as below. Form to get user inputs an store in excel, Datatable is to view the submitted data, update and delete operations.

Datasource : Excel at sharepoint 

 

Form 1 :

nishak323_1-1694067125343.png

Datatable:

nishak323_0-1694067125344.png

 

Edit : Navigate(Screen1);EditForm(Form1)

 

 

 

If i try to edit a particular row its taking me to the form but not to the exact one

 

On click of edit india in datatable :

nishak323_2-1694067125341.png

 

Note : Item has been updated in form 1 (datatable.selected)

 

Looking for your inputs.

Categories:
I have the same question (0)
  • TSte Profile Picture
    246 on at

    Hi,

    For the EditForm Properties:

    • DataSource: Excel on Sharepoint
    • Item: Gallery(1?).selected
  • narayan225 Profile Picture
    2,547 Moderator on at

    @nishak323 

     

    You can set the edit button to set the selected data as a variable and then pass it to the form.

    OnSelect of the Edit button

    Set(editRecord,DataTable1.Selected);

     Set item property of the edit form to editRecord variable.

     

    Hope this helps.

     

    Cheers!

  • TSte Profile Picture
    246 on at

    Hey,

    i was confused, in Title he mentioned gallery..

    However, also for Datatable no variable is required...

    just put navigate(screenXX) on the edit button

    EditForm Item: DataTableXX.Selected..

  • nishak323 Profile Picture
    49 on at

    @narayan225  thanks for you inputs ,but its not taking me to the form with exact selected gallery record.

  • nishak323 Profile Picture
    49 on at

    @thsteh thanks for your inputs ,But its not giving the expected result.Its not showing up the table data if i change the editform item as you mentioned

  • TSte Profile Picture
    246 on at

    so your Editform looks like this? 

    EditForm Properties:

    • DataSource:  your Excel on Sharepoint
    • Item: Gallery(1?).selected or DataTable(1?).Selected

    if you have done changes with the EditForm but they don't appear as you have don them, be sure to have either SubmitForm() or a Patch() Function on your submit form aswell as the Refresh(your excel) function after your Submit or Patch function

     

  • nishak323 Profile Picture
    49 on at

    Hi @thsteh ,

    Thanks again for the input.Yes am using submit form ,Patch 

    Form : Country : Dropdown and State : Combo box

    nishak323_1-1694086507893.png

    Datatable:

    nishak323_2-1694086552064.png

     

    If I choose an row to edit at datatable its taking me to the form but the state value is empty :

    Output as of now :

    nishak323_3-1694086885915.png

    Expected output :

    nishak323_4-1694086938169.png

     

    Thank you !

     

  • TSte Profile Picture
    246 on at

    please send e screenshot of the Properties of the "State" Datacard, maybe there is something other then it should be, i can't reproduce your error...

  • nishak323 Profile Picture
    49 on at

    Here is the property of state:

    nishak323_0-1694089808381.pngnishak323_1-1694089854395.png

    Thank you !

  • TSte Profile Picture
    246 on at

    It def. looks different then on my FormEdit, but i got mine from Dataverse not from an Excel, don't know if there are differences..

    try to use the same code in default as in Items and see what happens..

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard