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 …

“Save site as template” is missing… or?

Yes but it’s available with a little trick 🙂 If you try to save a website as a template, you’ll find out that there is no link to it in administration mode (web site settings). You must change the following in the URL and it will be available:Change from this URL:http://mywebsite/sitedirectory/minsubsite/default.aspxTo this URL:http://mywebsite/sitedirectory/minsubsite/_layouts/savetmpl.aspxand you may …