sharepoint

How do I allow an email discussion list in MOSS to collect messages from any email sender

I have a Sharepoint discussion list that belongs to an Exchange list with the idea that it will be able to archive discussions on that list and make them generally accessible, searcheable and so on. The problem is that although I have checked the "Accept e-mail messages from any sender" option on the discussion board, it still appears t...

Sharepoint: Check if a user is member of a group

Hi, how can I check if a user (not the one currently logged in) is member of a certain group? Trying to retrieve a user from a group of which he's not a member leads to an SPException, so checking for null is not possible. So how would you solve this problem. At the moment I think about searching in the SPGroup.Users.XML string for th...

How do you set the Filter for a SharePoint event receiver?

I've only recently noticed the Filter element in the definition file for a SharePoint event receiver: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt; <Receivers> <Receiver> ... <Filter /> </Receiver> </Receivers> </Elements> The MSDN documentation for the SPEventReceiverDefinition.Filter property...

Switch back to http from https in SharePoint (MOSS 2007)

I have a MOSS 2007 instance and a web app (Site Collection) in port 80 that has an extension through port 443 to enable https. This instance has an asp.net web app that is inside the Site Collection. This asp.net web app enters https protocol when one of its qualifying aspx webforms is called, but when the user leaves the form the https...

Wss 3.0 Search

OK I have set up spme sites and have search working (ex- document name 04-Jun-2009_48StopPayment) I am able to search of 04 or Jun but if I try to search for 48 I dont get any results. The reason I am trying to figure this out is because I have set a site up for all of the outputs of Crystal reports. these are run daily but there may be ...

SharePoint 2007 Versions.aspx

I need to modify the versions.aspx page... No idea how to nor do I know if this is something I should do?!? The root problem is on the history of our document we have effective and termination dates. Termination dates are kinda of the issue as they are not reflective in version history (when you look at the versions.aspx page). They ...

get url of items in sharepoint document library

i have a document library in sharepoint what is the field called for the url of the uploaded documents? see commented line below to see what i am trying to do SPDataSource dataSource = new SPDataSource(); dataSource.List = site.RootWeb.Lists["myList"]; this.myDropDownList.DataSource = dataSource; this.myDropDownList.DataTextField = ...

When should I Create a Subsite in SharePoint

Recently I got into an position where I need to see a trade off of creating a Subsite in SharePoint. I would like to know what are all the scenario that we need to create a Sub Site and why. Example : To have a different level of security compared to other sites. To have a different master page ...

How to create a SharePoint feature that adds Web Part Pages to a Document Library?

I need to create a SharePoint feature that will create some content pages. I know how to create a ListInstance element for a Document Library, but how can I add web part pages to the list? I have created some pages with the Web UI (_layouts/spcf.aspx), but how can I use them in my ListInstance? Is there a way to export this content and...

How can you copy a Share Point solution in VS 2005?

I'm at my wit's end. The Share Point guy got a brain tumor and had to quit, and they've tasked me with keeping this thing going. Every year on the Share Point site, they put up a new Documents section for each of the departments. They've got tons of forms and whatnot, and I really don't want to start each one from scratch. Looking at...

How to create a new user in SharePoint when the user doesn't exist in AD?

Hi all: I have to import a lot of old data into SharePoint. In this data, I need to create a lot of users who are no longer in AD. Does anyone have any idea how to do that? Cheers ...

Sharepoint Multi Authentication

I need to find out how I can allow our Sharepoint portal to support both windows authentication and form based authentication. The objective is to allow those users in our Active directory to sign into the portal using their active directory credentials, and at the same time we want to allow those users who don't belong to our active dir...

Updating dll used by sharepoint webpart

We have webparts that use dll's which are in the GAC. In the *.webpart file the dll is refered to in the type name tag. Here it is spesified with the version number. Is it possible to get the web part to use a different version of the dll, without having to redeploy the webpart? We have many pages that use the webpart. If we were to r...

Adding Comments and ratings to Sharepoint document libraries or Picture libraires

Is there a ready made solution to allow users to add comments to an image posted in SharePoint picture library or basically any item in a document library? What I need is allow user who are viewing an image from a picture library for example to add comment, view comments others have left and provide some sort of voting. Similar to what ...

get server relative url of file in sharepoint list

how can you get the server relative url of a file in a document library from code in Sharepoint? ...

How to hide, disable calendar list item fields in Sharepoint

I want to hide or make some fields read only on editform.aspx. I follwed the example on this page, but without deliting the "original" webpart list. I hide the original webpart and created a new custom list from the original list. Then i was able to apply xsl on the custom list to hide or to make the field "read only". Unfortunately the ...

Adding a different 'url' colum in Sharepoint Search results

I have a customised Sharepoint results xsl, and I've added new columns before (via Metadata mappings etc), this one has me stumped. We have a document type, that can either be a 'Document' or a 'Link to a document'. When I search I want to check the URL INSIDE the 'Link to a document' (what it points to), but I only get the actual URL fo...

How to create a SharePoint Document Library for Web Part Pages with a feature?

How can I use a feature to create a document library to be used to add Web Part Pages to? When I try to create a list using the following elements.xml and a copy of the FEATURES/DocumentLibrary/doclib/schema.xml with my own name and URL, the library is not listed in the Save Location on the Create New Web Part Page page. <ListTempl...

CAML GroupBy usage when querying a list using the SPQuery or SPSiteDataQuery object

I'm not sure how to use the GroupBy clause when querying a list. The SPListItemCollection or datatable looks exactly the same regardless of the groupby clause. SPQuery query = new SPQuery(); query.Query = "<GroupBy><FieldRef Name=\"Area\"/></GroupBy>"; DataTable result = list.GetItems(query).GetDataTable(); // result.Rows.Count = Same...

WSS 3.0 Search

Hi Everybody, I am using the Microsoft Search Server 2008 Express with WSS 3.0 for searching the wss content as well as LAN contents. I did a kind of POC where I can search the wss content and the contents that are not of wss repository but placed in the LAN. When I do a wss content search let say I have a Document Library named "Docume...