Sunday, November 30, 2008

Creating custom timer jobs

This article describes how we could create custom time jobs in WSS 3.0
http://msdn.microsoft.com/en-us/library/cc406686.aspx

STSDEV

STSDEV: Simple Tools for SharePoint 2007 Development (http://www.codeplex.com/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 including Windows SharePoint Services 3.0 (WSS) and Microsoft Office SharePoint Server 2007 (MOSS). Note that the current version of the stsdev utility only supports creating projects with the C# programming language

http://www.codeplex.com/stsdev/Release/ProjectReleases.aspx?ReleaseId=10119

Feature activation

We can activate the feature when we create a site. This can be done by creating a feature and putting the feature Id in the onet.xml.
During the site creation process, the feature would be activated and a number of operations could be carried out. E.g. of this feature could be adding list to the site dynamically when I create a site.
The site could be created using one more feature that could be activated through command prompt or in the GUI.

List Schema in MOSS

This post helps you to build a schema.xml in SharePoint 2007.
Use http://mosserver/_vti_bin/owssvr.dll?Cmd=ExportList&List={List GUID} to get the schema of the List.
Save the page source as schema.xml and do the following changes:
1. Delete the Guid identified in the View Name. If there is featureID delete it too.
2. Add WebPartZoneID="Main" to each view node.
3. Create a BaseViewId=0 view (just copy the all items and add the View attributes aseViewID="0" Type="HTML")
4. If your deploying custom forms then amend the Forms nodesformsform type="DisplayForm" url="DispForm.aspx" webpartzoneid="Main"form type="EditForm" url="EditForm.aspx" webpartzoneid="Main"form type="NewForm" url="NewForm.aspx" webpartzoneid="Main"forms
5. Add the List Name attribute to be the same as the List Template Name.

Friday, June 6, 2008

Multilingual support in MOSS

Steps
1) Install the OS language. This can be done through the Control Panel.
2) Download Your Specific SharePoint Server 2007 Language Pack . Navigate to http://www.microsoft.com/downloads/details.aspx?FamilyID=2447426b-8689-4768-bff0-cbb511599a45 and select your language.
3) Install the above language pack
4) Re-run the configuration wizard of SharePoint again. A folder of the "locale" e.g. 2052 would be created in the TEMPLATE folder.
5) When creating a new Top Level site, a drop down of the languages would be populated and the language could be selected.

Note - The above steps are not in detail.

Tuesday, May 27, 2008

MOSS authentications

Authentication in WSS 3.0 is configured at the SharePoint Web application level. WSS 3.0 provides flexible authentications. WSS 3.0 supports authentications like Windows authentication methods, forms and Web SSO
Configuring the Windows authentication is straight forward. Eg's of it are Anonymous, basic,digest,Certificates, Kerberos and NTLM.
Configuring forms authentication requires ASP.NET membership providers to be registered in the web.config file. In addition to the registering the membership provider you can also register a role manager as well.
If you are using Web SSO to connect to an external identity management system, you must also register an HTTP module for the Web SSO.