moss

SharePoint and Log4Net

I'm looking for best practices to integrate log4net to SharePoint for web request, feature activation and all timer stuff. I have several subprojects in my farm, and I would like to have only one Log4Net.config file. [Edit] Not only I need to configure log4net for the web application, which is easy to do (I use global.asax, and a log...

Moss 2007: Change Label of Search Option (Advanced Search)

Hi there, I've created a custom search page with some defined options in my search scope. I have a metadata mapped (jobtitle), and added the search option to my custom search. I want to change my managed name to jobtitle, because title doesn't hit the dutch word for jobtitle. I changed the managed name to "jobtitle", after applying ...

Defaulting WebParts on a Users MySite in Sharepoint

I am working on a project that is replacing an old portal system (Plumtree) with sharepoint and we want to make the transition as smooth as possible. One thing we are look at currently is taking all the gadgets (Plumtree term for WebParts) and making sure they appear in the same place on the users new MySite. Plumtree holds this inform...

How can you work out the ID of a users MySite

In a Sharepoint WebPart written in c# I need to find out either the ID of the current users MySite, or check if the current site is the users MySite. Ideas? ...

How do I programatically turn off show pages in navigation for sharepoint

I am progamatically creating a SharePoint site using SPWeb spWeb = spSite.AllWebs.Add(...); What code do I need run to set the spWeb to turn off the "Show pages in navigation" option? Answer: publishingWeb.IncludePagesInNavigation = false; ...

Using a MulitpleLookupField in MOSS '07 Layout Page

Hi there, I have a page layout for my MOSS '07 site that I want put a MultipleLookupField in. The field will point to a multiple lookup column in my custom content type that points back to the pages library so I can have a "Related Articles" field. I've gotten the field to show up correctly--it's even editable when the page is in edit...

Promoting MOSS '07 Sites From Dev To Production

Hello, So, maybe I'm a bit old-school, but when we created websites in the past, we'd develop the site on a development server, then publish or promote the pages and files to the production server. This has always seemed to be a good way to go so that users didn't see messed up pages or (God forbid) a downed server because one of us sc...

Disable MOSS auto import of colleagues

Upon AD Import for SharePoint, MOSS does this automatically: "Office SharePoint Server 2007 automatically adds your manager, peers, and direct reports as your colleagues". How do I disable this automatically so it's a clean list of colleagues? ...

Saving Word 2007 to MOSS gives never ending "Getting list of available content types..." dialog

We have a weird intermittent problem with saving from Word 2007 to our SharePoint 2007 (MOSS) document libraries that gives a dialog box that never goes away - it is titled "Content Types" and the message "Getting list of available content types..." with a green progress-type bar that keeps scrolling. It happens a lot on our training ser...

How do you change the address of a document library?

I have a site with multiple document libraries in it. One of the site users has full control of the site & at one point, instead of creating a new document library, they renamed the default document library from "Shared Documents" to "Correspondence". Now they've opened the document library in windows explorer, so it's added an entry i...

How to get rid of "Failed to determine definition for Feature with ID"

My event logs on my production front end servers are getting filled with error messages: "Failed to determine definition for Feature with ID" Now, I've found the offending feature on one of the development servers - it is an InfoPath form with some code behind. But, it is nowhere to be found on the production servers. I've tried runn...

How do I remove items from the Site Actions menu in SharePoint?

How can I customise the Site Actions menu to remove or rename 'standard' menu items? Where are the site actions menu items defined? ...

MOSS 2007 BDC Filter

I'm new to MOSS. How do you set up/apply a filter using the MS BDC editor? I have run across a few samples but they don't go into any detail. ...

Creating Custom Field Types and Custom Content Types

Does anyone have any good links for developing custom field and content types that doesn't involve using VSeWSS? Most of the stuff I have seen on the web requires installing VSeWSS, I would rather build them from scratch with just VS2005. Thanks ...

What are your biggest complaints about Sharepoint?

I'm looking into using SharePoint (WSS 3.0, specifically) for the document library and discussion board functionalities. I'd like to ask those of you who have experience in SP (MOSS or WSS, since we might upgrade in the future) for a list of the items that ticked you off or required a difficult workaround. Here's one from me - I found ...

What is the easiest approach to exporting a Sharepoint list in xml format?

Pretty self explanatory. I just need to export lists easily to xml format. Are there any tools that accomplish this? ...

Sharepoint: Is it possible to make subgroups in top navigation menu?

I need to make subgroups in the top navigation menu, like: Home -Group --Subgroup Is it possible? I can not make more than two levels! ...

MOSS 2007: SPListItem.GetFormattedValue for DateTime fields has a bug?

SPListItem.GetFormattedValue seems to have a strange behavior for DateTime fields. It retrieves the DateTime value through SPListItem's indexer which according to this MSDN article returns local time. Here's a snippet from Reflector public string GetFormattedValue(string fieldName) { SPField field = this.Fields.GetField(fieldName); ...

How can commenting be added to news articles in an existing Sharepoint 2007 news site?

A client is asking to incorporate commenting on their news articles. They're using the Sharepoint news site template for their news publishing, etc. They want a simple commenting system, much like what is available on most blog engines, only they want it at the bottom of each news article. I just thought I would ask around about an out ...

Transparent generic exception handling for asp.net / MOSS2007 (with code)

Not exactly a question this, but something that might help out a few people I hope.. Some time ago, I wrote a general transparent exception handling module for use in a MOSS 2007 (Sharepoint) solution. The solution had many web parts, web parts that would often break, causing the entire page they were on to crash. This was causing our t...