Integrating SharePoint and Livelink using Web Services.
SharePoint can be integrated with Livelink Server though the Livelink Web Service .This uses standard HTTP protocol to communicate with the Livelink server. Livelink Web Services are installed on a Web Services application server, we do not have to install any Livelink software on the SharePoint Server or on the machine where we are building our applications. The following diagram shows how SharePoint can interact with Livelink through Livelink Web Services.
Archiving SharePoint Documents to Livelink
The purpose of this is to provide an “Archive to Livelink” option for documents stored in SharePoint sites and on click of that button the document will be archived to Livelink. The following steps tell us how to do it.
Step 1: Create a custom feature in SharePoint to add an extra item in the dropdown menu that comes when you click on any document. Specify the item name as “Archive to Livelink”
Step 2: Create a web part Page in SharePoint and Modify the above created feature to Point to this page when we click on the “Archive to Livelink” option
Step 3: Create a user control in Visual Studio 2005/2008 and add a web reference to the DocMan Web Service of Livelink. Use the ListObjects function of this web service to get the livelink folder structure (to allow users to select the folder in which they want to put the selected document). Then add this user control on the Web part page that we created in the previous step using SmartPart(This is a SharePoint web part which is used to add ASP.NET user controls on SharePoint sites. It is available as a free download on www.codeplex.com)
Note: I am creating user controls instead of web parts because it is easy to design the UI but the same thing can also be done by creating a web part.
Step 4: Create another user control in Visual Studio which uses the AddDocument(if file size is less than 1Mb) or AddDocumentSegmented(If file size is greater than 1Mb) function of the DocMan web service to copy a document to Livelink. The required parameters for the add document function are provided by query string and the above web part that we created. Add this user control to the same webpart page.
Step 5: Create a confirmation page (a web part page in SharePoint) to confirm that your document is archived or not after you click on the Archive button.
So this is one way of Integrating SharePoint with LiveLink using LiveLink web services. Same thing can be done using LiveLink APIs also.