Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

About Xrm.Page.ui.getFormType() in CRM 2016 on-premises

$
0
0

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

alueForm 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?


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>