Posts

Showing posts from February, 2011

Create Images Search Result in SharePoint - Part 3

Image
Edit Search WebPart In this articles I'll explain how to create the formatted image search results There are three steps to perform this operation at MOSS 1. Create an Image scope at the SharePoint Search. 2. Create New Rules for SharePoint Search. 3. Edit Search Web part. Edit Search WebPart Now at your page that you create (picturesResults.aspx) Go to Edit page-> Core Results WebPart -> Modify Shared Web Part -> Xsl Editor And add this source: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:param name="ResultsBy" /> <xsl:param name="ViewByUrl" /> <xsl:param name="ViewByValue" /> <xsl:param name="IsNoKeyword" /> <xsl:param name="IsFixedQuery" /> <xsl:param name="ShowActionLinks" /> <xsl:param name="MoreResultsText" /> <xsl:param name="MoreResultsLink" /> <xsl:pa...

Create Images Search Result in SharePoint - Part 2

Image
Create New Rules for SharePoint Search In this articles I'll explain how to create the formatted image search results 1. Create an Image scope at the SharePoint Search. 2. Create New Rules for SharePoint Search. 3. Edit Search Web part.   Create New Rules for SharePoint Search. Go to "SharePoint 3.0 Central Administration". Afther, go to Shared Services Administration- > Your SSP -> Search -> Search administration -> Queries and Results - > Scopes -> Your Scope And create your rules, like FileExtension = JPG FileExtension = GIF FileExtension = PNG   Now go to Crawling -> Content sources -> at your source run full crawl see more at Create Images Search Result in SharePoint - Part 1 Create Images Search Result in SharePoint - Part 3 There are three steps to perform this operation at MOSS

Create Images Search Result in SharePoint - Part 1

Image
Create an Image scope at the SharePoint Search In this articles I'll explain how to create the formatted image search results There are three steps to perform this operation at MOSS 1. Create an Image scope at the SharePoint Search. 2. Create New Rules for SharePoint Search. 3. Edit Search Web part.   Create an Image Scope at the SharePoint Search Go to "SharePoint 3.0 Central Administration". Now go to Shared Services Administration- > Your SSP -> Search -> Search administration -> Queries and Results - > Scopes -> New Scope Fill in the details of the form And click OK. (Create Scope See also the following article: Create a new scope in SharePoint search ) see more at Create Images Search Result in SharePoint - Part 2 Create Images Search Result in SharePoint - Part 3

Tabs, Ribbons and Notification Bar in SharePoint 2010

Image
This time, we will show how to create a Ribbon with Visual Studio 2010 for SharePoint 2010 without writing server side. Easily seen how to create a new Tab (1), how to build xml of Ribbon (2) and how to create a simple code of Notification Bar  (3). We will open an empty project in SharePoint 2010 and tied him to the site. After this, we will add to item-Empty Elements.. Elements.xml file, we add the following code: <? xml version = " 1.0 " encoding = " utf-8 " ?> < Elements xmlns = " http://schemas.microsoft.com/sharepoint/%22&gt ; " >   < CustomAction    Id = " Roi.SharePoint.Ribbon.CustomTab "    Location = " CommandUI.Ribbon " RegistrationType = " List " RegistrationId = " 101 " >     < CommandUIExtension >       < CommandUIDefinitions >         < CommandUIDefinition Location = " Ribbon.Tabs._ch...

Export SharePoint 2010 List to Excel with PowerShell

Image
In the previous article I explained how to create a list item, This time I will demonstrate how to export SharePoint List to Excel using PowerShell. All we need to do, is to open the Site, the List and the Items, and then to export it to Excel. Code: $MyWeb = WebUrl $ MyList = MyWeb. Lists [ " ListName " ] $ MyItems = $MyList. Items $ MyItems | Select Fields.. | Export-Csv FilePath $ MyWeb. Dispose() The list looks like this The Excel sheet looks like this