Solved

Create a Custom Case Entity In Dynamics CRM 2011

Posted on 2016-08-04
10
103 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

732 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