Skip to main content

Get Form Type CRM 2011 Javascript

var type = Xrm.Page.ui.getFormType();

getFromType() function returns integer value for different Form states
0 - undefined
1 - Create
2 - Update
3 - Read Only
4 - Disabled
5 - Quick Create (Deprecated)
6 - Bulk Edit

Comments

Post a Comment