|
By Udayakumar Ethirajulu , on November 26th, 2009 The following code snippet is used to retrieve the list of document libraries.
SPWeb _web = SPContext.Current.Web;
SPListCollection ListColl = _web.Lists;
foreach (SPList _lst in ListColl)
{
if (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)
November 26th, 2009 | Tags: MOSS 2007, SharePoint 2007, SharePoint Object Model | Category: MOSS 2007, SharePoint Object Model |
By Udayakumar Ethirajulu , on November 10th, 2009 If you are looking for free application template, which suites your business area, read this resource on TechNet. It has list of 40 Application templates grouped by the following business category.
Business Management/Finance Human Resources Operations/IT Project Tracking/Product Management Sales/Marketing Specialized/Verticals […]
By Udayakumar Ethirajulu , on November 8th, 2009
Create Resource file using Visual Studio IDE
Copy the resource file into 12 hive resource folder
GetLocalized method from SPUtility to read the values from resource file
Syntax:
SPUtility.GetLocalizedString(“$Resources:<<ResourceFileName,ResourceKeyName>>”, “<<ResourceFileName>>”, lang);
Example:
SPUtility.GetLocalizedString(“$Resources:MyResources,FirstName”, “MyResources”, lang);
Sample Source:
November 8th, 2009 | Tags: MOSS 2007, SharePoint 2007, SharePoint Object Model | Category: MOSS 2007, SharePoint Object Model |
By Udayakumar Ethirajulu , on November 1st, 2009
If you encounter the error “The trial period for this product has expired” after upgrading the license from trial to standard/enterprise edition in sharepoint.
Change your app pool account from “Network Service” to Domain account.
By Udayakumar Ethirajulu , on October 22nd, 2009 By Default the document information panel will not be enabled in document library.
Go to Library Settings
Click Advanced Settings
Enable allow management of content types in Advanced Settings.
Click the Document Content Type and click on Document Information Panel settings.
Check […]
By Udayakumar Ethirajulu , on October 21st, 2009
Item Updating or Item Updated Event in SharePoint 2007 occurs twice, if require checkout option is enabled for document library.
I found the following workaround from Microsoft Support for this issue.
Check the value of vti_sourcecontrolcheckedoutby in BeforeProperties and AfterProperties, if the both values are null then the event […]
By Udayakumar Ethirajulu , on October 19th, 2009 To find the installed version of SharePoint in system,
Browse to Central Administration -> Operations -> Servers in Farm [Topology and Services]
Version information will be displayed for each and every server.
By Udayakumar Ethirajulu , on October 14th, 2009 Permission Level for the user or group can be modified to restrict the user to edit in SharePoint designer.
Site Settings -> Advanced Permissions
Click Advanced Permissions, Select Settings -> Permission Levels
You can add/edit existing permission level.
Uncheck Browse Directories Permission level.
By Udayakumar Ethirajulu , on October 12th, 2009
Create New WebPart Page.
In Edit Mode, Click add WebPart then select RSS Viewer WebPart from gallery.
Click Modify Shared WebPart to change to Edit mode of WebPart, then specify the RSS URL.
By Udayakumar Ethirajulu , on October 4th, 2009 To Change the Home Page or Landing Page in SharePoint,
Browse to
Site Actions ->
(Look And Feel) Welcome Page – Specify your Page URL.
|
|