wss

does WSS 3.0 search index document libraries?

Hi, I have a document library with a few files in it and I've noticed that doing a search for files in the document library (even the exact file name) does not seem to give any search results. The search does seem to provide results of terms within lists (such as Project Tasks) thought. Does Sharepoint Services 3.0 index files within d...

Handling Session_Start and Session_End events - global.asax - SharePoint

Hello I want to perform few tasks during Session_Start and Session_End (when user logs in and logs out) through custom code. Where should i write it? Is it possible by writing a code behind for global.asax? Will it break anything? Thank you ...

Setup incoming emails in WSS 3.0 and configure document library to receive emails

Hi All, Does anyone have all the steps required to configure incoming email settings in MOSS 2007 including exchange and AD configuration changes? I would also like the steps to configure doc lib to receive emails Thanks, Milap ...

How to catch a Microsoft.SharePoint.SoapServer.SoapServerException?

I am a bit perplexed on how to catch a specific error type of Microsoft.SharePoint.SoapServer.SoapServerException, I'll explain why, and I've included a code sample below for you guys to see. As you know there are 2 ways to interact with MOSS. The object model (only runs on MOSS Server) Web Services (can be run on a remote machine qu...

How to update a sharepoint list item via web services using a where clause?

I would like to update a list item using SharePoint and am stuggling to find 1 decent CAML example. Here is what I want to do, in SQL my query would look something like this update [table] set field='value' where fieldID = id; so this would mean I have 1 item in a list I would like to update 1 field on given the ID of that listitem. ...

Backup restore without content in sharepoint

I want to take a backup of my existing site and restore it on a different Sharepoint server. I know its easily possible through stsadm backup restore. But I dont want the content of my lists to appear in the restored sites. Is there any way to achieve this using backup or export command???? ...

SharePoint, how to update a list item from web service using a where clause?

I have a scenario where I need to update a list item, but I don't know the internal ID of the list item - hence the following won't work for me: batchElement.InnerXml = "<Method ID='1' Cmd='Update'>" + "<Field Name='ID'>" + id + "</Field>" + "<Field Name='DeliveryStatus'>" + newStatus.ToString() + "</Field></Met...

how to use caml queries for optional search values in sharepoint

I have a custom search webpart in Sharepoint which have 7 filters. I am getting data from a Sharepoint list using CAML Query. I want to write a generalized SPQuery which will filter out the data based on the search parameters. The search parameters are optional . If user enters any 2 parameters then I need to get data corresponding to th...

how to achieve "contains" for numeric field using caml in sharepoint

I want to achieve a wildcard search in CAML Query. I used the "Contains" clause to achieve this functionality for text field. I want to achieve the same functionality for a numeric field. Contains does not work for it. Can someone tell me how to achieve this functionality for a numeric field. Is there any operator such as "like" in SQL??...

Access is denied

Hi, I got this code for my sharepoint, but I get a Access is Denied, can anyone help me out here ? <!-- Load and display list - iframe version --> <!-- Questions and comments: [email protected] --> <DIV id="ListPlaceholder"><IMG src="/_layouts/images/GEARS_AN.GIF"></DIV> <!-- Paste the URL of the source list below: --> ...

How do I create relative links for use in a sharepoint site template

We are creating a site template that among other things has a Document library with MANY sub folders and a Link list that contains shortcut links to the depths of the DocLib. While making the Site template we are checking the box to 'Include Content.' We are using Sharepoint 2010. No MOSS. Our problem: Once we make a site from the tem...

Do people create and use Web Parts connections?

I've been writing some SharePoint web parts which connect (as providers and consumers). I've found many difficulties, and (comparatively*) little material from the web, from books, or from microsoft.com, which is quite surprising as Web Parts have been around since 2003. This is making me think that although web part connections look lik...

Windows Sharepoint services in 3-tier

We are planning to build a 3-tier application using WSS 3.0 and one of the challenges is we cannot have the database server on the DMZ.The database needs to be in a physical tier than should be accessed ONLY via an Application Tier.The web application would be hosted in the DMZ and will have to connect to Database tier via the Applicatio...

What is the alternate to PasswordDigest when clear text password is not stored on the web-service producer?

Scenario: Web-service producer have only SHA-1 hash of passwords stored in database. We need to authenticate Web-service users using User Name/Password combination. Web Services Security UsernameToken Profile allows us to add soap headers for this purpose: The element is introduced in the WSS: SOAP Message Security document...

Is it possible to create a workflow that does not show on the "Start a New Workflow" page?

I created a workflow that is automatically configured and associated with appropriate list during feature activation. The users are not supposed to manually create more associations of this workflow. Can anything be done so it does not show on the "Start a New Workflow" page (_layouts/AddWrkfl.aspx)? I found this discussion and the ans...

How do I get an anonymous user object from SharePoint 2010

I have a site setup using Claims Based (Forms) authentication with Anonymous access enabled. When a user logs into the site they may exist in the Forms Database, but not in the SharePoint Site collection. In this case SPContext.Current.Web.SPUser returns NULL - even though they are logged in. Is there another object similar to SPUser t...

SharePoint 'My Settings' Extra fields

In the top right corner of a SharePoint site the user can select "My Settings" to update their details etc. I am currently writing an automated app that will update user profiles from an Export we are getting on a nightly basis. My question is...can i add extra fields to the information that is stored and editable against each user? F...

New SharePoint site returns 505 upon creation

I have an instance of SharePoint WSS 3.0 running on Windows Server Standard VM; which I believed worked fine upon initial setup. However, in an effort to get PerformancePoint and other Microsoft software (like SQL Server 2008) running on the same machine; I've been applying patches, service packs and installing and uninstalling framewor...

SharePoint Data View Web Part ParameterBinding and Filtering...WSS vs. MOSS

I have a DataViewWebPart that is filtered based on a text box which contains the a string. When run under WSS, the first time the page loads, it filters the data fine. When run on a MOSS machine, the first time the page loads, no data is appearing. The text box has the correct value in it to filter. I also have a drop down list in a...

Portal Site on WSS

I have two questions... Could I create a complete portal for Internet with WSS 3.0 or MOSS is necessary for that? I wanted to know if it is possible to install WSS 3.0 on Windows Server 2008 R2 or Windows Server 2003 is the only possibility for this version of Sharepoint. ...