Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Dropdown patch error after initial patch to sharepoint list

(0) ShareShare
ReportReport
Posted on by 134

I have a number of controls on a screen which are running an update patch after selecting the item from a gallery on another screen.

 

My initial patch works fine however when I then go to update I get a "Network error when using patch function: An error occured on the server".

 

When I have gone back into look at a couple of my dropdowns it is putting an extra option in the control which I assume is what it's patched and it's unable to update the record as that 'option' doesn't appear in the choices for that sharepoint list.  However it has originally patched the correct value.  See screenshots to explain below

Result of accident dropdown has 3 values, Yes, No and blank

Mawdman85_0-1714142887712.png

 

I select Yes and select Save and close which successfully patches

 

However the dropdown now shows 2 Yes values, the bottom one selected being the value that has patched.  but now If I click my save and close button the patch fails with the network error

Mawdman85_1-1714142989741.png

The defaultselecteditems of the dropdown is: {Value: DefectHomeGal.Selected.RelatedAccident}

 

The patch function is as follows with the drop down in question being DefectDetailDrpAccident

 

Mawdman85_2-1714143053635.png

 

Categories:
  • Verified answer
    Mawdman85 Profile Picture
    134 on at
    Re: Dropdown patch error after initial patch to sharepoint list

    Worked this out - the default selected items property needed to have .value at the end so

     

     {Value: DefectHomeGal.Selected.RelatedAccident.value}

  • Mawdman85 Profile Picture
    134 on at
    Re: Dropdown patch error after initial patch to sharepoint list

    @BhaskarDhone the Items property is choices from sharepoint list:

    Mawdman85_0-1714170471567.png

     

  • BhaskarDhone Profile Picture
    810 Super User 2025 Season 1 on at
    Re: Dropdown patch error after initial patch to sharepoint list

    What is there behind your items property of dropdown? 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard