Install IFilter on MOSS

How to install the PDF iFilter so that pdf files are searchable (and given an icon too) Download the latest Adobe PDF IFilter from http://www.adobe.com/support/downloads/detail.jsp?ftpID=2611Stop the IIS serviceRun the Adobe PDF IFilter Setup on your MOSS serverCopy the ICPDF.GIF file (search your server) to “C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12TemplateImages”Open “C:Program FilesCommon FilesMicrosoft SharedWeb server …

Useful STSADM commands

path to STSADM iscd C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12BIN addcontentdbstsadm -o addcontentdb -url URL [-databaseserver servername] –databasename databasename [-DatabaseUser username -DatabasePassword password] [-SiteWarning number] [-SiteMaximum number] [-SearchServer servername] stsadm -o addcontentdb -url http://srv007:42464 -databasename Sharepoi1_SITE stsadm.exe -o restore -url http://srv007:24003 -filename c:backupmigrera-SRV005-ComSolut1_SITE.SPB create a new site using a template in another language (in this …

Dropdown with URL in onchange

If you want to create a dropdown list with onchange event to dynamically go to selected URL then do this: Use Sharepoint DesignerInsert Data ViewSelect Show DataSelect which field that should be displayed in the drop-down listInsert DataViewData..StyleChange layout to “Drop-down view style”Click OKChange to Code view in DesignerPut the following code before the /head> …

Custom source in profile import

If you would like to be able to select which OU to import from in your Active Directory then select Custom Source in “Configure Profile Import” in the SSP settings. That will let you write your own custom source like the following example: OU=NaBSolutions,OU=Hosting,DC=yourdomain, DC=se The default setting is DC=yourdomain, DC=se so what you will …

Create a content type for Word

I love content types in Sharepoint. I use them when I create new publishing pages, new templates, new columns and yeah that’s it. So useful and powerful. Change in one place – update all others! If you want to publish a Word template to a library you… that’s right – create a new content type …

Content Deployment error

When I should activate Content Deployment on our Sharepoint server I got the following error message:”Value does not fall within the expected range”Oh I just love the error messages in Sharepoint, they are so informative 🙂 Ran the following commands instead: Stsadm -o deactivatefeature -name deployment -url Stsadm -o deactivatefeature -name migration -url Stsadm -o …

Deactivate the name.dll active x control

Websites built on SharePoint 2007 prompts you to install Microsoft’s Name.dll ActiveX control on every page load of your SharePoint web site. Name.dll provides “presence” functionality, that is if you have Messenger it will display your online status. This is annoying, I think anyway 🙂 To remove the prompt on a site you have to …

Hide items from users

You can hide some functions from users on a page in Sharepoint by adding the “security trimming control” – it’s really useful. For example, the “Site Actions”-button should be hidden from anonymous users. Put the following tag around the Site Action control: Sharepoint:SPSecurityTrimmedControl runat=”server” PermissionsString=”BrowseDirectories”>[Site Actions content holder here]/Sharepoint:SPSecurityTrimmedControl>This permission string used the “BrowseDirectories” which …

Missing features

When you install the language templates I have discovered that many functions are missing. The solution is to compare the 1033 folder with the 1053 and copy the files that are missing to your new language folder. For example the search function on WSS pages: I had to copy the file search.js into the 1053 …