xrm.cs ?

Dec 16, 2010 at 9:35 AM

Hi,

I want to add custom field in the createcase form. I generated the xrm.cs file successfully with crmsvcUtil.

But I don't know what to do with this file. What are the next steps ?

Thanks

Dec 16, 2010 at 6:26 PM

If you open your solution file you will see an  Xrm project in the solution with the xrm.cs file being the only file in the project.  Simply replace the file with your own and recompile the solution.  Please note that you have to use the correct parameters on the CrmSvcUtil program to ensure that your new xrm.cs file is generated with the same namespace and data context name otherwise you will introduce breaking changes in the file and have difficulties recompiling the site.  I believe you can use Xrm as the namespace and Xrm as the data context prefix to remain compatible with the file that ships with the accelerator.

Shan

Dec 17, 2010 at 10:19 AM

Thank You.

 

The XRM folder was missing !

It works.

Dec 17, 2010 at 11:50 PM

I suspect that you opened the project file for the website.  If you opened the solution file, you would see the other project as well as the website.

Shan