Thursday, May 20, 2010

how to get rid of Sharepoint 2007 various title bars



Load the above javascript in the Content editor webpart.

Wednesday, May 19, 2010

Where is the SharePoint workflow history list (Hidden List)?

lists/Workflow%20History

Refn: http://vanillacloud.com/2009/02/where-is-the-sharepoint-workflow-history-list-hidden-list/

Also if workflow is setup through Designer then logging various steps to log history helps.

The way to look at when a particular workflow was started is by navigating to the document under consideration.
Then click on Workflow status and you will see the workflow details.
Whenever a workflow has been started if we are explicitly logging to the Workflow History log we can see the workflow starting entry under Workflow history log.

Thursday, April 29, 2010

CAML Query to show current month and next month

------------current month------------

"

"
------------next month------------

we could hve used if we had to show just current month
else calculation for next month is not know using tag
------------Just current month------------

Tuesday, April 20, 2010

SharePoint Notes Or Questions

1) What is SharePoint?
Microsoft Office SharePoint Server 2007 is an integrated suite of server providing comprehensive content management, enterprise search, collaboration environment, shared business processes, and Business Intelligence.
2) Application pages vs Site pages
Application pages are Admin pages like the Site Settings page you get.
All the opther pages you create are Site pages.
3) Ghosted vs UnGhosted
Ghosted means un-customized residing on file system.
UnGhosted means customized residing in Content Db.
4) SPSite vs SPWeb
SPSite represents Site Collection and SPWeb represents a website
within a particular site collection.
String str;
using(SPSite oSPsite = new SPSite("http://server"))
{
using(SPWeb oSPWeb = oSPSite.OpenWeb())
{
str = oSPWeb.Title;
str = oSPWeb.Url;
}
}

Thursday, March 4, 2010

How to enable Search on a WSS Forms authenticated site

How to enable Search on a WSS Forms authenticated site
1) First to make WSS Search crawl forms based authenticated sites by taking following steps:
1.1. Extend the form-authentication web application to a zone with windows-integrated authentication (NTLM) enabled.
1.2. Make sure if the search crawl account has access to the new web application, else Grant Permission.
NOTE: The crawler will access to the site content through this “secret” NTLM web application. It will be able to get the form authentication descriptor of the content. After the crawl’s completed, you will see search results in your form-authentication site. It’s important to know that the URL of search hit will be based on your form-authentication site, because it’s depending on where you are searching from.

2) Using Central Admin configure the Search Server .

3) Attach the Search server to the Web App.

4) Finally configure scopes and permission level search at site level.

5) stsadm.exe -o spsearch -farmserviceaccount domain\admin -farmservicepassword password
stsadm.exe -o spsearch -farmcontentaccessaccount domain\admin -farmcontentaccesspassword password

6) Updated the zone to default for the extended web application.


Refn: http://gj80blogtech.blogspot.com/2009/08/wss-search-configuration-administration.html

Friday, February 12, 2010

Ho to copy file from one doc lib to other along with Porperties or metadata

i)
Send To => Other Location
Give the destination doc lib path

Thursday, February 11, 2010

Summary Link web part prefered over link web part

Summary Link web part prefered over link web part, since it provides various options like to open the link in new window.