Get Form type using javascript in CRM 2011

Get from type


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

posted on 2014-05-30 14:04  代码王子  阅读(130)  评论(0编辑  收藏  举报

导航