Thursday, 26 May 2016

Get CRM form Type in MS CRM using javascript

getFormType(): Method is used to get the form context for the record. The following table lists the form types that correspond to the return value.
////////////////////////////////////////////////////////////////////////
Xrm.Page.ui.getFormType();
////////////////////////////////////////////////////////////////////////

Form Type
Value
Undefined
0
Create
1
Update
2
Read Only
3
Disabled
4
Quick Create
5
Bulk Edit
6
Read Optimized
11

No comments:

Post a Comment