I'm using the CRM 2016 on-premises
I find this Client API can only return 1 and 2 status
But according to the MSDN, the return value will include
alue | Form Type |
0
|
Undefined
|
1
|
Create
|
2
|
Update
|
3
|
Read Only
|
4
|
Disabled
|
5
|
Quick Create (Deprecated)
|
6
|
Bulk Edit
|
11
|
Read Optimized (Deprecated)
|
For example:
1. Create custom entity ent_Test01
2. Set user role has only read access with Org level.
3. create a record with system administrator role
4. login the user who has only read access and open the ent_Test01 record
5. I will see there is a yellow bar on the bottom of the page " Inactive Readonly"
6. But the Xrm.Page.ui.getFormType() still return 2 (Update)
Can anyone tell me when I can get 3(Read Only) and 4(Disabled) value?
*This post is locked for comments
I have the same question (0)