Welcome to MSDN Blogs Sign in | Join | Help

December 2008 - Posts

How To: Host SharePoint features such as dynamic Web Parts and Web Part Zones in ASPX page

Error We get an error "ListViewWebPart could not be added, list may be hidden." while putting a ListViewWebpart inside a custom ASPX page in _layouts folder.   Resolution / Workaround We found the information in MSDN “Application pages,
Posted by TejasRathod | 0 Comments

How To: Get workflow description which is more than 255 characters

Question1: Is it possible to get the information from the description field of workflow history list only for the running instance of the workflow? also if the description value is more than 255 characters, it truncates the value so how to get the complete
Posted by TejasRathod | 0 Comments

How To: Get the search result for the new column name when the crawling is done on the old column name

Crawling works on column's internal name. so if you modify the column name then in the search result you might not get the result for your changed column name. Resolution Get the column's internal name by going list settings -> column -> right click
Posted by TejasRathod | 0 Comments

How To: Create user profile in SSP from FBA site

-------------------------------------------------------------------------------------- Web Service approach -------------------------------------------------------------------------------------- You can use UserProfileService.asmx webservice to achieve
Posted by TejasRathod | 0 Comments

Code snippet: Copy list data between sites programmatically

        private void button1_Click(object sender, EventArgs e)         {             MoveData();        
Posted by TejasRathod | 0 Comments

How To: Add/remove the action from EditControlBlock(ECB)

1.    Make a copy of the LAYOUTS folder from “…\12\TEMPLATE\” . 2.    From IIS, make your site collection point to your custom LAYOUTS folder. 3.    Now you can look for CORE.JS into your custom LAYOUTS folder
Posted by TejasRathod | 0 Comments

How to: Add a column in search results page

Add a column in document library(exp. tjcolumn) Add an item in this document library and fill in the column value Go to search settings in SSP Go to content sources Crawl the content Go to metadata properties Create a new metadata property Add mapping(tjprop)
Posted by TejasRathod | 0 Comments

How To: SPS 2003: Access the columns from the “manage sites” list of “sites” area

TopologyManager topologyManager = new TopologyManager(); Uri uri = new Uri("< http://terminator:2004 >"); PortalSiteCollection sites = topologyManager.PortalSites; PortalContext portalContext = PortalApplication.GetContext(sites[uri]);
Posted by TejasRathod | 0 Comments

How To: A custom workflow(Approval) to send the notification emails with custom message appended at the end

task.createWssTask_TaskProperties1.EmailBody = @"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' ' http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd' > <html xmlns=' http://www.w3.org/1999/xhtml' xmlns:m=' http://schemas.microsoft.com/office/2004/12/omml'
Posted by TejasRathod | 0 Comments

Code snippet : Rollup tasks list from sub-sites to the parent site

string strSite = " http://terminator:2004/sites/t2";             SPSite oSite = new SPSite(strSite);             DataTable data = new
Posted by TejasRathod | 0 Comments
 
Page view tracker