web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : aQnFlT9Ljlxx/sddc0X6nB
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

Like (0) ShareShare
ReportReport
Posted on 26 Apr 2024 09:05:35 by 40

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.")
)

 



  • Vikash001 Profile Picture
    40 on 13 May 2024 at 17:52:12
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Fixed for me too - good work everyone!

  • Sam7799 Profile Picture
    25 on 13 May 2024 at 09:41:15
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Mine is now working as expected too! Good work folks.

  • Alex Nosiara Profile Picture
    12 on 12 May 2024 at 22:51:59
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Fixed for me too - more yay

  • sharonsammy123 Profile Picture
    40 on 10 May 2024 at 23:35:45
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Yay - my command buttons now work  😀   (fingers crossed they keep working !)

  • Sam7799 Profile Picture
    25 on 09 May 2024 at 14:56:02
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Yes - I also got confirmation on my support ticket a fix will be deployed by the weekend 🙂 Fingers Crossed

  • LucyCC Profile Picture
    95 on 09 May 2024 at 14:41:18
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    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!

  • MarkPP Profile Picture
    107 on 08 May 2024 at 08:52:11
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    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

  • MarkPP Profile Picture
    107 on 07 May 2024 at 10:28:26
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    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. 

  • Alex Nosiara Profile Picture
    12 on 07 May 2024 at 02:20:42
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    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.

  • windywong Profile Picture
    32 on 06 May 2024 at 11:15:54
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    I keep trying from time to time but still receiving this error till now

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete