Skip to main content

Notifications

Power Platform Community / Forums / Building Power Apps / Can you remove a patch...
Building Power Apps
Unanswered

Can you remove a patch error message?

Posted on by 11
Hi all,
 
I have an app whereby users can "reserve" spaces, essentially clicking a button that patches their details to a person column of that line item.
 
The button auto-disables once the space is full, and even disappears from view. However, during peak periods, we are seeing conflicts of users trying to reserve the same spot. I have corrected this with two pop up info boxes (one to confirm the spot, one to advise the other user(s) that they missed out and to try another), however, in this scenario, the app throws a patch server error to all users (even the successful patch).
 
My question is, now I have my pop up work around, is there a way to remove this patch server error just so I don't get questions?
 
Thanks
 
DW
Categories:
  • CA1105 Profile Picture
    CA1105 101 on at
    Can you remove a patch error message?
    As mentioned by WarrenBelz, you can use IfError or IsError functions.
  • WarrenBelz Profile Picture
    WarrenBelz 140,745 on at
    Can you remove a patch error message?
    Hi DMSC 
    One method I use is using IfError, then have a message display for one hundredth of a second (the users never sees it)
    IfError(
       YourPatchHere,
       Notify(
          "x",
          NotificationType.Information,
          10
       )
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,745

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard