Skip to main content

Posts

Showing posts from February, 2011

SharePoint 2010 Object Hierarchy

SharePoint 2010: Composites

List of SharePoint 2010 Web Parts

The following is a comprehensive list of all SharePoint 2010 out-of-box web parts, with a couple of screen shots thrown in there!  The groups are just the built-in groupings in the UI. Lists & Libraries These are list view web parts for the lists & libraries on the site Authoring · Content Editor - Foundation · Image Viewer – Foundation · Media Web Part · Page Viewer - Foundation · Silverlight Web Part - Foundation Business Data · Business Data Actions · Business Data Catalog Filter · Business Data Item · Business Data Item Builder · Business Data List · Business Data Related List · Key Performance Indicators · KPI Details · Visio Graphics Service Content Rollup · Chart Viewer · Content Query · HTML Form Web Part - Foundation · iView · Picture Library Slideshow Web Part - Foundation · RSS Viewer · What’s Popular – pick from content, search queries, or search results; · XML Viewer - Foundation Documents · Document ID Lookup · Document Set Contents ...

Federated Search Connector Gallery for Enterprise Search

Federated search connectors enable the Microsoft enterprise search solution to pass a query to a target system and display results returned from that system. Federated search connectors work for all Microsoft enterprise search products. Available Connectors News Bing News Business Week Google News The Register Yahoo! News Media Bing Image Flickr Yahoo! Images YouTube Blogs Google Blog Search Information Resources Bing Bing Local Encyclopedia Britannica MSDN TechNet Wikipedia Yahoo! Instructions: For 2010 products To use one of the connectors with SharePoint Server 2010, FAST Search Server 2010 for SharePoint, Search Server 2010, or Search Server 2010 Express, do the following: Download the Open Search Description (.OSDX) file. You can download a connector from the Available Connectors list. Import the file into the search solution by doing the following: In Central Administration, click Manage service applications , and then click either the name of the...

SharePoint 2010 and Adobe PDF

The following post is an update from the original ‘ SharePoint 2007 and Adobe PDF ‘ post written in 2007. These notes are based on SharePoint 2010 Beta 2 (made publicly available in November 2009). Once the product has officially launched on 12 May 2010, an update will be posted if any changes are made to the process. The process is very similar to SharePoint 2007, with minor changes to folder location (14 instead of 12) and a slightly different administration user interface in the browser. SharePoint Server 2010, like its predecessors, includes indexing and search capabilities. But what doesn’t come out of the box is the ability to index and search for PDF documents. PDF is a format owned by Adobe, not Microsoft. If you want to be able to find Adobe PDF documents, or have the PDF icon appear when viewing PDF files in a SharePoint document library (see image above), you will need to set it up for yourself. This post describes how to . Download and install Adobe’s 64-bit PDF iF...

How to: Upload a file/document using the SharePoint Object Model in Sharepoint 2010

Introduction I've been getting a couple of requests to provide details on how you can upload a file or document using the SharePoint Object Model, instead of using the UI. With this simple article, I'm walking you through the process of uploading any file to your Document Library. Note; Since this is done through the local API, you need to have this code running on the server. That means that it's ideal to use in for example a FeatureReceiver or EventReceiver. You cannot run this code on the client in e.g. a Windows Form, then you'll need to utilize the SharePoint WebServices instead. Code to upload a file/document to a SharePoint Document Library: Use the following code to get you started in uploading a file using the object model. // Getting a reference to the document library var sp = new SPSite(" http://localhost"); var site = sp.OpenWeb(); var folder = site.GetFolder("Documents"); var files = folder.Files; // Opening a filestream ...

Debugging Custom SharePoint Timer Jobs

Introduction: SharePoint timer jobs are tasks executed on a scheduled basis by the Windows SharePoint Services timer service ( ows timer .exe ). They are analogous to scheduled tasks, and you can create them in any version of Windows, but SharePoint timer jobs come with many more benefits. SharePoint relies on timer jobs for a number of its functionality areas, and you can even broaden those functionalities and create your custom timer job to introduce new features. For instance, last month I developed a custom timer job that runs on a daily basis to query all the SharePoint lists and libraries in all the site collections and insert corresponding records into a custom database table for reporting purposes. Unfortunately, SharePoint timer jobs are tricky when it comes to debugging; it is not about attaching a debugger to w3wp.exe like what we did earlier in this issue. Troubleshooting my custom timer jobs has caused me a lot of headache; that is why I am...

RealTime Issue: In Sharepoint 2010 “This item and all items under it will not be crawled because the owner has set the NoCrawl flag to prevent it from being searchable

Now I ran into an issue when trying to search for content located in My Sites.  The crawl log displayed the following warning; “This item and all items under it will not be crawled because the owner has set the NoCrawl flag to prevent it from being searchable" In order to fix this issue (and this is true for any Site Collection), is to navigate to your My Site host and click on Site Actions / Site Settings. Click on “Search and offline availability” under Site Administration, and ensure that you have Indexing Site Content, Allow this site to appear in search results? set to “Yes”. After enabling the indexing of My Sites, I was able to successfully perform My Site Content searches and the warning disappeared from the Crawl Log

RealTime Issue:Error: Only machine administrators are allowed to create administration service job definitions of type

Issue: Tried to deploy a custom solution on a SharePoint 2010 farm from Central Administration > System Settings > Manage Farm solutions. I received the following error in the ULS logs. Access denied.  Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPSolutionDeploymentJobDefinition, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c Fix: This fix only needs to be run on the machine that you are trying to deploy the solution on. However I would recommend disabling this “feature” on all SharePoint and SQL Servers in your farm. Follow “to turn off UAC”  http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx 1.      Click Start , and then click Control Panel . 2.      In Control Panel , click User Accounts . 3.      In the User Accounts window, click ...

SharePoint 2010 Configuring Search Service Application using PowerShell

It might be necessary at some point to use PowerShell to provision search service applications.  For Example, setting up a search service application for hosted sites requires you to use PowerShell.  The following steps manually take you through this process and I highly recommend going through the steps to become more familiar with the command-lets.  ​ A sample powershell script is provided at the bottom of this blog.  Creating Search Service Application using PowerShell 1. Create Application Pool Creating a an application pool for your search service application and throwing the object into a variable called $ app:       $app = new-spserviceapplicationpool –name contososearch-apppool –account domain\user 2. Create search service application       $searchapp = new-spenterprisesearchserviceapplication -name ContosoSearchServiceApplication -applicationpool $app Note: Add the -partitioned switch after -...

Sharepoint 2010 Search Feature

Microsoft published Search functionality overview for the SharePoint 2010.  More details there .. http://technet.microsoft.com/en-au/sharepoint/ee518643.aspx Feature SharePoint Foundation 2010 Search Server 2010 Express Search Server 2010 SharePoint Server 2010 FAST Search Server 2010 for SharePoint Basic search ü ü ü ü ü Visual Best Bets Keyword terms and synonyms defined by an administrator to enhance search results. For FAST Search Server 2010 for SharePoint only, a section of relevant information is displayed in addition to search results for a keyword term (for example, an image banner or HTML). Limited Limited Limited ü Scopes Users can filter search results by using scopes. ü ü ü ü Search enhancements based on user context Scopes Best Bets, visual Best Bets, and document promotions and demotions to a sub-group of employees. ü Custom properties Manage which properties are indexed and how these are treated in search results. ü ü ü ü Property extraction Extract...