Power Apps Errors Function when using Patch and other data source changes

preview_player
Показать описание
Learn how to add logic to check if there was an Error when working with your data source thanks to the PowerApps Error function.

Рекомендации по теме
Комментарии
Автор

Holy Mole Guacamole, now I can even collect and save those errors back to my DB so when users tell me they've got an error message (which obviously now is gone), I know EXACTLY what the issue was. But what if there's an error when patching back the errors, hmmm, that's an inception situation.

Thank you, Shane, fine as wine as always!

AdiCristea
Автор

The errors table is so much more informative than the monitor or error messages themselves. I love how you can easily find errors that way. Also I'm def not filling the gaps here so your class is needed. I also JUST learned that you can set blank value as a property in a dropdown hahaha! yet I was able to create an HTML doc and link it to a flow earlier this week. GEEEZ lots to learn

MichaelDeBlasis
Автор

You rock! I watch a ton of your stuff. You are practically a co-worker. :) Thanks for all you do!

tamarawattenberg
Автор

Purely practical example. Thank you very much Shane. You are the legend of the powerapps

shaantoshholaay
Автор

Perfect timing releasing this video, literally what I'm looking into now! Good content 👌

ndatasolutions
Автор

Short and helpful. Love it!
I prefer Patch over Submit, so I really often use the errors-function. But concerning user experience, don’t use notification with 3 (milliseconds) that’s too fast - even for your followers. ;)

I would love to see more of this kind of videos... maybe concerning table „modification“ like Addcolumns, Showcolumns and also group and ungroup.

Mx
Автор

Perfect! Just what I was looking for! Thank you!

pal
Автор

awesome video Shane.. something I was struggling in my app. You explained the concepts so well...

ArohShukla
Автор

Thank you Shane! Life saver i didn't have a clue about.

mozgusify
Автор

Good one. I like these quick hit videos as well as your longer ones.

TyRey
Автор

I've waited patiently - thank you

gwenmac
Автор

This was a really helpful to me, thanks!!

aagautham
Автор

Awesome! This makes me want to create a SUBMIT ERROR button that sends the error contents, page, user, time, etc to an "Issue Tracker" SP List.
heck, do away with the button and have it happen automagically in the background!

Thanks again Shane!

RobFahndrich
Автор

One more great video Shane Thanks a lot.... 🙂🙂🙂

akshaynm
Автор

Thank you!!! Need to use more Errors function in my apps. Also need to learn how to email errors to a developer.

galinagolant
Автор

Thank you yet again, just love your videos 🥰🥰🥰

wendymason
Автор

Hi Shane, thank you for this video.
I have a custom form on SharePoint list and I tried you approach to handle: 1) If the user don't have the privilege to modify record 2) If a field is not duplicate (there is a unique costraint on SPO list).
The app catch the different errors (code 1 and code 8) but if I dont't refresh the page making some test switching between the two errors I see the correct error only the first time. The following times I always see the error with max code - 8 - (both using Last(MyList).Message and First(MyList).Message)). I see the correct error only if I close the form and refresh the page.
Any suggestion?

emma
Автор

Hi Shane, this is great thank you very much.

However I'm getting a problem with this.

If I try and Patch a new record, the error pops up, however if I'm trying to Patch an existing record, the error does not popup.

I'm mainly interested in People Columns, and showing when the person does not exist (they have left the company). Also to hopefully show ETag Mismatch errors too.

Any way of getting this to work with existing records? Am I doing anything wrong?

bobleach
Автор

Hi Shane, if you had say 10 fields, would you still validate all of them all in the displaymode property -thanks Mike

mikegc
Автор

Hi @Shane,
Good day! There is a Power Apps App at our work we are developing now for users to book/schedule different Training events for their teams. It uses 3 SharePoint Lists of Training activities to organize [add a new event, edit an existing event already scheduled]. The Add a new booking event [using the same SP lists] works OK. But when I try to edit an existing event [like change the start and/ end date, etc.], as the Power Apps tries to update the info [using Patch() function] in the existing record in the Share Point List of training events - I am getting a "network error when using Patch function. An error occurred on the server."


The update doesn't happen.
Not sure what is this error pointing to. I would appreciate it a lot if you could advise something.
Many thanks, Sohana

sohananahid