Wednesday, December 26, 2007

Microsoft Dynamics CRM 4.0 Implementation Guide:

I just wanted to remind everyone that the Microsoft Dynamics CRM 4.0 Implementation Guide is now available at the Microsoft Downloads Center. Not only does it cover installation and maintenance, it discusses planning considerations that are potentially very important for any successful implementation of a CRM platform.

Regards,
Imran

CRM 4.0 Ready to Download

Dear Readers,

Microsoft Dynamics CRM 4.0 is available as a 90-day trial version at the Microsoft Downloads center.

The download page will be updated with new languages as they are released.

Download the Microsoft Dynamics CRM 4.0 Trial Versions in either 32 or 64-bit!

Download the Microsoft Dynamics CRM for Outlook (For On-Premise and Hosted Editions) 32 bit!

Download the Microsoft Dynamics CRM 4.0 Data Migration Manager 32 bit!

Download the Microsoft Dynamics CRM 4.0 E-mail Router (On-Premise and Hosted Editions) in either 32 or 64-bit!

Regards,
Imran

Tuesday, December 04, 2007

CRM 4.0 Code Sample

Dear Readers,

While working in MS CRM 4.0 (Titan), there is one more webservice introduced for the purpose of handling multi-tenacy.

Here is code sample, how you will use this webservice to authenticate.

//Create Windows Network Credential
NetworkCredential cred = new NetworkCredential();
cred.Domain = textBoxDomain.Text;
cred.UserName = textBoxUserName.Text;
cred.Password = textBoxPassword.Text;

//Create a Discovery Service
CrmDiscoveryService disco = new CrmDiscoveryService();
disco.Credentials = cred;
disco.Url = textBoxServer.Text + "/MSCRMServices/2007/AD/CrmDiscoveryService.asmx";

//Retrieve a list of Organizations which this user has access to
RetrieveOrganizationsRequest orgRequest = new RetrieveOrganizationsRequest();
RetrieveOrganizationsResponse orgResponse = (RetrieveOrganizationsResponse)disco.Execute(orgRequest);


//Create a CRM Authentication token
CrmAuthenticationToken token = new CrmAuthenticationToken();
token.AuthenticationType = 0;
token.OrganizationName = formorg.Org.OrganizationName;

//Create a CRM Service
CrmService service = new CrmService();
service.CrmAuthenticationTokenValue = token;
service.Credentials = cred;
service.Url = formorg.Org.CrmServiceUrl;

//Run a basic service operation to test the connection
WhoAmIRequest whoRequest = new WhoAmIRequest();
WhoAmIResponse whoResponse = (WhoAmIResponse)service.Execute(whoRequest);


Hopefull code snippet will help to developers.

Regards,
Imran

msn : mscrmexpert@gmail.com