Used Multiple Forms in CRM 2011


As we all know that we have new multiple forms feature in CRM 2011, which allows us to create multiple forms for an entity. Today for the first time I got an opportunity to implement it.

Our scenario was something like this :-

We wanted only specific users to Reactivate Case and they shouldn’t be able to modify any value on the case that they are Reactivating.

We started by first figuring out the minimum rights required to Reactivate the case and they were

  1. Create
  2. Write
  3. Append To

for the Case entity.

Obviously with Write access user will be able to modify the values for the case.

So we did the following

  1. Created a new custom security role having the above mentioned privileges.
  2. Created a new form for the Case Entity.
  3. Removed few of the sections/fields and set the remaining fields as Read Only (through form customization and not JavaScript) for the new form.
  4. Used Assign Security Roles to and selected the newly created security roles as Display only to these selected security roles option


  5. For the main Information form, we selected the same option Display only to these selected security roles and this time checked all other roles and unchecked the new security roles created.

So now when the user having the new security role opens the case form for Reactivating the Case, he only sees the newly created form which has all the fields set as read only.

This solved our purpose.

Hope it helps.

Reactivate Case in CRM 2011


Hi,

Below the minimum rights required to Reactivate a closed or resolved Case in CRM.

Sample code to do it through code


private void Form_Load(object sender, EventArgs e)
 {
 Uri organizationUri = new Uri("http://servername/orgname/XRMServices/2011/Organization.svc");
 Uri homeRealmUri = null;
 ClientCredentials credentials = new ClientCredentials();
 credentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials;
 OrganizationServiceProxy orgProxy = new OrganizationServiceProxy(organizationUri, homeRealmUri, credentials, null);
 IOrganizationService _service = (IOrganizationService)orgProxy;
 ReactivateState("incident", new Guid("caseGuid"), 0, -1, _service);
 }

public static void ReactivateState(string entityName, Guid entityGuid, int state, int status, IOrganizationService orgService)
 {
 try
 {
 SetStateRequest req = new SetStateRequest();
 req.EntityMoniker = new EntityReference(entityName, entityGuid);
 req.State = new OptionSetValue(state);
 req.Status = new OptionSetValue(status);
 orgService.Execute(req);
 }
 catch (Exception ex)
 {

 }
 }

Bye.

Cleared MB2-876 Extending Microsoft Dynamics CRM 2011 exam.


Hi,

Today i got a chance to take the extension exam and was able to clear it. There were 48 questions with passing marks of 700 and 145 minutes to answer them.

The question were mostly straightforward, very few questions were there which were scenario based. It was fairly easy exam when compared to other CRM 2011 exam.

Bye.

Extending Microsoft Dynamics CRM 2011 (Exam MB2-876) exam has released.


Hi,

The extending exam for CRM 2011 has finally released. It was released on 29th Dec 2011, came to know about few days back.

http://www.microsoft.com/learning/en/us/exam.aspx?id=mb2-876&locale=en-us#tab1

Had been waiting for this exam for quite some time now. Would be taking it soon.

Bye.

Images not showing up in CRM 2011


Hi,

One of our clients was having issue wherein images in CRM 2011 were not appearing.

To resolve this issue we need to open Internet Explorer.

Then ToolsàInternet OptionsàAdvanced Tabà check Show Pictures option

Hope this helps.

Update Rollup 6 for Microsoft Dynamics CRM 2011 is available


Hi,

Get the update rollup 6 for CRM 2011.

http://www.microsoft.com/download/en/details.aspx?id=28712

More information on the fixes and updates

http://support.microsoft.com/kb/2600640

Bye.