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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Edit each record in Po...
Power Apps
Unanswered

Edit each record in Powerapps - SharePoint

(0) ShareShare
ReportReport
Posted on by 195

Hi,

 

I am developing a powerapps screen which should show SharePoint list items, similar as a datatable format. However, I would like to have a Edit icon inside each record of datatable, which allows me to edit the particular record through EditForm.

 

I understand we can't add any icon inside datatable. May I know is there anyway to achieve similar functionality in Powerapps ?

 

Also, would like to have filter,sort, search functionality on top of the datatable.

 

Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Hi,
    An editable gallery is exactly what you need for all of the functions you have specified.

    Let me know if you need more details.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit Bhatia
    https://thepoweraddict.com

  • Kumar9024021 Profile Picture
    195 on at

    Hi @PowerAddict ,

     

    Yes please. I am new to powerapps. More details would be much helpful. Thanks.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Yss I completely understand. There are 2 ways you can get a label. One is you could have a series of labels outside the gallery serving as headers. Or within your gallery, you could have each control have a label and value, something like "Label: " & ThisItem.Title

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit Bhatia
    https://thepoweraddict.com
  • Kumar9024021 Profile Picture
    195 on at

    Thanks for your response @PowerAddict .

     

    If there are 40+ SharePoint list items, showing in a single screen would look weird right. Does gallery support filter/sort/search functionality ?

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Yes it does. You can find info about search and filter here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup#delegation

    Information on sort can be found here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit Bhatia
    https://thepoweraddict.com
  • MasterOffice365 Profile Picture
    184 on at

    You can add a column in the Data Table set to any field really in your SharePoint List / Document Library. 

    For example: ID

     

    Then on the Properties pane for that column, set the IsHyperlink property to true.

    Set the Text property to whatever you want.

    Finally add whatever code you need to execute for the selected item in the OnSelect property for that column.

    On the OnSelect property you can utilize and column or field in the SharePoint data source using the following syntax:

    DocumentLibraryItems_DataTable.Selected.{ColumnName}

     

    In action, as per the demo video on YouTube: https://youtu.be/poKsDNYm9Jw

    Source code for demo app showcased: https://masteroffice365.com/powerapps/9/#DownloadSolution

  • Verified answer
    v-yutliu-msft Profile Picture
    on at

    Hi @Kumar9024021 ,

    Based on your description, I think what you want is a combination of gallery, editform and display form.

    Firstly, in gallery form, you could view all the items of the list.

    You could set the arrow button to navigate to edit form screen.

    Then when you click the arrow button, you will jump to the edit form and linked with the item that you selected in gallery.

    Also, you could also filter,sort, search in the gallery.

    Key points:

    use gallery to display, set gallery's Items to filter,sort, search formula, set arrow button's OnSelect to navigate function.

     

    Secondly, in edit form screen.

    Set the edit form's Item to gallery1.Selected.

    Then the edit form will display the item that you selected in the gallery.

    Insert a submit button, set its OnSelect: SubmitForm(Form1);Back()

    Then after you click the button, the data will be submitted and you will come back to gallery screen.

     

    Thirdly, in display screem.

    Set the display form's Item to gallery1.Selected.

    Then you could view the item that you selected in the gallery in details.

     

    The app will look like this:

    112712.PNG

     Here's a doc about this kind of app in details for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-forms

     

     

     

    Best regards,

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard