I have a command bar button on a main form using power fx formula. It clones a record. It was working fine until today (it looks like Microsoft did a copilot update??). It is now not working and I get the following error:
Error: Cannot read properties of null (reading 'identifier')
I have removed and re-added the datasource in the DefaultCommandLibrary (canvas app) but it has not helped. Is anyone having a similar problem and any ideas on how to solve?
Edit - here is my power fx formula - it was working fine until today????
If(
Confirm(
"Are you sure you want to clone this order?",
{
Title: "CLONE AN ORDER",
ConfirmButton: "Yes",
CancelButton: "No"
}
),
// If user clicks "Yes"
With(
{
NewOrder: Patch(
Orders,
Defaults(Orders),
{
'Order Type':Self.Selected.Item.'Order Type',
'Plan No':Self.Selected.Item.'Plan No',
Portfolio:Self.Selected.Item.Portfolio,
'Lot No':Self.Selected.Item.'Lot No',
'Account Code':Self.Selected.Item.'Account Code',
'Issue No':Self.Selected.Item.'Issue No',
'Contractor No':Self.Selected.Item.'Contractor No',
Description:Self.Selected.Item.Description,
'Site Contact Lot':Self.Selected.Item.'Site Contact Lot',
'Start Date':Now(),
Report:Self.Selected.Item.Report,
'Internal Notes':"Cloned from " & Self.Selected.Item.'Order No' & ". Please update before sending"
}
)
},
Navigate(NewOrder);
Notify("Cloning process completed. Please update before sending.")
),
// If user clicks "No"
Notify("Cloning process aborted.")
)
Fixed for me too - good work everyone!
Mine is now working as expected too! Good work folks.
Fixed for me too - more yay
Yay - my command buttons now work 😀 (fingers crossed they keep working !)
Yes - I also got confirmation on my support ticket a fix will be deployed by the weekend 🙂 Fingers Crossed
Still having the issue. MS have got back to me to say the fix will be deployed from 10th May (tomorrow, Friday). So fingers crossed that it will be working on Monday!
I have had a further response this morning from support to say it will be fixed during the next weekend so we will see what happens
I am still seeing the error. On my support ticket they came back to say it seems the deployment didn't fix all regions and organisations.
You can check the released versions of dataverse here.
Released versions of Microsoft Dataverse - Release Notes | Microsoft Learn
Depending on your geography you may need to wait a week or two after its first released. As yet no notification of the fix in any release, however last article was dated 25th April. Still waiting for notes on the next release. They are usually created each week.
I keep trying from time to time but still receiving this error till now
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
57
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1