You are currently browsing the tag archive for the ‘Form Type’ tag.

I’ve run into this situation recently, and I would think this is a bug.

Let’s say you are a System Customizer, and you have a read-only form and an edit form for an entity, say Account. Now you try to create a Workflow for Accounts, and when you get to add an Update Record step, and click on the Set Properties button, you are presented with the read-only form. Annoying  enough.

The reason for this behavior is because Dynamics CRM remembers the last form type you have used. If the last time you accessed an Account you’ve used the read-only form, you are presented in the Workflow with that same form.

To avoid that, go into an Account, and change the form to the edit form. Save and go back to your Workflow. Now you should be getting the proper edit form.

Hopefully we see a fix for this soon.

Enjoy!

Advertisements

The following form types are available in Dynamics CRM 2011:

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

 

To get the Form Type in JScript, use the following syntax:

var _formType = Xrm.Page.ui.getFormType();

Check out my course [Video]

Dynamics 365 Customer Engagement Administration

Dynamics 365 Customer Engagement Administration

Check out my course [Video]

Configuring and Extending Dynamics 365 Customer Engagement

Configuring and Extending Dynamics 365 Customer Engagement

Check out my course [Video]

Getting Started with Dynamics 365 Customer Engagement

Reviewed Book

Implementing Microsoft Dynamics 365 for Finance and Operations

Implementing Microsoft Dynamics 365 for Finance and Operations

Reviewed Book

Microsoft Dynamics 365 Extensions Cookbook

Microsoft Dynamics 365 Extensions Cookbook

Check out my Book

Microsoft Dynamics CRM 2016 Customization - Second Edition

Microsoft Dynamics CRM 2016 Customization - Second Edition

Check out my Book

Microsoft Dynamics CRM Customization Essentials

Microsoft Dynamics CRM Customization Essentials

Check out my Book

Microsoft Dynamics CRM 2011 Scripting Cookbook

Microsoft Dynamics CRM 2011 Scripting Cookbook

Reviewed Book

Microsoft Dynamics CRM 2011: Dashboards Cookbook

Microsoft Dynamics CRM 2011: Dashboards Cookbook

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 607 other followers

Follow Dynamics 365 Wizardry on WordPress.com