Microsoft Azure & Dynamics 365 CRM -Learn The Ropes
This blog aims to provide some technical tips about Microsoft Azure & Dynamics 365 CRM - D. MANJALY
"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment