Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Network Error when using Patch Function: Conflicts exist with changes on the server, please reload.

Posted on by 100
Hi there, I have a couple of  dropdown menus and updating a certain columns based on selected value from the dropdown. the patch works fine however when value is changed in i.e same dropdown menu Im getting this 'Network Error when using Patch Function: Conflicts exist with changes on the server, please reload.'
 
 
below is button submit:
 
Set(
   varSubmitSucess,
   Patch(
      'FFMC-Off Boarding Users',
      {
         Sample1: dropdownSample1.SelectedText,
         Sample2:dropdownSample2.SelectedText,
         Sample3:dropdownSample3.SelectedText,
      }
   )
);
 
 
a label will show if patch is successful
  • ronaldwalcott Profile Picture
    ronaldwalcott 1,026 on at
    Network Error when using Patch Function: Conflicts exist with changes on the server, please reload.
    The first Patch doesn't specify the record that it is updating, is this your intention?
  • vicsaisan Profile Picture
    vicsaisan 100 on at
    Network Error when using Patch Function: Conflicts exist with changes on the server, please reload.
    my bad I didn't realize I have double patch in my button clicked which this error make sense tho, now how I can insert/combine the other patch function as one  as per below?
             
    Set(
       varSubmitSucess,
       Patch(
          'FFMC-Off Boarding Users',
          {
             
             Sample1: dropdownSample1.SelectedText,
             Sample2:dropdownSample2.SelectedText,
             Sample3:dropdownSample3.SelectedText,
          }
       )
    );
     
    if (dropdownSample1.Selected.Value = "Not Applicable" And dropdownSample2.Selected.Value = "Not Applicable" And
    ,Patch('FFMC-Off Boarding Users',LookUp('FFMC-Off Boarding Users', ID = lblID.Text),{Status_:"Done"}));
     
     
         
  • vicsaisan Profile Picture
    vicsaisan 100 on at
    Network Error when using Patch Function: Conflicts exist with changes on the server, please reload.
    Thanks @ronaldwalcott.  I only overwrite/update the value in a column in the SharePoint list and not retrieving.
     
    drop down menu I mean i.e combo box , drop down box.  selected values from drop down are store into columns in my SharePoint list whenever a  button is clicked.
     
    i.e 
    SharePoint Column1 = dropdownSample1.SelectedText
    SharePoint Column1 = dropdownSample2.SelectedText
     
    The error is gone if I reload my form and throws again at 2nd time the button is clicked.
     
  • ronaldwalcott Profile Picture
    ronaldwalcott 1,026 on at
    Network Error when using Patch Function: Conflicts exist with changes on the server, please reload.
    That message implies that you are saving data in one place and then trying to patch without retrieving the saved data.
    Where else are you saving data and what do you mean by dropdown menus?

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard