sharepoint

Add permission levels to sharepoint list using Web Services

Hi, I need to add permission levels to a list like: Full Control, Contribute, Manage Hierarchy, view Only, etc. I see here: "programatically add user permission to a list in sharepoint", that this can be done using the Object Model. How would I do the same using Web Services? I tried using the permissions.asmx web services, it works for...

Sharepoint site template - feature scope

I created a site definition that I will use as a site template for a SPWeb object. My web can only be provisioned as a child of a site (SPSite) using a certain Sharepoint template. When I provision the web I want several features that compose my custom site definition to be activated at web level, and several other to be activated at sit...

Search Setting / scope not appearing Wss 3.0

I have installed WSS 3.0 with Search Server 2008 Express. Now when I click on the site settings of any sample site it does not show the Search Settings and Scopes Hyperlink under Site Collection Administration section. Please help me in this regard? ...

Sharepoint webpart upload file whitout using "runat server"

For uploading a file in sharepoint I use a webpart and an automatically generated form. the tag for the upload file: <input type="file" id="uploadfile" name="uploadfile" /> When I try to pick it up after posting, the file isn't accessible with the Request.Files attribute (Request.Files["uploadfile"]). (Request.Files looks like null o...

Web login using windows credentials

We have an intranet site on our corporate network (SharePoint 3). If I look at it via Internet Explorer - I'm already logged in. If I look at it using Firefox I have to enter my windows username & password. My questions is this: Why is there this discrepancy between the browsers? Does Microsoft have some proprietary plugin in IE that c...

How to add stylesheet for web part in MOSS/Sharepoint 2007

I am migrating a web part from 2003 to 2007. The web part originally used styles from a modified core style sheet. I now want to create a separate stylesheet just for this web part. I have tried to use CssRegistration.Register("/wpresources/Portal.Megamenu/mystyles.css"); but this results in a HTTP 401 and I have to log in (NTLM is...

sharepoint save a date to a date field

How can you save a date in sharepoint programatically? I have a list with a date field and want to save a date into that field and a regular DateTime field isnt working. ...

A resource for a SharePoint Developer

Hey all. I was wondering what would be a good introduction book for someone looking to become familiar with the programming languages that would be used with WSS 3.0? I am a developer that will be working with customization of the SharePoint platform and was looking to better myself in my career. Thanks. ...

Sharepoint CAML Date query

Hi, im getting different results based on the date i use to search on. Here are the 3 records i want to display, their values for EVENTDATE, and ENDDATE are as follows 1, 2009-08-11T00:00:00Z, 2009-08-14T23:59:59Z 2, 2009-08-11T00:00:00Z, 2009-08-14T23:59:59Z 3, 2009-08-14T20:00:00Z, 2009-08-14T22:00:00Z When i search for a time betw...

Sharepoint GetListItems preserve whitespace?

I am using the Sharepoint Lists.asmx web service to read some data from a list, with the GetListItems method. This is all working fine and as expected, but when you retrieve a field with a large amount of text, the whitespace and linebreaks are not included in the XML node. Is there an option to include this whitespace in the return XM...

Authentication in a SharePoint environment

We are developing a Intranet portal that uses integrated authentication, but a few sections of the site will be exposed to users who are not in the domain. For those users we plan to use anonymous access. However, our display logic for the entire application is based on the user logged into the portal, so we are not fully comfortable wit...

Upgrading SharePoint web parts

I have several custom web parts that I'm in the process of deploying to production. During this process I've found a handful of minor things that need to be tweaked in the various parts. To deploy the new code I create a new solution package, deactivate then delete the features, retract then delete the solution, then do it all again in r...

SharePoint Web Services - Updating ContentType field Required property?

I've been trying to programmatically reproduce the behavior of editing a Content Type's field properties in the SharePoint site management screen and selecting the "Required" radio button with no sucess using the WSS 3.0 web service's Webs.asmx "UpdateContentType" method. The first difficulty was the issue with the MSDN documentation th...

SharePoint masterpage css styles not showing for other users

I'm setting up a SharePoint Site where the masterpage is built using one of the existing masterpages as a starting point (Blue Band). When I test the site while logged in as the super admin, everything looks fine. But if I log in as a general user the default masterpage shows as Blue Band again. I'm guessing there must be some permissi...

SharePoint: CSS changes update in FireFox but not IE

Weird problem. I update the site CSS sheet and the changes show straight away in FireFox but don't show in IE. Using the Developer Toolbar in both apps the style changes are missing in IE. I've reset the browser cache but no dice. ...

Hide Site Action WSS 3.0 SharePoint

I want to give a member a privilege to create a sub site or workspace with same permission as that of parent site. I have changed the OOTB "Contribute" permission level i.e. I have given permission to Create a web site. After doing this a Site Action Menu appear and I don't want it to be displayed when member with "Contribute" permission...

Sync list with outlook only with items in current view.

Hello. Currently outlook takes all list data and synchronises it with outlook. Is it possible and how to synchronise only items in a specific view? I`m only interested in my items in the list. ...

Moss workflow approval using minimal site definition

Hi When using the minimal site definition for moss from codeplex (http://www.codeplex.com/features), after adding the features required for workflow, workflow approval becomes available for the pages library. When I submit a page for approval, the buttons for approve and reject do not appear on the page editing toolbar. I can go and vi...

SharePoint SPUtility.SendEmail() is scrambling unicode characters in subject line

So, I'm using SharePoint's SPUtility.SendEmail() to send an email with non-ascii characters in the subject line. The problem is that the Icelandic character 'ð' is scrambled to '?'. This only happens in the subject line, the message body is fine. The problem does not seem to be with the email client, since the problem appears both in Gm...

How do I show which users have completed a form in a form library?

I have 10 form libraries on a Sharepoint 2007 site. The site is for the use of 20 "Scholars". Any Scholar (or any of a dozen secretary-types who assist them) can go into any form library, cick [New] to get an Infopath Form, select the appropriate Scholar's name from a drop-down list field, fill out the rest of the form and click [Submi...