May 15, 2015

mozilla – login credential for sharepoint site

Posted in Uncategorized at 6:08 pm by tweaksharepoint

go to mozilla browser and type: about:config
then in search type network.automatic-ntlm-auth.trusted-uris
and add the domain name


April 30, 2015


Posted in Uncategorized at 6:35 pm by tweaksharepoint

The areatemplatesettings.aspx page was giving unexpected error for the top site of the site collection. run this code on the site and the page layout of that page will be fixed.

$site = Get-SPSite
$publishingSite = New-Object Microsoft.SharePoint.Publishing.PublishingSite($site)
$publishingWeb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($site.RootWeb)
$pageLayout = $publishingWeb.GetAvailablePageLayouts() | ? { $_.Name -eq “BlankWebPartPage.aspx” }
$publishingWeb.SetDefaultPageLayout($pagelayout, $true)

October 30, 2014

Infopath form

Posted in Uncategorized at 5:48 pm by tweaksharepoint

to populate the name, email and other information:

populating people picker:

Create submit button in infopath form to email recipients:

September 26, 2014

smtp/drop mail/ inetpub/ delivery delayed to sharepoint list or library

Posted in Uncategorized at 4:24 pm by tweaksharepoint


check this folder if its empty. if it , all the emails/attachments are stuck here.
check with the load balancer team.
check the smtp service if its running.
archive/clean up the old emails as the inboxes might be full.

to test:
create a test library->settings->incomming email settings->give an email address
mail to that email address.

January 30, 2014

Add quick launch to a web part page

Posted in Uncategorized at 8:40 pm by tweaksharepoint 


<%– <style type=”text/css”> body #s4-leftpanel {  display:none; } .s4-ca {  margin-left:0px; } </style> –%>


<%– <asp:Content ContentPlaceHolderId=”PlaceHolderNavSpacer” runat=”server”></asp:Content> <asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content> –%>


December 17, 2009

Features in Sharepoint and their creation

Posted in Sharepoint at 5:53 pm by tweaksharepoint

Features provide a mechanism for defining site elements and adding them to a target site or site collection through a process known as “Feature Activation”.

The element types that can be defined by a feature include menu commands, link commands, page templates, page instances, list definitions, list instances, event handlers, and workflows.

At a physical level, Feature has a directory within filesystem of each front-end web server.

The directory has one or more xml files that contain CAML and a manifest file named feature.xml that defines high level attributes of feature(ID, Title..)and additional xml files (elements.xml) that contain actual elements that make up a feature and other file types/resources like css, js, graphics.

With Moss, there will be more than 100 default Features.

To create a hello world feature.. which is a very popular way to begin composing features….:

go to
c:\program files\common files\ microsoft shared\web server extensions\12\template\features

create a visual studio project and make a folder “heallo world” or create a new folder in Features directory and create the below xml files in it.

Id= ” … a new guid” /* run guidgen.exe*/
Title=”Hello World Feature”
Description= “This is my very first custom feature”
xmlns = “”&gt;

Element Manifest file:elements.xml

Title=”Hello world”
Description=”A custom menu item added using a feature”

go to command prompt and then to the folder Features

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES>

and execute this command
..\..\BIN\STSADM.exe -o InstallFeature -filename Helloworld\feature.xml -force
%STSADM% -o InstallFeature -filename helloworld\feature.xml -force

and reset the IIS
at command prompt: IISRESET

Once the feature has been properly installed, it can be activated within the context of the site,

site settings–> site features–> shows list of features .
click “Activate” for Helloworld feature.

check the site Actions menu, a new CustomAction element called “hello world ” is added to it.

Reference: “Inside Microsoft Windows Sharepoint Services 3.0” -Ted Pattson, Daniel Larson, Microsoft Press

WSS Decoder Ring

Posted in Sharepoint at 5:49 pm by tweaksharepoint

Terminology between WSS and its older version STS.


Site collection Site
Site web
Top- Level Site Root web

Most of the commands still use older version’s terminology.

Reference: “Inside Microsoft Windows Sharepoint Services 3.0” -Ted Pattson, Daniel Larson, Microsoft Press

December 16, 2009

Increase the size limit of site template

Posted in Sharepoint at 6:25 pm by tweaksharepoint

 STSADM –o setproperty –pn max-template-document-size –pv 524288000

The –pv value is the value, in Bytes, that you wish to set the limit to.
The maximum value that can be set is 500 MB or 524288000 Bytes.

Hello world!

Posted in Uncategorized at 5:55 pm by tweaksharepoint

Welcome to This is your first post. Edit or delete it and start blogging!