For questions completely specific to SharePoint 2010 and **not past or future versions**

learn more… | top users | synonyms (1)

16
votes
9answers
56k views

User with Full Control Permission is getting Access Denied Message

The user who's responsibility it is to build up and maintain our training portal is receiving the "Access Denied" message when she tries to edit her page. Her permission level is "Full Control". I ...
12
votes
2answers
5k views

How can I use normal paging on a custom view?

I'm creating several lists (and their views) programmatically, based on custom list definition templates. When these views display more than 30 items, the following link is displayed: Whereas on ...
12
votes
2answers
14k views

How can I export a schema.xml file for a list from a SharePoint site?

I've been troubleshooting my schema.xml file for a list definition and getting more and more frustrated. So I thought, "Hey, I'll just get it to look right in the UI and then export that and compare ...
3
votes
1answer
14k views

Where to put javascript files, problem with _layouts

I'd like to add jQuery and SPServices. I added the following code: <SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" ...
6
votes
2answers
8k views

Resource files creates unnecessary ULS log entries

We're using resource files to handle UI-constants. This is working out alright. The problem is that we're getting lots of 'High'-level logging entries in ULS. They look like the following: Failed to ...
9
votes
7answers
50k views

Unable to open office files in Office client

While trying to open an excel document stored in "Shared Documents" library, the excel application opens up with a login prompt, to which I passed the login credentials of the site. After which the ...
7
votes
4answers
13k views

Javascript to display sharepoint list items on page load

With Client Object Model API and a bit of javascript, I want to retrieve the items of a sharepoint list and display them into the web page, when the web page loads. I've successfully implemented ...
7
votes
4answers
10k views

Race condition in SPListEventReceiver.ListAdded - Save Conflict

I am currently developing an Event Handler for SharePoint 2010 which sets defaults for Document Libraries on creation (content types, version settings etc). I am having a problem with Save Conflicts ...
6
votes
3answers
18k views

Error : Object reference not set to an instance of an object on feature deployment

I am writing code for feature activated code. But when I try to deploy my solution through VS 2010 it says deploy failed Error on feature activation : object reference not set to an instance of an ...
5
votes
4answers
22k views

Display List or Library on another site as WebPart?

I want to display my list on another site in same site collection. I edit List with SPDesigner, select the view and save it to site gallery. After these steps, I added the view webpart on my another ...
4
votes
1answer
13k views

Get Current User's Department Name and Manager From Active Directory

How the "department name" and "manager" attribute value could be retrieved from active directory programmatically? For ex. i will have custom newform.aspx to create some new item, in the code-behind ...
4
votes
2answers
6k views

Copy file using javascript client object model - new version

I have a solution that adds a custom button to the ribbon in SharePoint 2010 and am using the javascript client object model behind the scenes to copy a file from Library A to Library B when the ...
4
votes
1answer
12k views

2010 Column Validation Formula

This formula works fine when adding a new list item: =[Class Date]>=TODAY()+3 Basically ensuring the user selects a date greater than two days away from current date. I don't want the formula to be ...
4
votes
2answers
6k views

Can the zoom/scale on JS Grid conrol in gantt mode be changed?

I have created a webpart with a JS Grid control with gantt enabled. I want the gantt view to display months instead of weekdays. Anyone have an idea how to do this? Update: The following link is what ...
8
votes
5answers
4k views

Are there any problems with enabling Publishing Features on a Team Site?

I have a team site that we created for our department to use. It has a custom master page that we built. I want every subsite to use that same master page. I found that when I enable Publishing ...
6
votes
5answers
29k views

How to create a WSP solution package with visual studio 2012 for an existing SharePoint site?

My manager told me: "We don't create a WSP package for an entire existing SharePoint site, we just need to package master pages, CSS, images and page layout files into a solution package." Is it ...
5
votes
3answers
537 views

Is there any alternative UI for sharepoint Ribbon Control to minimise height?

