Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Create a Custom Case Entity In Dynamics CRM 2011

Posted on 2016-08-04
10
Medium Priority
?
179 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 30

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 30

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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

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 30

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 30

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 30

Accepted Solution

by:
Feridun Kadir earned 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

604 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