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 / Edit button- Can't edit
Power Apps
Unanswered

Edit button- Can't edit

(0) ShareShare
ReportReport
Posted on by 113

Hi,

 

I want to be able to edit.
I have built a list of protocoles and it is a gallery, but i need the option to edit the gallery if it needs to be edited.

I thoght maybe to do it with an edit button, but the gallery which shows data that was entered in a diffrent app is with labels which can't be edited.
I thoght maybe to put a button and onselect to pop a textbox to the place where i need it to be edited.

But i have a few problems:
1) it won't be save to the database.

2) I don't know how do it...

 

BTW the enduser (which will need to edit) will do it via teams
Please if anyone have an advice i'll be happy

 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @moshem 

     

    Try the below steps:

     

    1. Place TextInput controls in the gallery and set visible false. Also place a save button and set visible false
    2. OnSelect of Edit make these TextInput controls and save button visible so that you can make changes
    3. OnSelect of save button, you can use patch to update the record and set visible false

    Other option is, on click of edit, navigate to different screen - Screen2.

     

    On Screen2:

     

    1. Place EditForm set data source to the sharepoint list (same datasource as gallery) and submit button
    2. set items property to the gallery.selected.ID (Lookup('SP List', ID = gallery.selected.ID)
    3. onselect of edit, write the code - EditForm(FormName);Navigate(Screen2, none)
    4. onselect of Submit - SubmitForm(FormName)

     

    Thanks.

  • moshem Profile Picture
    113 on at

    Hi,

    I'm trying to do what you have suggseted. 
    But when pressing the edit button ("ערוך") nothing happens.

    And what is the syntex if i want the visiblety to active for the Savebutton and the text input?

     

    After it how can i use a patch to update?

  • moshem Profile Picture
    113 on at

    About the screen 2 solution, will it work if the end user use it on Teams?

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard