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

Community site session details

Session Id : VPgF9b4koY5trNcPqqIEY4
Power Apps - Building Power Apps
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 4 Jun 2020 20:40:26 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. 

  • amyzul12 Profile Picture
    2 on 02 Feb 2024 at 00:52:40
    Re: Edit form adding new record,instead of updating existing record. I don't have gallery just edit form

    hi did u solve this? cuz i have same problem

  • Community Power Platform Member Profile Picture
    on 04 May 2023 at 06:19:14
    Re: Edit form adding new record,instead of updating existing record. I don't have gallery just edit form

    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

     

     

  • Lynn626 Profile Picture
    20 on 15 Dec 2022 at 01:31:29
    Re: Edit form adding new record,instead of updating existing record.

    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!

  • PapithaSekar Profile Picture
    54 on 07 Jun 2020 at 06:32:27
    Re: Edit form adding new record,instead of updating existing record.

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

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

  • KrishnaV Profile Picture
    5,023 on 06 Jun 2020 at 18:37:22
    Re: Edit form adding new record,instead of updating existing record.

    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

  • KrishnaV Profile Picture
    5,023 on 05 Jun 2020 at 17:45:05
    Re: Edit form adding new record,instead of updating existing record.

    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.

     

     

  • PapithaSekar Profile Picture
    54 on 05 Jun 2020 at 07:04:37
    Re: Edit form adding new record,instead of updating existing record.

    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 04 Jun 2020 at 21:34:19
    Re: Edit form adding new record,instead of updating existing record.

    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 04 Jun 2020 at 21:19:37
    Re: Edit form adding new record,instead of updating existing record.

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

  • KrishnaV Profile Picture
    5,023 on 04 Jun 2020 at 20:46:36
    Re: Edit form adding new record,instead of updating existing record.

    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.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!