Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | All TechTalks | Architecture Insights
I'm trying to get the status of the form.
I've been having issues with Xrm.Page.ui.getFormType()
So i made a small test script, running the below script gives me an error OnLoad
var formType = Xrm.Page.ui.getFormType();
Im running this on CRM 2015 update 0.3
Error I get :
Can you show me the form properties screenshot?
I hope you have only added SetName in function name in event handler and you are not adding SetName().
that's correct (without () )
Do you have any other code in your js library other than what you have added in your post?
If you have other methods added in your library then please validate the syntax of your code using below online website -
Add alert in your code to see if it shows on form.
The error is generic and not sure the cause of it.
You should also try in different browser. Have you tried disabling the event handle to see if it does not show the same error?
Please mark my answer verified if this is helpful!
Follow my Blog: xrmdynamicscrm.wordpress.com/
Business Applications communities