Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
In Dynamics Unified version sometime when an open custom entity record and standard entity record then script error is raising. This is happening since the last 4-5 days.
Please see the below error message.
TypeError: Cannot read property 'entity' of null
at <anonymous>:7:385 at Mscrm.BusinessRulesScript.Initialize (<anonymous>:7:583) at np.executeFunction (technomileteammeber.crm.dynamics.com/.../app.js at Yd._executeIndividualEvent (technomileteammeber.crm.dynamics.com/.../app.js at Yd._executeEventHandler (technomileteammeber.crm.dynamics.com/.../app.js at Object.execute (technomileteammeber.crm.dynamics.com/.../app.js at O._executeSyncAction (technomileteammeber.crm.dynamics.com/.../app.js at O._executeSync (technomileteammeber.crm.dynamics.com/.../app.js at O.executeAction (technomileteammeber.crm.dynamics.com/.../app.js at t.dispatch (technomileteammeber.crm.dynamics.com/.../app.js
Did you considerer the below API replacements?
Please mark as verified if this was helpful.
Hi Shrikantbhongade ,
Some client API are deprecated in XRM so you can use the formContext on page load to achieve the same.
You can refer below blog for a detailed explanation
Please Feel free to mark the answer as verified if it is useful
According to your error message, The carrier of the "entity" property is a null object, so you should check the code in onload event and debug it in F12.
You could also share your code here and we will be able to test&check for you.
BTW, why did you change the variable name from "Xrm" to "XrmObj"? It doesn't seem to have any effect.
If you are using web api when facing this issue, you could also refer to the following blog.
Hope it helps.
Business Applications communities