wss

Accessing Sharepoint Web Services without authentication

Is it possible to access a sharepoint web service without authenication? If you can't do it directley can you think of any ways to get round it such as haveing an open service inbetween that does authenicate for you using a public account. ...

Sharepoint List to PDF report

I have a sharepoint list and I needto transform it into a document(any type) and export it pdf. Would you have any tips on the best way to do this? I have crystal reports but not sure if this is the correct use case for this. ...

Sharepoint List to ADO.Net data table

Is it possible to convert a share point list (getting it via the web service or object model) and transform it into a ADO.NET data table? ...

Sharepoint "Could not load file or assembly" "The system cannot find the file specified"

I have added a reference to a dll (sharpPDF) to my .net project. In the code it has picked up the dll and I can use it. When I deploy by sharepoint webpart i get the following error: Could not load file or assembly 'sharpPDF, Version=1.0.3511.18105, Culture=neutral, PublicKeyToken=f099e668beaaa0f9' or one of its dependencies. The system...

WSS 3.0 Workflow - How to set a field value to null

WSS 3.0 I have a List that contains a text field, a check-box, and a Date field. When the check-box is ticked I want to set the date field to the current date, and when a check-box is un-ticked I want to set the Date field to blank (or null, I don't care which just as long as it appears blank). I have created a Custom Workflow using Sh...

Sharepoint development using Visual Studio Express?

Having spent the past few weeks familiarising myself with WSS 3.0 I finally want to get around to doing some Sharepoint development. I have Visual Studio Express installed on my Sharepoint server, but when I try to install the "WSS 3.0 Tools: Visual Studio Extensions" from Microsoft it tells me that I don't have Visual Studio installed. ...

Export/Import a sharepoint list/document library

I'd like to be able to export/import (or backup/restore) lists and document libraries only, with versionning and access rights. If it is a custom list (deployed via feature), I understand that the feature needs to be deployed prior to import (or restore). I can't use "save as template", as the list is too big to include content. stsad...

Uploading a file to Sharepoint Via webservices without a page refresh using Jquery

I am trying to create a wizard using jquery (fill in a dialog of info, press next, dialog changes but page does not refresh). During this process I would like to upload a file to a document library. I do not wish to reload the page. Is this possible? How would you go about doing this? ...

Upload Image in List

Hi all, In my sharepoint site i have a list where user can enter his/her profile related information such as first name, last name, Age, sex... Along with these information i want to let the users to upload their images as well So when i creat a view for this list i can able to show their Image along with other information. So can anyon...

SharePoint timer jobs not getting invoked.

I have a timer job which has been deployed to a server with multiple Web front ends. This timer job reads it's configuration from a Hierarchical Object Store. This timer job is scheduled to run daily on the server. But the problem is that this timer job is not getting invoked daily. I have implemented event logging in the timer job'...

Using Uploadify with Sharepoint and .net

I have a some html being generated by JQuery on a Share Point page. I want to use uploadify in this html to upload a file to the server. Alexander has helped by providing the following sample code which is based partially on http://www.uploadify.com/forum/viewtopic.php?f=5&amp;t=45. upload.ashx <%@ Assembly Name="ClassName, Version=1....

Sharepoint adding an item into a Picture Library

I would like to add an item into a picture Library using c#. This is how I would add a field to a normal item: var item = list.Items.Add(); item["Title"] = "Item title"; item.Update(); How would I go about adding the picture? The picture is stored on the file system i.e. c:\myfile.png I iamgine I need to use SPFile but not sure how. ...

Elevated privileges in timer jobs

Can we use SPSecurity.RunWithElevatedPrivileges in SharePoint timer jobs? Under whose identity will the timer job run under elevated privilegs? Any gotcha's and must know facts regarding this will also be appreciated. ...

Registering SharePoint Event Receivers that are already registered

I am writing a web part against a list. The first thing I do in the web part is verify that my custom event receivers are registered on the list. If they are not, I register the programmatically. I have noticed that if I try to register an event that is already registered, I get no errors and no “Extra” events are registered. My ques...

WSS Search - Content inside webparts

How would you go about having WSS search index content that's inside a webpart/pulled from an external source and presented in a SPGridView? ...

Is it possible to assign webpart id in onet.xml?

I've made a page with with three zones. In onet.xml I have defined three webparts which will be added to the page upon site creation. Is it possible to assign an id to each webpart in onet.xml, or do I need to write a feature receiver which hooks up the connections? My initial thought was to use on the page itself, but then I need the ...

SharePoint check in SPListItem

In sharepoint how can you check in an SPListItem? ...

Sharepoint UpdateListItems list not updating

I submit an update to UpdateListItems. It returns success but the list item ahs not updated. Any advice on how I would track down what is going wrong? Below is the XML being generated: <Batch OnError='Continue' ListVersion='1' ViewName=''> <Method ID='1' Cmd='Update'> <Field Name='ID'>11707</Field> <Field Name='Business_...

WSS 3.0 Workflow - How to get data from joined lists

I am having problems with WSS 3.0 Workflow using joined lists. Here is the description: I am creating a simple work-holiday request/booking app. This is just for internal department use so that staff can book annual leave and have it authorised by their respective manager. To that end, I have two lists: The first list is called 'Staff'...

"A specified logon session does not exist. It may already have been terminated." when trying to copy a file using WindowsIdentity.Impersonate

I am trying to copy a file from sharepoint to a unc path. I am using the following code: var id = new WindowsIdentity("[email protected]"); var p = new WindowsPrincipal(id); var wic = id.Impersonate(); File.Move(oldName, newName); wic.Undo(); oldname is C:\test.txt newName is \\server\folder\test.txt I am getting the erro...