Microsoft Azure & Dynamics 365 CRM -Learn The Ropes
This blog aims to provide some technical tips about Microsoft Azure & Dynamics 365 CRM - D. MANJALY
Sunday, 20 February 2011
How to differentiate between Create and Update contexts of a Form in MS Dynamics CRM 2011 using Javascript
var
formType= Xrm.Page.ui.getFormType();
getFormType() function returns a number
If the return value is 1 – Form context is Create
If the return value is 2 – Form context is Update
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment