SQL Server 2012 not supported on WSS 3.0/MOSS 2007
In this post I would like to update you that SQL Server 2012 is not supported on WSS 3.0/MOSS 2007. Moss 2007 supports only from SQL 2000 to 2008 R2.
September 15, 2014
·
Infoyen ·
No Comments
Tags: MOSS, Moss 2007, SharePoint, sharepoint 2007, sql · Posted in: MOSS, SharePoint
Implementation of People Picker in Web parts
1. Introduction There can be applications where we may need to add people or group to a share point list. The people picker control is available inbuilt when we operate through out of box for adding/editing people or group in share point lists. But, when the requirement is to include a people picker in web […]
March 14, 2012
·
Infoyen ·
6 Comments
Tags: MOSS, Moss 2007, People Picker, People picker in custom web part, SharePoint, Using People Picker control in edit web part Properties · Posted in: MOSS, SharePoint
Connect webparts programmatically using SPConnectWebParts
If you wish to connect two webpart where you have webpart consumer and webpart provider object then you can use following idea to implement functionality. /// <summary> /// It connect web parts each others, if any, using consumer and provider objects /// siteWebParts object have all information like consumer,provider connection and mapping. /// You can […]
March 13, 2012
·
Infoyen ·
No Comments
Tags: Add Web Part programmatically using SPLimitedWebPartManager, Connect webparts programmatically using SPConnectWebParts, Connecting Web Parts programmatically, Export Webpart programmatically using SPLimitedWebpartManager, MOSS, Moss 2007, Moss 2007 Tips & Tricks, SPLimitedWebpartManager.ExportWebPart, WebPartManager · Posted in: MOSS, SharePoint
Export and import webparts programmatically
Requirement:- I have 1 site Where it has sharepoint page’s with some webparts. Due to business requirement; we need to export these webpart and import on other site page programmatically. Therefore I created a tool which first exports webparts (.webpart file) and metadata in xml format, then import web part on other site using xml […]
March 13, 2012
·
Infoyen ·
4 Comments
Tags: Add Web Part programmatically using SPLimitedWebPartManager, Add Web Part to Page Programmatically, Connect webparts programmatically using SPConnectWebParts, Connecting Web Parts programmatically, Import WebPart programmatically using SPLimitedWebPartManager, MOSS, Moss 2007, Programmatically creating a QueryStringFilterWebPart, SharePoint, SPLimitedWebPartManager.AddWebPart():, WebPartManager · Posted in: MOSS, SharePoint
This page contains content or formatting that is not valid. You can find more information in the affected sections
You get this error when you are trying to update a SharePoint webpart tool part or something like that and you click on ‘Publish’ page button. This only happens if you have any Validation Controls on your webpart. Solution: As you have validation controls on your webpart UI and you are not filling in anything, […]
March 13, 2012
·
Infoyen ·
No Comments
Tags: MOSS, Moss 2007, SharePoint · Posted in: MOSS, SharePoint
SharePoint custom Master Page Do Not Print
Issue: When using Microsoft custom Master Pages, print preview pages dont show any content in the body of the page. Reason: Sharepoint use core.css file in which they write few classes where they says that this class should not be use for print/media. Solution:- While customizing make sure not to use those classes on top […]
March 12, 2012
·
Infoyen ·
No Comments
Tags: custom master page, Master page, MOSS, Moss 2007, SharePoint, Using Microsoft Custom MasterPages I don't see content in Print Preview · Posted in: Branding, MOSS, SharePoint
Retrieve Web part Title in Contentquerymain.xsl
To retrieve webpart title in Contentquerymain.xsl, You can use Feed Title web part property. To achieve this you need to add <xsl:param name=”FeedTitle” /> to your custom ContentQueryMain.xsl in the params section. Doing this the param FeedTitle will contain the web part Title and can be used inside xsl as below code <xsl:value-of select=”$FeedTitle” /> […]
March 12, 2012
·
Infoyen ·
7 Comments
Tags: CQWP, MOSS, Moss 2007, SharePoint, Web part Title in Contentquerymain.xsl · Posted in: CQWP, MOSS, SharePoint
Programmatically adding items to a SharePoint list
using(SPSite site = new SPSite(“http://”)) { using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists[“SharePointList”]; // you can use web.GetList method which is better for performance. SPListItem Item = list.Items.Add(); item[“Title”] = txtCompanyName.Text; // the text which need to update //can add required items  item.Update(); } } Note: 1. No need to use SPSecurity.RunWithElevatedPrivileges. […]
March 12, 2012
·
Infoyen ·
One Comment
Tags: Add a List Item Programmatically in SharePoint, MOSS, Moss 2007, Programmatically insert an item in sharepoint list, SharePoint · Posted in: List, MOSS, SharePoint
Document Icon in CQWP
Description This article will show you how to display icon in Content Query Web Part (CQWP). Requirement:- In several requirements we use existing CQWP and modify XSLT to make required view. In one of requirement i asked to display icon of uploaded document. I found the very simple solution for which detail is described further […]
March 12, 2012
·
Infoyen ·
No Comments
Tags: CQWP, Display document type icon in content query web part, MOSS, Moss 2007, SharePoint · Posted in: CQWP, MOSS, SharePoint