You're like...a mind reader, Shane. I was facing the challenge with one my large apps where I was a getting an error can't divide by zero; no idea what control was producing it. And then your video comes and that OnError under the App with FirstMessage record...mindblown. Thank you!
@ShanesCows
2 жыл бұрын
Awesome Brendan. I had Chewy keeping an eye on you for you what you needed. :)
@sargunsohal1773
Ай бұрын
Thanks Shane! This really saved me. Was exactly what I was looking for
@ShanesCows
Ай бұрын
Great to hear!
@Bekesam
9 ай бұрын
Oh Wow!! I wish I had seen this before, but glad to come across this. Thank you very much for posting Shane!!!!
@ShanesCows
9 ай бұрын
Happy to help 🤩🤩
@upgradeaerialphotos
2 жыл бұрын
Great video Shane and very needed! Question, would patching to a Sharepoint list for errors be more or less efficient than patching to SQL?
@ShanesCows
2 жыл бұрын
Sql is probably better but to use sql as a datasource requires premium license. If you have that DataVerse is probably the best option. 😎
@joaobadaro8439
Жыл бұрын
The god of Power apps, thank you Shane!
@ShanesCows
Жыл бұрын
Glad that it helped you 🤩
@robbolles4742
11 ай бұрын
Thank you again Shane, Exactly the info I was looking for.
@ShanesCows
11 ай бұрын
My pleasure!
@Paul___L
Жыл бұрын
Love this Shane! I've got a new page with galleries which change template size on the count of items.... Division by 0 errors all over the place as it takes a second to load... Probably should pre load, but... I am where I am and this looks great! Think I'd add it to add to a list via automate and then flag to me on teams of its a new fault, not previously in the app. Thanks for the building blocks!
@jayveebarretto9309
Жыл бұрын
Thank you for this informative video, Shayne! This can help us to debug any error that is not showing on the end-user. Just curious if this OnError includes problem on network or internet? Many thanks!
@MichaelDeBlasis1369
3 ай бұрын
Another very informative video. I was about to ask how do you find where random error message are coming from but I see that the on error property in combination with Notify will give the location in the notification message. Done and Done. That was starting to bug me. PUN!
@ShanesCows
3 ай бұрын
Glad to help!
@oluwatobiyusuf
Жыл бұрын
Yes, I enjoyed it. Thank you Shane
@ShanesCows
Жыл бұрын
You watched a lot of videos today. Thanks for the nice comments. 😎
@ArunKumar-ov1tw
Жыл бұрын
Great session. Thanks a lot 👏
@ShanesCows
Жыл бұрын
My pleasure!
@Tiago22049316
2 жыл бұрын
Great video Shane! Have u any video about concat errors from gallery before patch to sharepoint list? or something like that? Thank you in advance
@ShanesCows
2 жыл бұрын
I don't exactly follow. Can you give me more details about what you want to see?
@Tiago22049316
2 жыл бұрын
@@ShanesCows I mean, I have some questions in different rows in Gallery, for example: 1st have an combobox that can't be empty, 2nd have an txtbox that need be filled with numbers... How can I block the user to patch and show him all errors? Do you Have a way to show me? Thank you
@diogo9610
7 ай бұрын
Thank you Shane, learned a lot
@amberdrebaum6491
Жыл бұрын
Thank you for your help! Was curious if instead of Patch to SP list can you also send to Power Automate?
@shellybarrett2960
Жыл бұрын
So I implemented logging in my app. My data source is SQL. Once I implemented this, when a user was editing a form, some fields on the form that the user had filled out, the data was erased. When I removed the error preview feature, the data stayed. I still have the Code evaluating my errors table to see if it is blank on submission after my patch. Have you seen this issue?
@ShanesCows
Жыл бұрын
Hi Shelly, I have not. :(
@robinroy3300
2 жыл бұрын
Really useful. Can we utilize trace in onerrror property to send each error to Azure app insights?
@ShanesCows
2 жыл бұрын
Yep, that would a great idea Robin :)
@nazuu
2 жыл бұрын
Great knowledge.
@ShanesCows
2 жыл бұрын
Thanks. 😎
@paolovr1970
2 жыл бұрын
Thanks Shane 🙏🙏🙏
@ShanesCows
2 жыл бұрын
Happy to help 🥰
@shingomcleod
Жыл бұрын
Hi Shane, I think I'm having issues with users ignoring the 'there's a new version of this app available, please refresh...' banner. What are your thoughts on storing the latest version in a SharePoint list, then OnStart: compare the SP stored version to the one hardcoded in the app, and if they are not the same prevent users from doing anything, unless the two match? Or is there a better way?
@ShanesCows
Жыл бұрын
kzitem.info/news/bejne/u2NrtYGIsml4koI I have a video that show basically what you described. 😀 I think that is a great way to go.
@PowerAppsEric
2 жыл бұрын
Is that the intended behavior for the Set(x,Patch(...)) errors, or a bug? Seems un-PowerApps-ish.
@ShanesCows
2 жыл бұрын
Fair question, I haven't had time to ask them yet but I have it on my list.
@raindenverraindenver717
2 жыл бұрын
Good explanation! But I wonder and did not find ANY information about concurrent patch or form submission for SQL server data. How to handle changes made by other users? ((
@ShanesCows
2 жыл бұрын
Are you looking for locking? So 2 people can't edit the same record in SQL? Or something different. Sorry, not sure what your challenge is. :)
@raindenverraindenver717
2 жыл бұрын
@@ShanesCows Thanks for quick respond !) Yes. One user changed data while other users see unchanged (old data) without refreshing Datasource. Yes it about locking record (optimistic or pessimistic). You can open your any test app in two copies and in one change any data. Without refreshing second app do no see changes . The data source should be SP List or SQL db.
@ShanesCows
2 жыл бұрын
You will have to create logic to handle that. You can use the Refresh function on a timer to periodically refresh the data in the app. Or use my check for duplicates logic to check for changes before locking a record. Power Apps isn't going to do anything for you automatically, you will have to code it. 😑 kzitem.info/news/bejne/oqZpxXmXcnpplWU
@megancusey6678
Жыл бұрын
I've been looking for documentation on what information is available on the AllErrors or FirstError record? Perhaps you have that information?
@ShanesCows
Жыл бұрын
Sorry Megan I don't have any cheat sheet for it.
@UnbelievablyIllinois
Жыл бұрын
Does anyone else say "Heeeeeerrrrs our intro" with Shane? Please let me know that I am not alone.
@ShanesCows
Жыл бұрын
Thousands of people are with you Brandon. 🤪 In person when people meet me for the first time that is a very common lead off. 😎
@UnbelievablyIllinois
Жыл бұрын
@@ShanesCows Thank goodness I am not alone.
@martinc3907
10 ай бұрын
My problem is that in production one SQL table is not getting patched. However, in my development environment it works perfectly. Development environment has a copy of the production tables but both production and development environments use the same lookups in the production environment. I'm using the set statement, so it looks like the situation where Power Apps handles the error but does not notify that the patch failed.
@martinc3907
5 ай бұрын
Sorted that error out but now getting a bizarre error on another app I developed. I have a date table from which I retrieve a diary number this is then used to filter a much larger table. I used the date as int solution to overcome delegation issues with filtering the date table with the date picker. This works fine I then used the diary number returned from the first table to filter a much larger table. However, I am now experiencing a bizarre problem. Every second time I use the date picker; it returns no data in the larger table. For example, start the app and pick 4/1 I get data pick 5/1, and no data is returned. Pick 3/1 data returned pick 4/1 no data returned but then pick 5/1 data returned. Using SQL as the data source. Shane your video on setting up an error log will be very useful in hopefully working out why this is happening.
@kingsleyudeagha
Жыл бұрын
Can we access Error.Message outside the notify scope ?
@VinayKumar-ky8wh
Жыл бұрын
Hello Shane Young. Can we record the Allerrors into SharePoint List
@ShanesCows
Жыл бұрын
Yes, using Patch.
@VinayKumar-ky8wh
Жыл бұрын
What are the chances for Multiple errors?. can you please help me with some test cases for creating multiple errors
@SergioItashop
2 жыл бұрын
Hi Shane Young. How To Customize this message "No item to display" ?
@azharsyed6461
2 жыл бұрын
Make a video Using Dataflow how to add data to Dataverse Table when a new file is uploaded Model Driven App
Пікірлер: 57