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 form and cancel form
Power Apps
Answered

edit form and cancel form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, i would like to give the possibility to the users to edit the data into dataverse and make the same with the delete.

ame_0-1638870885460.png

actually i have created a form for add data into my dataverse.

I would to know if is possibile for the users to modify or cancel my data with the use of the ID, for example the user put ID = 1 and fill the form with the other data required by the form, so he decided to modify the field related to ID =1.

same things for the button Cancel.

i know i need to create 2 button , one for edit and one for cancel but i didnt find a formula that he makes a thing like the thing that i would to make.

thank you everyone.

Categories:
I have the same question (0)
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous The data in an Edit Form has to be related to one record from the Dataverse table. You set that in the Item property of the EditForm. So, you cannot get the user to type the ID in a field. It will not work. Rather you can have a gallery with the ID (and maybe another field as well) and then set the Item property of the EditForm to yourgallery.Selected. This will retrieve all the information for that record.

    You can have 2 buttons, "Edit" & "Delete"

    In the OnSelect of the Edit button, you will have SubmitForm(yourForm)

    In the OnSelect of the Delete button, you will have RemoveIf(yourTable, ID=yourgallery.Selected.ID)

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard