I got a panicked call this morning (Dec-22) from a developer out in the business who suddenly was having severe data loss. It looked like all of his data was gone. Worse, it appeared some records still had data, but as he went looking around at it, that data started disappearing!
Ultimately, it wasn't the data disappearing, it was his own app writing blank values over the data because Microsoft had f@#%3d him over by changing something relating to Records vs. Collections.
NOTE: I did just do a test w/ a locally created Collection AND with a SharePoint Collection and everything still works as usual. So now we're down to testing if this happens with Dataverse (probably), or just Dataverse For Teams.
For those who aren't aware, Microsoft is always doing rolling changes on our environments and the underlying PowerApps infrastructure. Most times this is beneficial. Sometimes it blows our crap up. In this scenario Microsft is trying to deal w/ the concept of a "single item Collection" which they (and the rest of the world) would generally refer to as a Record.
Just a row/record |
As a refresher, if we have a single row in Excel, that's just a Row (or a Record). But if we have a bunch of rows w/ similar data stacked on top of each other, then that's a Table (or a Collection). It might seem like a small difference, but small differences destroy software applications.
A Table/Collection (poor Orville) |
I spent some time b1tching early on around PowerApps not understanding that if there's just a single item in a Collection then it's really a Record so stop making me still use things like First(myCollection).valueIWant and just let me do myCollection.valueIWant. But I honestly got over it.
It appears that Microsoft did not.
However, it also appears like they're not really sure what they're doing with it all because: there is no such thing as a variable type that can store a Record in PowerFX/PowerApps currently. Sure Records exist, but you can't store them anywhere except inside a Collection.
And this is where it looks like Microsoft did one of two things:
- Changed the ThisItem property within Galleries to return Records
- Broke the ability to directly assign Records into Collections
How bad is this?
See the far right column |
No comments:
Post a Comment
Because some d-bag is throwing 'bot posts at my blog I've turned on full Moderation. If your comment doesn't show up immediately then that's why.
DIAF Visualpath team