Thursday, 9 August 2012

Get Form type using javascript in CRM 2011

In this article , I am going to explain how to get form type

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



No comments:

Post a Comment

Note: only a member of this blog may post a comment.