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 / When pressing more But...
Power Apps
Unanswered

When pressing more Buttons at Same time i get a Network Failure. How can I Search in a Browse Gallery in more than one Column

(0) ShareShare
ReportReport
Posted on by 6

Hi, when i have a Power App connected to a sharepoint list. 

I have A button that when its pressed, it is inserting the Full Name of the User in the Column In verwendung Von:, and sets the Status to reserviert. When iam pressing more than one Button at a short time period, i get the network Message:  "Network Failure with the Patch Function. There are some Conflicts with the Changes on the Server, please reload again".  Original message: "Netzwerkfehler bei Verwendung der Patch-Funktion: Es bestehen Konflikte mit Änderungen auf dem Server, bitte laden Sie erneut."

This is the onselect Command i use  "Patch(Ressourcenverwalter;ThisItem; { Status: { Value: "Reserviert" } });; Patch(Ressourcenverwalter;LookUp(Ressourcenverwalter;ID=BrowseGallery1.Selected.ID);{'In Verwendung Von':Mailuser.Text})"

How can i fix it? I Thought about a delay but its difficult to implement it, or how i can improve the latency and the generally Performance?

 

Second Problem i can search on the Search bar for the Column "Titel of the Object. But when iam Going to search for the Column "Artikel" It wont work. How can i search for more than one Column in Browse Gallery?

This is the Actual "Items" Command of Browse Gallery " SortByColumns(Filter([@Schlüsselverwaltung]; StartsWith(Titel; TextSearchBox3.Text)); "Title"; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending)) "

 

Categories:
  • johnxt Profile Picture
    on at

    could you redesign it so those buttons only change the display, and the patch function only gets called by a 'submit' button?  another option could be to have it so when any of your buttons are pressed, they're all disabled for a short time. For example you could link the Visible property of all your buttons to a variable which is set to false, then you wait for 30 seconds or so before setting it back to true. Something along these lines:
    How to wait for Patch to finish before Navigate? - Power Platform Community (microsoft.com)

    Here's an example I made which I think would help you if I read it right? Not quite the same as I'm using drop boxes to filter a list, and it allows for some drop boxes to be empty if you're wondering what the or statements were for:

    SortByColumns(AddColumns(
     Filter(Mileage,
     AsType(Owner, Users).'Full Name' = User().FullName &&
     (IsBlank(cbxMonth.Selected.Value) || Month = cbxMonth.Selected.Value) &&
     (IsBlank(cbxYear.Selected.Value) || 'Financial Year' = cbxYear.Selected.Value) &&
     (IsBlank(cbxMileageType.Selected.Value) || Type = cbxMileageType.Selected.Value)
     ),
     "DisplayFields",
     If(
     IsBlank(Destination),
     $"{'Financial Year'}, {Month} - {Reason} ({Registration})",
     $"{'Financial Year'}, {Month} - {Reason} ({Registration})"
     ),
     "MonthNumber",
     Text(DateValue($"{Month}, 2023"),"mm")
    ),"cr194_financialyear",SortOrder.Ascending,"MonthNumber",SortOrder.Ascending)

     

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    If both of those patches are actually patching the same record, then you can combine those patches into a single patch, with multiple data pieces instead of doing separate patches for the same record

     

    Patch(
     Ressourcenverwalter;
     ThisItem;
     { 
     Status: { Value: "Reserviert" };
     'In Verwendung Von': Mailuser.Text
     }
    );;

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard