Indexing Adobe PDFs in SharePoint Foundation 2010

Brought to you by this month’s release of the CIAOPS SharePoint Guide.

 

SharePoint Foundation 2010 does not come with the native ability to index Acrobat PDF documents, however it can easily be configured to do this. By default, if you upload a PDF document to SharePoint Foundation 2010 you should see something like this:

 

image_2_361DDEF0

 

When you attempt to run a search for a term in the document (in this case ciaops) you will find that the search returns no result like shown here:

 

image_4_361DDEF0

 

 

The reason is that SharePoint Foundation 2010 relies on something called an iFilter to provide the ability to index documents. You require an iFilter for each different document you wish indexed in SharePoint Foundation 2010. By default, the iFilters for most Microsoft Office documents now get installed as part of the SharePoint Foundation 2010 pre-install. Ones for other common file types, like Acrobat PDF documents don’t, however they can be manually configured.

 

The following process will work on both a SharePoint Foundation 2010 standalone member server and a Small Business Server 2011 Standard server.

 

The first step in the process is to download and install the PDF iFilter program from Adobe. To do this visit:

 

http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025

 

It is important to remember that SharePoint Foundation runs on a 64 bit operating system so you are going to need a 64 bit version of the PDF iFilter.

 

image_6_361DDEF0

 

Login to your SharePoint Foundation 2010 server as an administrator and download the file to your SharePoint Foundation Server 2010 and expand the file. You should find a single installation file like shown below.

 

image_8_640B31A8

 

Double click the installer file to run. Accept any User Access Control (UAC) that is presented.

 

image_12_640B31A8

 

The iFilter installation process should now commence.

 

Press the Next button to continue.

 

image_14_640B31A8

 

Accept the License Agreement and press Next to continue.

 

image_16_640B31A8

 

Select a location to install the iFilter files, by default this will be your C: Drive.

Press Next to continue.

 

image_18_11F88461

 

Press Next to continue.

 

image_20_11F88461

 

Press Close to complete the installation.

 

To add the PDF Icon to SharePoint download the PDF icon from:

 

http://www.adobe.com/images/pdficon_small.gif

 

and save it to:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\

image_22_11F88461

 

You will generally need administrator privileges to do this.

 

image_24_11F88461

 

This may mean you have to save it another location and then copy and paste to the destination.

Locate the file c:\program files\common files\Microsoft shared\web server extensions\14\template\xml\docicon.xml. Right mouse click on the file to edit.

 

image_26_11F88461

 

Locate the element where you will see entries for each icon starting with <Mapping key=. Enter the following on a new line:

 

Note, that the extension names do not have to be in alphabetical order so it is best to place the entry at the end of the existing list. Also ensure that the correct filename for the icon is used in the entry line.

 

When complete, save the file and exit notepad.

 

To see the icon immediately in WSF start a command prompt on the server via Start and Right mouse clicking on Command prompt and selecting Run as Administrator from menu that appears.

 

image_28_7D0701ED

 

At the prompt enter iisreset to restart Internet Information server. Don’t forget that resetting IIS will also affect other applications on the server. When the process is complete, exit the DOS prompt and examine any SharePoint Foundation 2010 libraries that contain PDF documents.

 

image_30_7D0701ED

 

Next, copy the following script to a file called Addextension.vbs on your system

 

Sub Usage
    WScript.Echo “Usage:    AddExtension.vbs extension”
    WScript.Echo
end Sub
Sub Main
    if WScript.Arguments.Count < 1 then
                Usage
                wscript.Quit(1)
   end if
    dim extension
    extension = wscript.arguments(0)
    Set gadmin = WScript.CreateObject(“SPSearch4.GatherMgr.1”, “”)
    For Each application in gadmin.GatherApplications
        For Each project in application.GatherProjects
                    project.Gather.Extensions.Add(extension)
                Next
    Next
End Sub
call Main

 

image_32_7D0701ED

 

Now run a Command Prompt as an administrator by right mouse clicking on the Command Prompt icon like and selecting Run as administrator.

 

image_34_2AF454A6

 

Accept any UAC that appears.

 

Change to the directory where you saved the VBS script and type:

Wscript addextension.vbs pdf

 

image_36_2AF454A6

 

You should see no result if the script executes correctly.

 

image_38_2AF454A6

 

If you receive an error like shown above, check that your Search Service is enabled in SharePoint.

 

image_40_2AF454A6

 

Run Regedit and accept any UAC.

 

image_42_2AF454A6

 

Locate the registry (above image is incorrect for SBS. Office Server key doesn’t exist) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\

image_44_1602D233

Right mouse click on Extensions and select New and Key.

 

image_46_1602D233

 

Add the key .pdf

image_48_1602D233

Right mouse click on (Default) in the right hand window and select Modify from the menu that appears.

 

Enter the following into the Value Data field:

 

{E8978DA6-047F-4E3D-9C78-CDBE46041603}

 

 

 

Close regedit.

 

 

 image_52_1602D233

Click Start | Administrative Tools | Services and right mouse click on Services and select Run as Administrator from menu that appears.

 

Scroll down the list of services and locate the service SharePoint Foundation Search V4.

image_54_43F024EB

Right mouse click on the service and select Restart from the menu that appears.

 

image_56_43F024EB

 

You should see the service restart.

 

Close the Services window.

 

image_58_43F024EB

 

Run a Command Prompt as an administrator again by right mouse clicking on the icon and selecting Run as Administrator from the menu that appears.

 

Any PDF documents you now add to SharePoint will be indexed, however those already there will not be indexed until a full crawl is run.

 

image_62_71DD77A3

 

To launch a full manual crawl change to the directory:

C:\program files\common files\microsoft shared\web server extension\14\bin

 

And run the following command:

Stsadm –o spsearch –action fullcrawlstart

 

This will commence a full reindex of all SharePoint information. This reindex may take a while to complete and may impact the performance of your SharePoint Server.

 

image_64_71DD77A3

 

 

If a search is now run using the same term (here ciaops) you can see that now returns a hit from the PDF and from text inside that document (rather than just the title). This indicates that the PDF search is operating correctly.

 

Reference – http://support.microsoft.com/kb/2293357

Office365 and Windows Phone 7 video

Here’s a nice video covering some of the integration features of Office365 and Windows Phone 7.

All searches are not created equal

Interesting video presentation from TED talks about how our Internet searching is not really as ‘unencumbered’ as we believe. Sites like Google, Facebook and Yahoo are all making decision about THEY THINK we should see. The problem with that is we all become more insular and not as exposed to new and alternate ideas.

Office and SharePoint 2010 Service Pack 1

Office 2010 and SharePoint 2010 are about to receive their first Service Pack (so those that always wait until Service Pack 1 becomes available can finally start using SharePoint 2010!). Details about what is included can be found here:

 

http://blogs.technet.com/b/office_sustained_engineering/archive/2011/05/16/announcing-service-pack-1-for-office-2010-and-sharepoint-2010.aspx

 

My understanding is that it will also include a feature to determine where space is being utilized in SharePoint sites. This was a very handy feature of the previous version of SharePoint that mysteriously removed from SharePoint 2010. We will have to wait and see what it actually is when the service pack is released but if it is included then it will certainly be a major benefit to SharePoint 2010 admins of all shapes and sizes.

Erky Perky

Just saw this post:

 

You Must Manually Run PSCONFIG after Installing SharePoint 2010 Patches

 

SharePoint Foundation 2010 changes the method in which patches are installed. PSconfig no longer runs automatically after an update is installed. The SharePoint binary files are updated with the patch but the databases are not automatically upgraded.

 

This means that you are going to have to go in after installing SharePoint Foundation 2010 patches and run:

 

PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

 

from the command line. Fun eh? according to the article you’ll see a error in the event logs indicating that the PSCONFIG command needs to be run. Gotta say this isn’t going to make supporting SharePoint 2010 Foundation (especially on SBS 2011) any easier!

Thinking about Office365 – Part 1

As the public release of Office365 draws closer I’m going to start doing more posts on Office365 and the impact for small to medium businesses. I’ll try and provide a balanced view, the good and the bad as I see it. However, remember at this stage please remember that Office365 is still in beta and the things can change. Caveat emptor.

 

So let’s start off with the proposed subscription plans. The major two SKU’s for SMB will be the P and E plans (the K is for Education) as shown below.

 

From (http://360on365.files.wordpress.com/2010/11/e-family-plans.jpg?w=450&h=342)

 

From (http://www.zdnet.com/photos/microsoft-office-365-is-there-a-plan-and-pricepoint-thats-right-for-you/6206586?tag=photo-frame;get-photo-roto)

 

Now the P plan is aimed squarely at the SMB market and contains a number of points to note. The most important as far I can see:

 

– No advanced SharePoint features such as Visio, Forms and Excel services. However Access services is included.

 

– Doesn’t include the ability to sync Active Directory via ADFS. This leads to another observation I have around SBS 2011 Essentials in a forthcoming post.

 

– A single SharePoint site to which you can’t add additional space, aside from what you get with user licenses. It does have a number of templates and quick design features not available in other plans.

 

– No Office Professional Plus subscription. Thus, people on these plans will need to furnish their own version of Office on the desktop typically. It does however come with Office Web Apps allowing you do some work with Office documents in a web browser.

 

– No advanced Exchange options such as archiving and legal hold.

 

– Limit of 50 users.

 

– ‘Community support’. That seems to indicate help is only available via forums and blogs. That is probably a very good things for resellers as it provides a real opportunity for them to step in and handle support for a customer.

 

– However, most importantly, it is my understanding that you can’t easily upgrade from P to E plans.

 

The apparent redeeming feature of P plans will be they are cheap (apparently around $6 a license). Looking at what you get for that amount of money it certainly represents value to many smaller businesses.

 

However, to my of thinking the E plans are a much better bet as you can not only easily upgrade as required but you can also mix and match. Thus, power users can get E3 plans (including Office Professional Plus) while road warriors can have the E1 plans. The E plans also allow customers to integrate their Active Directory via ADFS if they want (although I wouldn’t be recommending that in the SMB space for reasons I’ll make clear in a future post).

 

Even if the E3 plans are around the $25 mark per user I feel they represent better value and flexibility to most progressive small to medium businesses looking to take maximum advantage of all the features Office365 can provide.

 

For this reason, I’ll be focused on selling E plans (especially E3 with Office Professional Plus) across every business I deal with. P plans certainly have their place but I don’t like the fact that they appear to lock you into a solution that won’t allow more options.

 

Watch out for more posts on Office365 coming soon.

Melbourne bootcamp complete


I am happy to say that the inaugural CIAOPS SharePoint bootcamp in Melbourne this week was well received by those that attended. Some feedback already in includes:

“I can thoroughly recommend Robert’s SharePoint Bootcamp sessions as highly informative and delivered with great candour. Robert has put together a package that provides an excellent introduction to the possibilities of SharePoint in the small-to-medium business sector.” – Jason Thomas

and

“Thanks for a great day today. It was very well run and organized. The SharePoint training is a great intro into getting SharePoint up and running, it reinforced my prior knowledge and filled in some gaps. The discussion on SharePoint’s business applications will provide a solid framework for presenting SharePoint solutions to clients. The learning materials provided are fantastic and will be a valued resource.” – Alex Moodie

This week the show rolls into Sydney on 2 days. There are still a few places if you are want to attend. To sign up visit http://www.ciaops.com/bootcamp.

After Sydney, I’ll be running my bootcamp in San Francisco on Tuesday the 14th of June as I return from SMB Nation Spring 2011 in Toronto. If you are interested in attending on this date visit http://www.ciaops.com/bootcampsf to register.

I’ve also had some interest shown in bootcamps in other locations and I’ll keep you posted on these locations as they become available.

Beyond these SharePoint bootcamps I’m now starting to consider what to offer next. I’ve had interest shown in training around advanced SharePoint, Office365 and social media. If you are interested in any of these or have some suggestions of your own that you’d like to see please feel free to let me know (director@ciaops.com).

I must also thank all those who attended the sessions in Melbourne and I really hope you got value from not only the money that you spent but also the times invested. I certainly hope you can see the potential SharePoint offers not only as a business solution but also a potential grow area for your business.

CIAOPS May newsletter

The May 2011 email newsletter has been released to subscribers inboxes. If you are interested you’ll find the edition here:

 

http://eepurl.com/dRx_H

 

In there you’ll find information about integrating OneNote an iPads, Windows Mobile 7 and Office365.

 

Here’s the video newsletter as well that is part of each edition.