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

转载于:https://www.cnblogs.com/VicTang/p/3808981.html

猜你喜欢

转载自blog.csdn.net/weixin_34227447/article/details/93416726
今日推荐