Sharepoint Ribbon bar is occupying more height space in our application and the business users want this to be avoided somehow. Can anyone suggest any other alternative UI to minimise the Ribbon ...
5
votes
4answers
3k views

Tips for starting SharePoint development

I'm going to start developing SharePoint applications and I'm looking for some good introductory resources (articles, videos, books, dev tools, tips). I'm comfortable with C# and ASP.NET development, ...
4
votes
1answer
2k views

SharePoint RTE: How to attach to mousedown events (like bold, italic does)

When clicking on bold text in the RTE (rich text editor), magically the ribbon button for bold: get's activated. The same happens for the other format option buttons you can see on the screenshot. I ...
3
votes
3answers
2k views

Blog Read More Link and Summary of Body

I created a blog that uses the standard sharepoint 2010 blog site template. However as it currently stands the default.aspx page shows the entire blog article. I would like it to only show the first x ...
2
votes
3answers
4k views

How to get value of List Filter web part in Javascript?

I use the SharePoint List Filter web part on a page to control several Data View Web Parts. How do I read the current value of the List Filter in Javascript?
2
votes
2answers
2k views

Search issue with People Picker when limited to select from one group only

Some of you might have noticed that when you limit a people picker to select users only from one group, the search in the browse-user-dialog (or whatever it's called) won't work anymore. This is ...
2
votes
3answers
11k views

Custom Content Type for Calendar?

I have a calender list in my Sharepoint 2010 application. I want to make custom content types that the user can fill out that will make a calendar event. The problem is, if I inherit from the Event ...
1
vote
2answers
5k views

Get all Users with Info(LoginName,Id,Email,Title) in SharePoint 2010 Client Object Model C#

I have gone through this link : http://msdn.microsoft.com/en-us/library/office/ee538244(v=office.14).aspx But through this I am only able to get user details which are in groups. I am not able to get ...
11
votes
3answers
11k views

ListInstance with predefined data, prevent adding records to list with same name on deployment

I have a feature which on activation has to create a list called Scanners. Only one column from the list (Title) is actually used in my app. The list needs to be pre-populated with some values. To ...
7
votes
3answers
12k views

Best method to create custom NewForm / EditForm

I am new to sharepoint development and need to create some custom NewForm/EditForms for a new custom list I am creating. It seems like I have two choices: ...
5
votes
4answers
7k views

Did my workflow run on item changed or item creation?

Is there any way of identifying if my SPD (2010) workflow was initiated by item creation or by item modification? I don't want to split the workflow into two as 99% of the workflows would be ...
3
votes
3answers
9k views

Best practice SharePoint 2010 with SP1 and IE11, compatibility mode on or off?

I am using sharepoint 2010 with SP1. We would like to push on all our workstations IE11. But we don't know if we turn for the sharepoint sites compatibility mode on or off. What is the best, on or off ...
3
votes
1answer
3k views

How to List Documents in a SharePoint 2010 Folder with REST

I'm trying to access an SPS 2010 document library that contains folders, which in turn contain documents. I can successfully list the content of the library and see all folders and root-level ...
3
votes
2answers
11k views

Add additional field to lookup field inside schema.xml

I'm following the steps in this article to setup a joined data view webpart joined on a lookup field: ...
3
votes
1answer
6k views

How can I exclude disabled users from my user profile synchronization?

I have my user profile synchronization setup and working but I have noticed that disabled users who no longer work for my company are showing up in the sync. I would like to update the sync so that ...
3
votes
1answer
1k views

SharePoint 2010: Set a fixed upload location

When using Announcements or Discussion forms it's possible to upload a document when entering data into the body field. (The editing tools are available and when clicking on the insert tab the Upload ...
3
votes
5answers
6k views

Possible to save a list template and maintain lookup relationships?

My issue is that I have two lists that I would like to move with their data. While I am able to save both as templates and then upload to the new site, none of the lookup columns in my parent table ...
2
votes
2answers
610 views

ListData.svc and Task Approval

How can I approve a workflow task using the ListData.svc? I am attempting to just set the value of ApprovalValue to "Approved" but this is not working at all. Any help you can give will probably save ...
2
votes
1answer
105 views

Resources are deleted during solution retraction

I have a solution deployed in several web applications. If I retract it from one of them, resources from the /wpresources/ folder will be deleted, although there are web applications that still need ...
2
votes
2answers
4k views

Inserting Lookup columns into Data View Web part displays as XML

I am trying to configure a Data View web part in SP Designer 2010. I am connecting it to a list called Data Returns. Data Returns includes a mixture of Fields, some text, some choice, some lookup. ...
1
vote
1answer
43 views

How to complete un install custom Sharepoint farm solution?

What is the correct way to uninstall custom farm features and farm solutions? Does installing a farm solution add any DLLs to GAC?
0
votes
1answer
1k views

How to edit xslt for thumbnail view of Asset Library.?

I have added an XsltListViewWebPart which refers to the Asset Library in the site. I have given reference of AssetPick.xslt for thumbnail view for that web part. I want to put the Title in place of ...
0
votes
1answer
2k views

Showing the tab on button click

Basically my questiong is regarding the ribbon. So I want to have the following behaviour, when a person clicks on the button, the contextual ribbon tab should be opened. Any idea how to do that? I ...
0
votes
2answers
8k views

Stop inheriting permissions programatically

I want to set read permissions to some sharepoint groups to a list. For existing sites I did it manually, Stop Inherit permissions. Then on groups I chose the groups and edited their permissions, ...
5
votes
2answers
4k views

Is there a SharePoint 2010 virtual machine?

Is there a downloadable, ready to use, virtual machine with sharepoint 2010 and all prerequisites already installed? I just googled it but apparently it does not exist. I just want a quick way to ...
5
votes
1answer
3k views

more than one attachment field

We are planning to retire one of our old fashion tools and currently evaluating Sharepoint 2010. in our current tool, we have 3 different attachment sections two of which are visible to customer, and ...
4
votes
3answers
102 views

Is it a hindrance to have a workflow wait for a long period of time?

I have a request for notifications to be sent out 6 months, 3 months, and 1 month before an event occurs on a SharePoint calendar. I was looking into this issue and every one seems to be saying to ...
4
votes
1answer
7k views

Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object

i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error. i have check on ULS Viewer. error ...
3
votes
1answer
7k views

InfoPath form: How to redirect to the previous page after pressing on the submit button?

I am using SharePoint 2010 Online (Office 365). I have created a form in InfoPath for an external list. You see some fields and a submit button. When I press on the submit button everything is ...
3
votes
1answer
2k views

Need to remove 'New!' icon for new items added in Document Library

In our organization 'New!' icon is creating some confusion. Is it possible to remove the icon for some specific libraries only?
3
votes
2answers
2k views

Exception “The SPListItem being updated was not retrieved with all taxonomy fields.” at changing TaxonomyField value

This problem appears only on one particular Document Library. I use TaxonomyField.SetFieldValue(myItem, myTaxonomyFieldValue); and it works fine everywhere except this lib. Can anyone suggest a ...
3
votes
1answer
723 views

User profile synchronization for User profile properties

IN SP2010, I have added 3 new User profile properties by Central Admin of type boolean, datetime and string.Then I added data for the user in the profile for these new properties. I ran the "User ...
3
votes
6answers
11k views

Infopath Button missing in Ribbon for List

I am trying to follow some tutorials for customizing a list with InfoPath 2010. However, when I click on a list it appears I am missing the InfoPath button. I do have Infopath 2010 installed and can ...
3
votes
4answers
11k views

How to get list by url using client object model?

Is it possible to get list by url using ECMA script client model? For example something like this: context.get_web().get_lists().getByUrl("Lists/MyList"); UPD!: Please, refer to this correct ...