Tuesday, June 24, 2008

Deleting SSP now Marked unprovisioning

We want to delete the SSP and in the Central Admin, When clicked the delete button and the databases associated.
It has been running for a while and doesn't seem to be doing anything and it is marked (unprovisioning)

Solution:
Run Command
stsadm -o deletessp -title SharedServicesName -force

Monday, June 23, 2008

Visual Studio 2008 extensions for WSS 3.0 v1.2 and other resources

The new version of the Visual Studio extensions for Windows SharePoint Services 3.0 were announced: it’s now finally here, a version compatible with Visual Studio 2008. This version brings the same functionalities as v1.1 for Visual Studio 2005, among others:Full Debugging with Microsoft Office SharePoint Server

  • Support for C# and VB.NET
  • Templates for Web Part, Team Site, List Definition, Field Control, Content Type, Event Handler and more.
  • Web Solution Package (WSP) Editor
  • Solution Generator creates Site Definition projects from an existing site
    Check out my Resources page for the download link.

Now that I’m doing this post, it’s worth mentioning the latest additions to my SharePoint Resources page:

  • SharePoint 2007 Shared Services Provider User Profile Importer
    SharePoint Content Deployment Wizard -
  • http://www.codeplex.com/SPDeploymentWizard
    This tool by Chris O'Brien helps you export sites, lists, etc using .cmp files (Content Migration Package).
  • WSS3 Workflow Designers
  • SmartPart for SharePoint
    The SharePoint web part which can host any ASP.NET web user control. Create your web parts without writing code! – Now with support for ASP.NET Ajax.
  • STSDEV
    STSDEV is a proof-of-concept utility application which demonstrates how to generate Visual Studio project files and solution files to facilitate the development and deployment of templates and components for the SharePoint 2007 platform.
  • SharePoint SUSHI
    (that’s a cool name as I love sushi!)SUSHI is a powerful, user-friendly SharePoint application enabling you to accomplish common SharePoint administrative and development tasks. You can think of SUSHI as a Swiss army knife for SharePoint.
  • SharePoint SmartTemplates for Visual Studio
    Another project by Jan Tielens, already famous with the creation of the SmartPart (see above).

Wednesday, June 4, 2008

How can we display attachments links of Custom List in dataview

I Created a custom list with attachment and displayed it in page using DataView but I didn't find any field of custom list to use it. Only I find 3 attributes
  1. Attachments: contains attachment folder
  2. FileRef: contains the document items FileRef column value
  3. FileDirRef: contains relative path folder
I find only way to list these attachments create a custom server control to display them and pass folder url to this control, we will generate this folder from previous attributes:

Add a custom server control like this in dataview xslt :
<spcontrol:attachment runat="server" id="attachmentLsts" path="/{@FileDirRef}/Attachments/{@Attachments}" />

this control will read path of attachment and will display list of attachment links.

Monday, June 2, 2008

Sharepoint Logging Spy

A MOSS 2007 utility to allow real time diagnostics of multiple servers in a sharepoint farm using a single console view.

To download go to url:
http://www.codeplex.com/sharepointloggingspy