sharepoint

[Plugins] Eclipse & Sharepoint.

Hello All, I wanted to check with you guys if anyone knows an Eclipse plugin that can integrate SharePoint onto it. I did a lot of research and couldn't find any. Thanks a lot in advance! Regards. ...

SharePoint Event Handler

I'm having an issue with an event handler in SharePoint. I have a list of items (List A) which has an event handler attached to it with code for ItemAdded and ItemUpdated. When either of these events triggers, I want another list (List B) to be updated with the minimum value of all similarly names items in List A. Think almost like Mi...

How to develop a Central Administration-Feature in SharePoint 2010?

Hallo, i need to create a feature for the Central Administration in SharePoint 2010, but i do not know how to do that. I have found websites like SharePoint Tip #26. Do you know “How to create Central Administration feature”? or SharePoint Central Administration Feature, but they refer to SharePoint 2007 and not to SharePoint 2010. A...

Track changes to a sharepoint list item

We are developing a system using SharePoint 2010 Foundataion. We would like to track all changes made to a list. What is the best way to do this? ...

Which option is fast to call list

Hi All, Can u please explain me which is fast and why or any other option to fast call any list 1) web.GetList(String.Format("{0}/Lists/{1}/AllItems.aspx", web.Url, listname)) 2) web.lists[listname] Thanks ...

Can a SharePoint Calculated field check for existence of other columns?

I want to use OrderBy in SPSiteDataQuery to sort items by data, however, the field containing the date differs between the content types. Can this be solved by sorting with a calculated field? I am currently trying to create a calculated field that checks for existence of a field (using ISERROR), if it is found it returns the value, oth...

Sharepoint Designer 2010 won't display lists of libraries

Not quite sure what I've done to screw up SPD2010 (was working), but it displayed Sharepoint Designer cannot display the item What you can try: Click refresh ... blah Most likely causes The file has been deleted from the site The site is encountering problems I can't see anything related in event viewer. I think is w...

SharePoint tasks fields dependencies

Hi all, I have a list of tasks and one of its fields is reference to another task in the list, and another field is boolean value. the boolean value of the tasks is false. I want the booleans to be dependent on the related task's boolean value. One can't be true unless the other one is changed to true. Sort of Parent-Child Relationshi...

SharePoint document library problem using .config extension

If I upload files with the .config extension to a SharePoint document library, clicking on them from a browser gives me the message: XML Parsing Error: no element found Location: https://www...........somefile.config Line Number 1, Column 1: Also, if I view the document library using "Open with Windows Explorer" I am unable to view...

Deleting a document via sharepoint web service using JQuery

I am trying to delete a document, using the sharepoint webservice, if someone uploads a document and then hits cancel. I have created the following function function DeleteDocument(libraryName, ID) { debug.log('DeleteDocument (Entry) libraryname = '+libraryName+' ID='+ID); var batch = "<Batch OnError='Continue'> \ ...

SharePoint -how to connect remotely to production server.

Hi -I am new to SharePoint development and have a question. I got that SharePoint development could be 1. artifact-based and 2. assembly-based. Also, artifact-based is done with Designer and supports remote connection to the production server. But what about assembly-based development -done with Visual Studio? Do we need to "copy" the ...

Ways of exporting site as a solution in SharePoint Foundation 2010

Is there any other ways of exporting a sites as solution in SharePoint Foundation 2010 except through "Site Settings -> Site Actions -> Save Site as Template"? Seems to be the only way, just to make sure I'm not missing anything (through the designer probably? There's an option in the designer, but it brings you to the same "Save Site as...

I need SharePoint's Web Part Connections' radio buttons to give me an "all" option.

So I'm using Web Part Connections to filter through a couple of lists. It all works perfectly, except that, by default, the filter shows all of the content. If you select one of the options, it filters the list and that is all dandy. But I need to figure out how to let the users see all of the items again, and I can't seem to find a way ...

Adding multiple content databases to Sharepoint

I am trying to create a new web application in Web service. I am using this code to do this. SPWebApplicationBuilder webAppBuilder = new SPWebApplicationBuilder(SPFarm.Local); webAppBuilder.Port = port; webAppBuilder.RootDirectory = new System.IO.DirectoryInfo(@"C:\Inetpub\wwwroot\wss\VirtualDirectories\" + port)...

programmatically access sharepoint lists using impersonation

Hi, I building a console app that runs under a normal user account to access sharepoint lists programmatically. In order to access Sharepoint objects the console application impersonates the user under the context of which the Sharepoint is running. The impersonation is successful but when I try to access any share point SPWeb objects th...

problem breaking up one SharePoint project into pieces

I'm trying to break my sharepoint project into a few smaller projects. I could easily move utility files in different project. However i encountered a problem when i moved custom-fields. If i move custom-field from ProjectA to ProjectB and set ProjectA to reference ProjectB's DLL, building and deploying work fine. However, when program ...

Sharepoint data view web part toolbar sorting default

I have a data view web part on a page which is displaying a table of data. I want to allow users to choose which column to sort by. I think the only way to do this is go into the data view properties, and enable the toolbar with sorting. This works and allows the user to select a column to sort using a dropdown list of columns. The defa...

Composite Foreign Key in Sharepoint List

I have two sharepoint List. List1 - This contains all users and has primary key as UserId List2 - This contains all courses and has primary key as CourseId Now I want to define third list that would have its primary key as composite key. List3 - This contains users to courses mapping. So the primary key is (UserId, CourseId) combinatio...

Change the display name of the Title column in a ContentType, wise or not?

Hi, I once read, that it is not wise to change the display name of the Title column, when creating a new ContentType in SharePoint. It is however possible (i.e. the columns static name is still "Title" but the display name is "Description"). So my question is, what are the possible complications? Why shouln't I change it, when I create...

WCF program behaves strangely on one server - why?

I have a simple get list method for sharepoint (SharePointList is a webrefrence to list.asmx). /// <summary> /// Returns a list of sharepoint lists /// </summary> /// <returns>A list of sharepoint lists</returns> private string GetSharePointLists() { StringBuilder stringBuilder = new StringBuilder();...