Muhammad Ali Khan

MS CRM 3.0, MS CRM 4.0, Sharepoint 2007 & Sharepoint 2010

Archive for August, 2009

IE8 with debugging tools for MS CRM 4.0

Posted by Ali Khan on August 10, 2009

Source : From MSDN Blog site for MS CRM

The Microsoft product team also released the following statement regarding support for CRM 4.

“We’re thrilled to have IE8 in market and released. During the past 12 months we have worked closely with the IE team and Dynamics CRM has been one of the key “test products” for the IE team when working through their validation and tests. During the process we naturally identified issues and resolution to those were vigorously pursued and implemented. At this point we only have 1 known issue and we’re happy to be able to state that IE8 is an officially supporter browser for Dynamics CRM 4.0. We expect the Implementation Guide to be updated in April 2009 to reflect this supported status for IE8.”
Preety Cool…

For more details IE8 For MS CRM 4 Developers

Advertisements

Posted in MS CRM 4.0 | Leave a Comment »

U2U Article: A Microsoft SharePoint 2007 custom field type for Microsoft CRM Dynamics 4.0

Posted by Ali Khan on August 9, 2009

I found this great post on U2U articles for integeration between ms crm and sharepoint , and decided to share with you.

Source : U2U
For details go to the article URL.
Custom Field Type For MS CRM 4.0


Posted in MS CRM 4.0, Sharepoint 2007 | Leave a Comment »

Creating Custom WebService In SharePoint 2007

Posted by Ali Khan on August 7, 2009

In this post i am going to show you how to create a custom webservice in sharepoint 2007. There is already an article (Hello World Webservice) on msdn about this.

http://msdn.microsoft.com/en-us/library/ms464040.aspx

Except the fact, the article on MSDN wants you to create the WSDL and DISCO file for yourself, which I found out to be very hectic and time consuming. Instead we can just use any tool that will generate the WSDL and DISCO file for us.

1.    As First Step, Create a class library in Visual Studio 

1

2.    Add the references to the “Microsoft.Sharepoint.dll” and “System.Web.Services” dll

  2

 

3.    Add a new class and inherit it from “Webservice” class

3

4.    Sign the assembly. As it will be deployed in GAC

  

4

 

5.    Write your code for the custom webserivce. Here are just two methods for renaming the folder in a document library

 

0

 

6.    Build your project and install it in GAC.

 

5

 

7.    Create a custom SPFolderWS.asmx file which will point to the SPFolderWS.cs (which you defined in the class library, and is installed in GAC). Note this file “SPFolderWS.asmx” doesn’t need to be in the project.

 

16

 

8.    Use the SPDev Tool to generate the DISCO and WSDL file for you. ( You can download the SPDev Tool from the following website)

http://www.crsw.com/spdev/Wiki%20Pages/GenWS.aspx

 

6

 

9.    Here are your generated WSDL and DISCO file.

 7

 

10. Copy these files to the “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI” directory

 

11

 

11. Browse the URL to make sure the webservice is properly deployed

 9

 

12. That’s it.

Now to test the above webservice, we will create a console application.

1.    Create a Console Application, and add the reference to the webservice as shown below

 

12

 

2.    Write the following code snippet to call the methods of the custom webservice.

 

15

 

3.    If everything works fine, the folder should be re-named.

 

14

 4.    That’s All

You can also download this code from the following location.

Custom WebService Code
 

Posted in Sharepoint 2007 | 9 Comments »

Run SharePoint 2007 On Vista

Posted by Ali Khan on August 3, 2009

If you are a developer for SharePoint your best friend has been Virtual PC or VMWare. It’s time to introduce a new friend, Bamboo Nation’s SharePointOnVista.

If you have limited RAM and don’t want the VM, here is how you can install SharePoint on windows Vista.

 Install SharePoint on Vista

Posted in Sharepoint 2007 | Tagged: | Leave a Comment »