sharepoint

Sharepoint Theme specific image

In my Sharepoint masterpage I have added an <img> to the top of the <body> of the page so that I can use some CSS to set the <img> to fill the screen. However I want a different image to be displayed depending on the theme in use. I currently use the following inside the masterpage: <img alt="" id="fullscreen" src="/_layouts/images/B...

Persist Local Configuration Data in SharePoint

Hi, I have a piece of data, a simple string containing the server name that the SharePoint solution is deployed to, that I retrieve from a configuration store in a helper method in a common DLL used throughout my solution. This helper method is used throughout my custom pages and web parts, to build a number of URLs, etc. I would li...

SharePoint 2007, how to check if a folder exists in a document library

I am accessing SharePoint via its web services... Which are a bit limited, as a result I have turned to WebDav to perform some create folder functionality... I have a document library, and I am about to create a folder using webdav, but I can't find any documentation on the internet or anywhere else on how to check if a folder already e...

Sharepoint Task stored in non sharepoint Database

I am looking at creating an application that will be a SharePoint application. I want to store the tasks in my own database but still have them show up in the Calendar is this possible? ...

Save Sharepoint Data outside of Lists

What is the best way to store your Data outside of SharePoint. I want to use the default Edit/View options in SharePoint (though I do plan on extending their functionality). I need to store the data outside of the SharePoint Lists as I am expecting a large record set(150,000 to start with). ...

Workflow - assign task - task completed - need to re assign

Hello all, Scenario: A list item is created- workflow kick starts - creates a task in a task list - a user can assign the task to a member in SharePoint Group [acheived through task edit forms] . Here I am able to assign the task to a user and set the assignment workflow status to complete as user has assigned the task. Now due to som...

Determne if SQL Server database restored

I need to check if a content database for SharePoint has been restored (as some point in the past). Are there any log file entries - in SharePoint or SQL Server - I can check for to determine this? Or any other approach (apart from asking someone)? ...

Getting list of items through share point web service

I want to get a list of documents which are in Shared Documents (this is the Document Library). I am using the GetListItems web service. I am getting response with list of rows. But I don't see a word document which is created under that. Am I doing something wrong? ...

GroupBy CAMl query is giving Render Failed error

Hello, I have custom list definition.I want to display rows as GroupBy with some column names. I added a query in Schema.xml like below. <Query> <GroupBy> <FieldRef Name="Title" visible="false" /> <FieldRef Name="Followed By" /> </GroupBy> </Query> If i use two filter group its working fine.No iss...

SharePoint files MD5 hash

We have a client who requires that all image files within SharePoint are stored in a manner that it can be shown they are a bit for bit copy of the originally uploaded file. Obviously, hashing the file would be able to show that when the file is retrieved. What I haven't been able to find it any reference to someone implementing this f...

Getting ID of newly added item into Sharepoint List from Silverlight

I am adding item into Sharepoint List from the Silverlight Application using Sharepoint' list.asmx web service. I need to know the ID of this newly created item. The UpdateListItemsCompleted's e.Result (XElement) is returned having the following XML fragment. How can I extract the ID of this item. I am not good in XLinq! <Results xmlns=...

Sharepoint 2007 - Button OnClick event not firing

Whilst writing a custom webpart for use in Sharepoint 2007 / WSS 3.0 I've come across a strange problem - when a button on my webpart is clicked, the event handlers are not firing. Following the advise MSDN, Inside Sharepoint Services 3.0 and of course stackoverflow answers, I've overridden the CreateChildControls() method of System.Web...

SharePoint Document Library 404 Error

Help- Any idea what would cause sharepoint's doc library's tree view navigation to break? What- We have a sharepoint site that uses the template Document Center to hold all of our docs. In the master page of the site there is a site hierarchy showing a tree view for all the folders in the document library. When clicking on the folde...

Can't find System.Workflow assembly in .NET. How do I get it?

I've installed a complete SharePoint Server (MOSS) 2007 on my dev box + the latest Visual Studio (SP1) + the latest full Windows SDK. According to the Windows Workflow Foundation page http://msdn.microsoft.com/en-us/netframework/dd980558.aspx, that is all I should need to do to be able program against the .NET Workflow APIs. And yet, a...

AddAttachment web service in Share point

I would like to an attachment to a list item through web services only. 1 ) I created a list using 'AddList' 2 ) Once I got GUID, then added List Items using UpdateListItems 3 ) Then using ows_ID as listItemId and GUID of list as listName I tried to add an attachment. Here I used base64 encoder to encode a string and put that content ins...

How to make a Sharepoint (custom) Sharepoint global navigation with Security Trimming?

How to make a custom Sharepoint global navigation with Security Trimming? ...

Lookup for access list value from another site in sharepoint

Look up for getting one list value from one site to another site ...

Can two workflows simultaneously exist for a sharepoint document?

Can two workflows simultaneously exist for a sharepoint document? ...

CPWQ displays document titles/notes instead of file names

Hi folks, I'm new to the Sharepoint 2007 server. I've built the CQWP which sits on the homepage and displays files (Word/Excel docs) uploaded to the Shared Document library on any subsite. The issue I'm having is that CQWP displays document titles or notes instead of the actual file names. I would also like to display what subsite the d...

Sharepoint Custom SPFieldLookup save just one value

I have write a custom field that extends SPFieldLookup. I set AllowMultipleValues = true; Here is Field Control Value: public override object Value { get { EnsureChildControls(); SPFieldLookupValueCollection vals = new SPFieldLookupValueCollection(); ICollection s = TinBaiLienQuan...