Sep 23 2021 05:41 AM - edited Sep 23 2021 12:32 PM
I recently noticed that a customized PowerApp Canvas App will load the first record of a list instead of presenting the user with the new form as expected. I suspect it has to do with the default SharePointForm->FormScreen->item logic:
If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First([@<list name>]),SharePointIntegration.Selected)
But if I change the logic to remove the "First" item, it will still load the first record.
It's random and refreshing the browser is a workaround which will correctly load the "newform." I can replicate the issue on any site collection, in any customized form. The form doesn't even need to have any advanced customization to replicate. Just publishing and replacing the SharePoint form with an unaltered Canvas App causes the issue.
Btw - saving the form with the "First" record will alter the record and does not create a new item.
Sep 27 2021 05:39 AM - edited Sep 27 2021 07:24 AM
Personal update: It only is our tenant. The behavior is exhibited on all forms no matter how complex (or not). I would be curious to know if any other tenants have this behavior, especially GCC tenants.
I tried to replicate on a developer tenant and could not get this bug.
Sep 27 2021 12:18 PM
Sep 29 2021 05:07 AM
SolutionOct 05 2021 08:08 PM
Sep 29 2021 05:07 AM
Solution