Friday 29 May 2009

How to Write Long String in Multiple Lines In c#

It is always good to have your big strings being splitted into multiple lines so that it is easy to read understand and give a professional llok of CODE.
e.g...
attachmentElement.InnerText = "Mukesh Kumar Giri is going to
show you how you can split your
big strings into small peices ";

You got have two ways to achieve it.
1.> attachmentElement.InnerText = " Mukesh Kumar Giri" +
"is going to show " +
" how you can split" +
"your big strings" +
"into small peices";
2.> attachmentElement.InnerText = @"Mukesh Kumar Giri is going to
show you how you can split your
big strings into small peices";

That is it.
Always prefer the former style as latter style does not move the next line to the starting of first line.
I had to try it while i was trying to insert multiple values in my XML and i had to struggle a lot to achieve it which does not have anything to do with XML.

Cheers,

Mukesh Giri

Wednesday 13 May 2009

Understanding Setup Of MOSS 2007 Development Environment

I will be posting about my understanding which should be helpful for new users to understand the basics and the most important considerations to be taken into account to set up MOSS 2007 Dev. Environment. For convenience i will break the post into points to be considered and might delt with ease.
1.>Installing Microsoft Office SharePoint Server 2007 (MOSS 2007)
1.A> Edition Selections
MOSS 2007 comes in two Editions, namely Enterprise Edition and Standard Edition.If you require features like e.g. Business Data Catalog, Excel Calculation Services, Forms Server 2007 etc during development, then simply use the Enterprise Key for installation of MOSS.
Which SharePoint technology is right for you? For complete reference use >
1.B> Installation Style:
While installing of MOSS 2007 you opt for "Stand Alone" or "Complete" installation; either option will work but with "Complete", you can select the SQL SERVER to host your databases,
plus you can add other servers to the deployment.

2.> Virtualization in Development Environment:
Options available for virtualization like e.g VMware , Microsoft Hyper-V(comes with Windows Server 2008) , Microsoft Virtual Server , Microsoft VPC etc. for large organization, most likely you have to maintain several development environments so VIRTULIZATION comes handy.
3.> Development Framework: VS 2005/ 2008
Any flavor of VS could be used with the Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1.These are the Visual Studio project templates for developing Web-parts, Site Definitions, and List Definitions. They also contain an application ,that generates MOSS 2007 solution file for you. These extensions can be downloaded from
4.>SharePoint Serve 2007 SDK: Software Development Kit
MOSS 2007 SDK, comes with a lot of samples which could be downloaded with folowing link.
Happy Reading and hope it creates your dev env up and running.
Cheers,
Mukesh Giri

Tuesday 12 May 2009

Open Text CLM Services for SharePoint 10.1

I thought of publishing a littile bit about the

integretion as you hardly get any reference
googling for hours.
This blog deals with Open Text CLM Services for SharePoint 10.1.If you use the version LL9.7 ; Since this version is not supported anymore and you are just about to start with the product, I would propose to install the newest version 10.1.;You'll get some cool new features with the installation.

The concept which should be remembered here is..


> Install Open Text CLM Services for SharePoint.msi &

> Install CLMSP_10[1].1.0_WIN.exe
If you have already done the integretion you will face incompatibility error while adding and configuring Livelink Server from Sharepoint central Administration page.
So go to Livelink admin page and upgrade the existing integretion module. Then restart the Livelink admin services.
?func=admin.index and then goto upgrading section or directly type this URL after your Livelink Server value and upgrade the Module.
?func=admin.upgradeModule

Also if you get parsing error while adding server

> cmd > ping -a and enter the complete server name.

Then configure the storage provider and start using CLM services.

I will post few more finding very soon as the part-2 of this series.

Cheers,

Mukesh Giri

Saturday 9 May 2009

LL & SP Integretion Blog-2

Config.nt Error: Sometimes while installing Records Management module ( or any other module but in reference of Integretion i have taken this example ) you might face config.nt error.system file is not suitable for running MS-DOS and Microsoft Windows applications.This has nothing to do with Livelink or Sharepoint but is issue with windows server. A quick fix for this would be.

>Click Start, point to Settings, and then click Control Panel.
>Double-click System, click the Advanced tab, and then click Environment Variables.
>In the User variables for User_Name list, click TMP, and then click Edit.
>In the Variable value box, type c:\winnt\temp, and then click OK three times.
Alternatively, type the path of any folder that does not use long file names in the Variable Value box.
>Close Control Panel.
Fix this issue and install the Records Management module and the other optional module as referenced by OT and proceed with Integretion.
Cheers,
Mukesh Giri