sharepoint2007

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...

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 ...

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...

BDC - Problems in applications

Hello, I am getting some problems in the BDC applications. When I import some BDCs application I get an empty error and my BDC applications in Central Administration file has no Version and no data. If I try to anything on it, I get Access Denied. Help! I am trying to delete it, because i already fixed the BDC file. Screenshots are h...

Web part dll in Gac or bin using sharepoint 2007

Hi What is best practice, in sharepoint 2007 web part deployment. Deploying the dll's to GAC or bin? ...

Sending Emails in Sharepoint

I need to know what is the best practice for sending emails from my sharepoint webparts and/or customized features. Should I just use the normal .Net classes to send email ? or is their a better way to do it through integration with an outlook server ? ...

Regarding SPLongOperation Object In SharePoint 2007

I am using the SPLongOperation Object in my project to introduce a delay while navigating to a new page.The in-built page uses the default css styles and branding. I want to customize this page design and apply my own theme and branding. Please tell me how to apply a custom master page to the page which displays the SharePoint 2007 Spi...

Login failed when a web service tries to communicate with SharePoint 2007

Hi, I created a very simple webservice in ASP.NET 2.0 to query a list in SharePoint 2007 like this: namespace WebService1 { /// <summary> /// Summary description for Service1 /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.Compon...

SharePoint problem while adding custom menu item in document library

Hi, I have written a feature(Site scoped) that adds custom menu items to the New Menu and EditControlBlock of a SharePoint 2007 document library. These menu items should show up only when the user has add and edit permissions for that document library. This works great except for one particular case where the user has only read permissi...

Consuming WCF service from SharePoint web part

I have created a SharePoint web part and inside this web part I am trying to consume a WCF service.To do so I have added the system.serviceModel node (copied from client app.config) into the web.config of my web application. Is there any other way to do the same? Actually i am trying to avoid any modification in web.config of web applic...

Why do SharePoint Designer workflows, when edited, seem not to update on the SharePoint site?

I've ran into this scenario a lot it seems. I'm not sure if it's an issue with SharePoint Designer, or SharePoint itself, but the following seems to occur often: I create a Workflow in SharePoint Designer, and when I save it, it's good to go, and works as expected. However, when opening it later for edits in SPD, I can make changes to...

Has anyone found a video streaming solution for Sharepoint running on Windows Server 2008 64-bit?

Background We're doing a proof-of-concept around Sharepoint 2007. It's installed using VMWare on Windows Server 2008 64-bit. This covers the whole farm which is 2 front-end boxes, one database box and one index server box. Problem We're trying to use the PKS podcast kit from Codeplex. We run into two problems: video vs search. One sit...

Hide field in SharePoint alert email

How can I hide a field in a SharePoint alert? I have a custom event list (Calendar). I have a field (of type Note - aka Multi-line text) whose XML contents I generate manually in an event receiver. All my calendar views use this field as the Title for the Month, Week, and Day views. I have a web part I include on the page that runs a...

MOSS 2007 Content Types - farm wide application

We have an issue with rolling out content types with features. How does one roll them out to the SharePoint farm and update the database at the same time. Right now, we cannot figure it out. Is there something that has to be done custom? ...

Basic Authentication not found in IIS 6.0

For Sharepoint Central Admin to work I need to enable Basic Authentication in IIS 6.0 http://community.bamboosolutions.com/forums/p/2287/2881.aspx For some reason I am not able to find it in IIS 6.0 on my machine. I See only Anonymous authentication, ASP.net Impersonation, Forms Authentication. Any thoughts? ...

How to Populate Sharepoint MOSS 2007 Reference Data?

Hi, I need to populate reference data in a number of custom lists across difference versions (DEV, TEST and LIVE) of the same MOSS 2007 installation. Can anyone point me towards a way of doing this? I am initially looking at using a script (PowerShell?) or tool to populate this data. Thanks, MagicAndi. ...

Compare Author to UserID in SharePoint XSLT

Hey Gang, I've got a simple DataFormWebPart where I'm using XSLT to render out the contents of list. I want to compare the @Author field each list item to the current user, however the following won't evaluate to true: in the header of the XSL: <xsl:param name="UserID" /> and within the template that evaluates the rows: <xsl:value...

What are valid SPAlert EventTypeBitmask values?

According to many blogs on the internet when creating a SharePoint alert (SPAlert) from code you have to specify values for both the EventType and the EventTypeBitmask. However, I cannot find any explanation about the values of EventTypeBitmask. I created some alerts using the SharePoint web GUI and inspected the EventTypeBitmask values ...

Sharepoint 2007 AddList and AddListFromFeature are missing template columns and data content

What I've Done Inside SharePoint I created a List based on the Project Tasks template I deleted most default columns, and added new custom columns I added data using the new format Then I did a "Save as template" and chose to save the template with the content What IS Working Now, when I use that template to create a new List inside...

How do you programmatically remove all items from the second stage recycle bin in SharePoint 2007?

Currently I have this program: namespace EmptySiteCollectionRecycleBin { class Program { static void Main(string[] args) { using (SPSite mySite = new SPSite("http://mysharepointsite")) { try { mySite.RecycleBin.DeleteAll(); ...