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 form adding new r...
Power Apps
Unanswered

Edit form adding new record,instead of updating existing record.

(0) ShareShare
ReportReport
Posted on by 54

I have build the app from blank canvas and connected to data source. I don't have browse gallery in my app. 

I want employee to register the detail and view their profile and edit the details.homepage.PNGApp_Treeview.PNG

 

I added form to each screen. 

Item property = 'Defaults.EmpReg' .

 

To get the data registered to view employee profile

updated text property = Emp_Edit.LastSubmit.Title 

 

When editing existing detail, its adding new record in the sharepoint list, not updating the existing value.

 

I dont know where am going wrong. Please help me. 

Categories:
I have the same question (0)
  • KrishnaV Profile Picture
    5,023 on at

    Hi @PapithaSekar ,

     

    In Profile_Edit form onSelect property of the button SubmitForm(Form1) this will update all the Changes to SharePoint List.


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to help.

    Regards,
    Krishna
    If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • PapithaSekar Profile Picture
    54 on at

    thanks for your reply. yes i have given the same. onselect_property.PNG

  • KrishnaV Profile Picture
    5,023 on at

    Hi @PapithaSekar ,

     

    I see this is the default app you get when you create App on a list and then you are trying to extend the functionality. If so, please ensure that editform Item property is BrowseGallery1.Selected on the previous screen.

    See the below:
    EditFor Submit.gif


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • PapithaSekar Profile Picture
    54 on at

    As i mentioned earlier I don't have browse screen in my app. Am curious to know is there any relation between the screens? 

    Can't we create a app with out browse screen?

  • KrishnaV Profile Picture
    5,023 on at

    Hi @PapithaSekar ,

     

    1. In your edit form select the Title and then on your left pane select the Form where that Item control is under.

    2. Now select the From and the item property of the select
    3. Ensure that item is something as below

    Item: <<some gallery name>>.selected

    4. Now ensure that FORM DefaultMode property is DisplayMode.Edit if not rename it as so.

    If you still see any further issue please reply with the screenshots of all the steps I mentioned above on this thread I can help you further.

     


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

     

     

  • KrishnaV Profile Picture
    5,023 on at

    Hi @PapithaSekar ,


    I just want to follow up with you on this issue to see is it resolved or still you see any challenges.

    If you see any challenge/need further help let me know I am always happy to help.

    Regards,
    Krishna
    If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more

  • PapithaSekar Profile Picture
    54 on at

    Since, I don't have browse screen in my app.

    I have given Item as 'Defaults(TestVersjon_AnsatteReg) (i.e Defaults(Datasource))Editform.PNG 

  • Lynn626 Profile Picture
    20 on at

    Hi There,

     

    I'm having the same issue where I'm trying to only get the existing records updated in Powerapps gallery grid, but everytime I make an update, new records are being created at the same time.  Below is the update statement I  use:

     

    If(
    varGridEdit,
    Patch(
    PSRA_Events_Response_Form,
    colGridData
    ));
    Notify(
    "Form Data Updated",
    NotificationType.Success,
    2000
    );
    Select(btnLoadData);
    Set(
    varGridEdit,
    !varGridEdit
    )

     

    Any feedback you have would be greatly appreciated.  Thank you so much in advance!

  • Community Power Platform Member Profile Picture
    on at

    no Gallery just edit form, if searches mobile number is existed then auto populate all the information

    And then Trying to edit it, it creating new record instead of update

    Ameya_Birhade_1-1683181093185.png

    Ameya_Birhade_2-1683181107779.png

    see the last Ameyab

     I want to update not create please provide a good solution

     

     

  • amyzul12 Profile Picture
    2 on at

    hi did u solve this? cuz i have same problem

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard