sharepoint2007

SharePoint alert email indicates fields have changed that haven't

In particular, the "Person or Group" fields behave this way. When I edit an item (without modifying the value in the person column) in the alert I get the following:   chloraphil; chloraphil chloraphil Obviously, typical SharePoint behavior is for changed fields to have the previous value in strikethrough and the new value next to...

Retrieving SharePoint Services Site Column Data

Hello SO Experts, I am new to SharePoint Services and I hit a wall with one of my tasks. I need to retrieve data from a Site Column. How do I get about that? So far I only see APIs that can retrieve lists and not site columns. Please let me know if any of you know to do this. Thanks !! ...

how to get current URL in SharePoint?

Hello everyone, I am using SharePiont Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I am using left navigation area (in SharePoint terms, it is also called current navigation area), and each item in the left navigation area maps to ...

how to add a WebPart to all pages in a SharePoint site?

Hello everyone, I am using SharePiont Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I want to know how to add a WebPart to all pages of a SharePoint Site? Any reference samples? I want to use this WebPart to display some common inf...

An item with the same key has already been added. at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchAdminPageBase.ErrorHandler(Object sender, EventArgs e)

When I go to the Search Settings page in Shared Services Administration I get the following error: An item with the same key has already been added. at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchSSPAdminPageBas...

SharePoint MySites URL Conflict

A user logins into the SharePoint site we have created using their email address and this becomes their username. However this creates a problem for MySites. When the user creates a MySite the URL it cuts of anything after the @ symbol in the username, so if the users email address is [email protected] the URL to their MySite becomes: htt...

Populate a List Item based on another List Item

Hello All, We have an UI where user selects a department. It goes into a List item. We have separate SharePoint user groups for each department. I want to populate the users in the SharePoint group in one of the list Item. So now based on department selected I need to populate the List Item. Please help me in doing this. I am able to ...

sharepoint list web service updatelistitem caml

Hi Can I update a sharepoint list item using list webservice updatelistitem method's field title instead of field Id. for eg: msdn sample uses Field Name ID batchElement.InnerXml = "" + "6" + "Modified sixth item" + "7" + "Modified seventh item" + "5" + "" + "Added item" Since I am pulling the information from sql ...

Question about configuring sql server 2005.

When configuring a SQL 2005 Server in preparation for connectivity to a SharePoint Server 2007 farm, Microsoft recommends that Local and Remote Connections use both TCP/IP and named pipes. Where is this setting found? ...

Sharepoint XSLT Dynamic filtering

I'm trying to create a dynamic row filter based on a variable. I have the following code: <xsl:variable name="filter" select="contain(@Title, 'title1') or contain(@Title, 'title2')"/> <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row[string($filter)]" /> This unfortunately doesn't seem to work and I end up with all rows. I'm...

Visual Studio 2010 and Sharepoint 2007

I have Sharepoint 2007, and I am going to buy Visual Studio for the first time. Does Visual Studio 2010 work with Sharepoint 2007? ...

how to filter a list on SharePoint

Hello everyone, I am using SharePiont Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I have defined a custom list manully on a SharePoint site (all column types of the custom list are SharePoint built-in types), and I want to define ...

Sharepoint 2007 Survey Permissions

I am creating a SharePoint 2007 survey and noticing some odd behavior. When I set the permissions to have users edit none of the responses, it gives users with Contribute access the ability to begin a response but after finishing the first page and clicking Next the user is no longer given access to the survey response. However, when ...

Tell if user exists in SharePoint Group through web service

I am working on an internal web application that will use predefined SharePoint groups for determining a user's security level. I have done some research and found SharePoint's "usergroup" web service which has the method "GetUserCollectionFromGroup()" which will list all of the users in a given SharePoint group. The problem I am hav...

Is there a way to restore the original _layouts/application.master page in SharePoint

Hi there, assuming there is no backup of the original, can I restore application.master file in the _layouts directory in MOSS 2007 back to the default spec? Either that or does anyone have a copy of the default application.master file that they can share? Thanks! ...

SQL IN equivalent in CAML

Is there "nice" way to create a CAML query for SharePoint that does something like this? SELECT * FROM table WHERE Id IN (3, 12, ...) Or am I stuck with a nightmare of nested <Or> nodes? ...

Last modified person's user ID with MOSS List Service

Hi, Can you please let us know if it is possible retrieve user ID of the person who last modified a document using MOSS list web service? If yes, please let me know the column name. ...

SharePoint 2007 search query related to attachments in a list

Can sharepoint search work for list item attachments. I have a custom list where I am loading attachments. Can SharePoint search through the content of the attachment. ...

Deploying SharePoint Event Receiver Assembly to Web Application BIN

Is it possible to successfully deploy an assembly containing event handlers for a custom SharePoint list feature (thus, classes that depend on the Microsoft.SharePoint assembly) to a web application's bin instead of the GAC? The option to do so certainly appears to be present in the XML markup in my feature's manifest.xml file. However...

Setting trust level in Sharepoint without changing web.config

I want to change the trust level of a Sharepoint Web Application without having to change the web.config manually (i.e. WSS_Minimum, WSS_Custom, etc). Making manual changes to the web.config tag is highly undesirable in anything other than a one-server farm. Is there any way via stsadm or Central Admin to change this? Third party tools...