I'm starting to pull together a portal that will connect to our Dynamics 2015 Online environment. This has been done using Orchard CMS from Jim Wang. I've managed to get the CMS to connect to Dynamics and all is great with the OOTB data but we've obviously been working on the CRM so we're looking to get the customised entities and fields.
So we've used the SDK to get this using CRMSVCUTIL using this code:
CrmSvcUtil.exe /url:crmdomain.com/.../Organization.svc /out:Xrm.cs /username:"username" /password:"password" /namespace:Xrm /serviceContextName:XrmServiceContext
So we have an Xrm.cs file which I then use to overwrite the Xrm.cs file in the Services folder of the Orchard CMS Dynamics CRM module (I simply do a copy and paste to overwrite the remote file using VS Community 2015) but when we try to access the CRM elements of the Orchard CMS we get an error saying the page cannot be found. When we revert the Xrm.cs file to the original then everythiung works again.
I'm wondering if I'm missing something very simple here (like needing to take the SDK files and overwrite these in the Orchard CMS module as well).
Any suggestions as to what I may be ding wrong is always welcome :)
Thanx guys