Solved

Create a Custom Case Entity In Dynamics CRM 2011

Posted on 2016-08-04
10
117 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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
 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part II
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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