Questions tagged [sharepoint-2010]

For SharePoint-specific questions, please see the SharePoint Stack Exchange site at https://sharepoint.stackexchange.com/

SharePoint 2010 is a Server Product from Microsoft. It is a Application Development Framework that helps you to create Web Applications in no time. It is used for collaboration, web publishing and file sharing as well as providing a rich set of functionality (content management, search, wiki, blogs, etc.). Sharepoint 2010 can also present information from Enterprise Information Systems (EIS) and handle complex workflows.

8481 questions
16
votes
5 answers

"Cannot uninstall Language Pack 0 because it is not deployed" when attempting to uninstall-spsolution on sharepoint 2010 foundation

I continue to get this error message "Cannot uninstall Language Pack 0 because it is not deployed" when running the uninstall-spsolution cmdlet. I've attempted a number of alternate syntaxes to no avail. (tried add -language 1033 for example) I see…
user511530
  • 191
  • 1
  • 1
  • 4
16
votes
8 answers

How to get the Absolute URL of a file in sharepoint library

I am working on SharePoint 2010.I have an documentlibrary ID and document ID in that library with me.i don't have either web,site in which the document library is present.So now I have to get the Full URL of the document at runtime.How can I get it…
Tortoise
  • 731
  • 4
  • 10
  • 21
16
votes
2 answers

Getting members of an AD domain group using Sharepoint API

In my Sharepoint code I display a list of all defined users via: foreach (SPUser user in SPContext.Current.Web.AllUsers) { ... } The great part is, I can add a domain security group to a Sharepoint group (like Visitors) thus adding many users…
Robert Koritnik
  • 103,639
  • 52
  • 277
  • 404
16
votes
3 answers

SharePoint 2010 REST API JQUery Insert, Update, Delete

Can anyone explain or point me to a link with samples of doing Update, Delete using Jquery with the SharePoint 2010 Rest API? I have the insert working and of course queries since the MSDN documentation explains and every tutorial on the net…
Fab
  • 904
  • 2
  • 14
  • 38
15
votes
3 answers

SPSite site = new SPSite(SPContext.Current.Web.Url) vs SPContext.Current.Web.Site

Why do some SharePoint examples use using (SPSite site = new SPSite(SPContext.Current.Web.Url)) { ... } and not just simply? SPSite site = SPContext.Current.Web.Site; ... Update I think I have narrowed the question down to the following: It…
Jan Aagaard
  • 10,940
  • 8
  • 45
  • 80
15
votes
4 answers

exceeds the list view threshold 5000 items in Sharepoint 2010

I'm upgrade my sp 2007 to sp 2010 and I have a form library has more then 5000 items. Default view of form library filter items and show only 10-20 item to users. After upgrade sp2010 All users get below error when going to form library expect site…
Sefer K
  • 504
  • 1
  • 5
  • 19
15
votes
5 answers

Can two or more people edit an Excel document at the same time?

I have a SharePoint 2010 site with a document library for storing Excel files. If someone is editing an Excel file (using stand-alone Excel, not Excel services), everyone else will be forced to open the file read-only until the first person is done…
Tobias Funke
  • 499
  • 3
  • 6
  • 12
15
votes
6 answers

How To Get The Value Of Header In CSV

In PowerShell I want to pass the name of a header in a CSV file into another function in the PowerShell script. How can I retrieve the value-text of a header name into a variable in CSV? e.g. if I have the following CSV data: ID Name Country --…
motionpotion
  • 2,656
  • 6
  • 42
  • 60
14
votes
4 answers

Sharepoint LookUp field on Choice field?

How to create a lookup field for the Choice field..For eg: In a list i have Choice field and i have to create an lookup column in other list pointing to this choice field ..When i select this list this column is not appearing in the…
Govind
  • 544
  • 1
  • 6
  • 23
14
votes
2 answers

Add user to SharePoint 2010 group using powershell

We need to add several users to several SharePoint Groups. Does anyone have an example of how to add a user to a sharepoint group using power shell.
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
14
votes
6 answers

SharePoint 2010 - Client Object Model - Add attachment to ListItem

I have a SharePoint List to which I'm adding new ListItems using the Client Object Model. Adding ListItems is not a problem and works great. Now I want to add attachments. I'm using the SaveBinaryDirect in the following…
Thorben
  • 143
  • 1
  • 1
  • 6
13
votes
6 answers

How do I tell if an SPListItem is a document or a folder

I have a loop that is looping through a document library like in the example below. foreach (SPListItem item in DocumentLibrary) { } How do I tell if the SPListItem is a document or a folder?
Joe
  • 531
  • 2
  • 7
  • 16
13
votes
3 answers

Override Chrome Type Webpart

I made a Webpart in Sharepoint 2010, and I need that the property "Chrome Type" allways set a "None" value. I was looking for ways to force the Combobox to "None", or overriding the "Chrome Type" in the C# class, but I didn't find any way to do…
Dr. No
  • 1,306
  • 5
  • 28
  • 57
13
votes
5 answers

Set Item Permissions

Folders work: I now know how to set the permissions of a folder in a library: public void ChangeItemPermissions() { _SharePoint.ClientContext _ClientContext = new _SharePoint.ClientContext("https://sharepoint.oshirowanen.com/sites/oshirodev/"); …
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
13
votes
3 answers

How to Change SharePoint 2010 Project from Sandboxed Solution to Farm Solution

I created a new sharepoint project in Visual studio 2010 and by mistake it was sandboxed solution, after finishing my development its wont build because i am adding items to controltemplates and its saying i need to have the project as farm…
Moutasem al-awa
  • 800
  • 1
  • 8
  • 16