Solved

Create a Custom Case Entity In Dynamics CRM 2011

Posted on 2016-08-04
10
60 Views
Last Modified: 2016-08-16
Hi,

Can i create a custom case entity in CRM different from the default. Reason being i need to create fields that are different from the Standard case form.

I am using dynamics CRM 2011.

Thanks,
Asif
0
Comment
Question by:GulfIT
  • 5
  • 5
10 Comments
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 41741857
You could but any in-built functionality around cases would not be available to you.  Instead, you can create your fields and add them to a new form for case. Entities in CRM can have multiple forms. So I suggest you leave the out of the box form for case as it is, make a copy (using Save As) and edit that to suit your needs.
0
 

Author Comment

by:GulfIT
ID: 41742356
How do i select the New Form when raising a Case ?
0
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 41742359
Look at the left hand side just above where the form tabs are shown. You should see Information with an arrow after it. Click the arrow and a list of other forms will be shown.

When you are happy with the new form you can use form security to make the Information form not show to users,
0
 

Author Comment

by:GulfIT
ID: 41742388
Hmm.

Is there any way i have display the New form as an option like in the attached.

I have created a new form calls Credit Case and can i display that in the list attached.

Thanks,
Case-SS-.docx
0
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 41742410
I don't think so. But I think CRM will use the last form that the user selected for Case.

Does hiding forms by security role help you at all?  If users will always use the new form then you can hide the original form using security roles.

If you need users to choose between forms then I think they will have to do it after clicking New in the location you showed.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:GulfIT
ID: 41742542
Users have to use both the forms.

Is there any way i can replicate the standard case to a custom entity?
0
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 41742554
In a word, no.

You might be able to do fancy stuff by exporting a solution containing just the case entity and hacking the XML but personally I wouldn't do it.

And there is no to duplicate any of the functionality for cases - it is part of the code for CRM. Of course you might not need any of the functionality.

I did wonder whether instead of having another form you could use JavaScript to hide/unhide tabs/sections/fields on the form based on the value of something.
0
 

Author Comment

by:GulfIT
ID: 41749845
Can you share any link that has guidance how to Show/Hide fields based on a option set selection.

Thanks.
0
 
LVL 29

Accepted Solution

by:
Feridun Kadir earned 500 total points
ID: 41752230
I don't have anything to hand but you will need to use JavaScript. If you see anything on Business Rules, ignore it because they aren't available in CRM 2011.

To hide a field, use:
Xrm.Page.getControl("fieldname").setVisible(false);

Open in new window


and to make it show
Xrm.Page.getControl("fieldname").setVisible(true);

Open in new window


Replace fieldname with the internal name of the relevant field.

There is information on working with JavaScript here, https://msdn.microsoft.com/en-us/library/gg334351(v=crm.5).aspx
0
 

Author Closing Comment

by:GulfIT
ID: 41757644
Thanks Feridun.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS CRM 4 - link fileld 11 41
Microsoft Dynamics Roles question 4 85
SQL Server 'UCase' is not a recognized built-in function name. 9 385
crm development 2 68
On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now