>

Best Practices: Using Disposable Windows SharePoint Services Objects

When am started program using sharepoint objects. I found little bit difficult to understand about the sharepoint objects lifetime and best approach to dispose it. I found the following MSDN article which helps me a lot to learn and understand about sh…

Microsoft Services + Architect Forum @ Bangalore

For decades, companies have been running their software on their own infrastructure. Software + Service is a new delivery model where companies pay, not for owning the software itself, but for using it. In this scenario, the software provider is re…

Programmatically Attach File to InfoPath

Hi Devs,
If you want to Programmaticall add attachment to your infopath file. Use the Following Function :
private void btnSelect_Click(object sender, EventArgs e)
{
dlgOpen.ShowDialog();
txtFile.Text = dlgOpen.FileName;
string[] str = …

SharePoint Designer — Custom activity to execute user-defined C# functions

 

UPDATE: This has been released to CodePlex here: http://www.codeplex.com/spdwfextensions

UPDATE: See here for latest release notes: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!381.entry

UPDATE: See here for my thoughts on commerci…

SPD Workflow custom action – get the <WorkflowInfo> tag right to avoid frustration

Part of the process for creating a custom action for SharePoint Designer involves create a ".actions" file.
I’ve found and tried to use a sample template which starts off as:
<?xml version="1.0" encoding="utf-8" ?>…

Site Restore in MOSS 2007

To Restore the Site in SharePoint 2007
stsadm.exe is in the following installation path”C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BINstsadm.exe”
Syntax :
stsadm.exe -o restore -url -filename
Example :
stsadm.exe -o …

.Net Source Code To be Released

Hi Devs,
Its very very hard to believe, but its true Microsoft is going to Release .Net Source Code.
Info From Jim Galasyn’s Blog
We are releasing the source code for .NET Framework base class libraries under the Microsoft […]

Site Backup in MOSS 2007

To take the backup in moss 2007 in command promp
stsadm.exe is in the following installation path
“C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BINstsadm.exe”
Syntax :
stsadm.exe -o backup -url -filen…

Quick and Simple: Configure MOSS to search a specific document library

See UPDATE (I) below (11/24/07) on How to Configure Microsoft Office SharePoint Server 2007 to Index and Crawl Network Folders for Search

Objective: I want to execute a search restricted to a specific document library.  In this case, the document …

GUID of ContentTypes using SPContentType

The following code snippet can be used to retrieve the GUID of the Content Types used in SharePoint.
using (SPSite site = new SPSite(“http://servername:9000/Pages/Default.aspx”)){ using (SPWeb web = site.OpenWeb()) { SPContentT…