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

learn more… | top users | synonyms

21
votes
8answers
2k views

An introduction to SharePoint 2010

I've been a member of Stack Overflow for a while and have this week been given a project of having a play around with SharePoint 2010 to see how it works basically, as we're looking to use it to ...
7
votes
3answers
14k views

Explain it to me: SharePoint deployment scope, solution and features

There are different levels of scope for deployment, but I have not been able to find a definitive explaination of when each applies and what the restrictions are that require loosening (or tightening) ...
7
votes
4answers
14k views

How to submit data from repeatable table in infopath form to a sharepoint list?

I have a infopath form created from a sharepoint list content type. In this form I need to add a repeatable table to send data to another sharepoint list. So when people submit this form the original ...
31
votes
6answers
18k views

How to update custom master page and page layout, which is already deployed

I have a feature which deploying custom page layout. It's done by this code: <Module Name="MasterPageModule" Url ="_catalogs/masterpage"> <File Path="MasterPageModule\defaultTemplate.aspx" ...
7
votes
2answers
4k views

Definitive answer to sending emails to SP Group from Workflow

I understand that there are some issues when you use SharePoint group in To/CC field in "Send Email" activity in a workflow designed using SharePoint 2010. I searched on internet for solution and I ...
4
votes
2answers
5k views

Newform.aspx in a dialog box

I have a button which redirect to newform.aspx . I want the newform.aspx to be opened in a dialog box . currently i cannot see this thing opening in a popup , hw to achieve this ?
3
votes
3answers
4k views

How to Submit an InfoPath Form to its Own Library?

Salvete! I have an InfoPath-based content-type. I also created a forms library in several subsites that each use this content-type. Now, I need to fix my InfoPath content-type form so that it gets ...
3
votes
3answers
5k views

Cannot add user to SP group, SP 2010

I investigated one day, that I can't add some specific user to any group of some specific collection, I can add them directly to list/library/page only. For example "Xavier Xovi" can't be member of ...
3
votes
4answers
5k views

How does internal email get to the SMTP client of a SharePoint server?

I am trying to configure incoming email to a SharePoint 2010 list on Windows Server 2008 R2 SP1. I am trying to avoid involvement with Exchange or Active Directory. When I try to email the list using ...
2
votes
2answers
552 views

Dispose in Client Object Model

Should objects be disposed when using the client object model? If so, which ones? There seems to be plenty of information on this for server side, but nothing from Microsoft specifically about ...
0
votes
2answers
471 views

Info Path 2010 read and update accdb with Sharepoint Online

I am new to Sharepoint and to Info Path, so I hope can correctly articulate my goal, here. I would like to use Info Path to distribute forms which read,update and delete records in an Access 2010 db ...
23
votes
1answer
13k views

Using SPContext.Current or using static URL

There are multiple ways to work in the SP object model. The starting point for instantiating objects looks different when you look at different developers. Many times I see people doing this: SPList ...
10
votes
3answers
5k views

Cross Site Collection Navigation

We are using SharePoint for our Intranet. We will have a site collection for the Intranet. Then a site collection for each department in the business. I.E. HR, IT, Finance. We are creating a custom ...
6
votes
1answer
2k views

Alert customization

I'm reading "How to create a custom e-mail alert handler in Microsoft Office SharePoint Server" right now and as follow the how-to-guide, I found out that every time you need to modify alerts you ...
5
votes
5answers
16k views

How to get current user with javascript?

I have a list . I want select items of list with a special quary.(get items that created with current user). Then get count of items. I use this code for get current user : function Initialize() { ...
8
votes
3answers
15k views

How to create custom email alert template in SharePoint 2010

There seems to be a widely popular blog post (here) about creating these. It's tailored to SharePoint 2007, but I've read through the entire article, and it makes sense. I've followed the directions, ...
5
votes
2answers
2k views

Logging document library downloads with HttpModule

I'm stuck with a problem here that leaves me stupefied. I am writing an HttpModule which examines the URL of all HTTP requests in order to log which users have downloaded each document in a document ...
7
votes
2answers
2k views

Error with /_layouts/assetportalbrowser.aspx

The AssetPortalBrowser.aspx page is throwing an error when rendering list or library content (screenshot and ULS output below). This happens regardless of the site opened from or the list/library you ...
6
votes
3answers
5k 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 ...
1
vote
1answer
756 views

Customizing MySite template

my current customer is rolling out SharePoint 2010 (yeah yeah, I know) and wants to know about MySite. They want to customize the MySite experience and are wondering if enabling the features now ...
1
vote
4answers
2k views

Problem re-installing SharePoint Server 2010

I have SharePoint Server 2010 trial version installed on a server. Recently, I installed updates for SharePoint and these updates caused problems in my web application and site collections. I ...
1
vote
2answers
1k views

View PDFs in web browser

When I go to view a PDF on the web, say a 1040 form at the IRS, when I open it it opens in my browser. When I open a PDF file from my sharepoint 2010 instance, however, it prompts me to download the ...
0
votes
4answers
4k views

newform.aspx and People Picker field - set current user as default?

This is for SP2010. Got a list. One of the fields is a "Person or Group" type, with the results limited to members of an SP group. I've created a copy of NewForm.aspx in SharePoint Designer, and am ...
0
votes
1answer
2k views

How To Create a Customized (yet still semi-basic) State Machine Workflow with Sharepoint Designer 2k10

How can I create a basic multi-step State Machine workflow without any custom coding from Visual Studio or customized Visio or InfoPath workflows within Sharepoint Foundations 2010 or Sharepoint ...
0
votes
2answers
3k views

Export-Spsite but exclude subsites

Is there are way to run the Export-SPSite command without exporting sub-sites? I just want to export the parent site from a web app, but there are about 120 sub-sites in the site collection that I ...
15
votes
4answers
22k views

Suddenly getting “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.”

This morning all the development machines at the company I work at, couldn't manage SharePoint through Powershell. We were all getting the annoying "The local farm is not accessible. Cmdlets with ...
7
votes
2answers
8k 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 ...
6
votes
2answers
5k 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 ...
7
votes
1answer
3k views

How to get a list of all Choice field options using Client Object Model

How would you get a list of all the possible choices from a choice field (e.g. Task list Priority or Status fields) using javascript client object model?
7
votes
4answers
8k 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
9k 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 ...
4
votes
1answer
3k 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 ...
5
votes
5answers
17k 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
465 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 ...
4
votes
3answers
12k 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 ...
4
votes
1answer
1k 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 ...
4
votes
4answers
2k 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, ...
3
votes
5answers
15k views

Editing property bag values using powershell

What is property bag in SharePoint 2010? How do I retrieve values from a property bag and get/set the values using powershell?
2
votes
1answer
5k 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 ...
2
votes
3answers
2k 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
1answer
8k 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" ...
2
votes
3answers
7k 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 ...
6
votes
3answers
8k 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: ...
2
votes
2answers
4k 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: ...
2
votes
1answer
3k 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 ...
2
votes
2answers
1k views

file upload in sharepoint sandboxed solution

I need help regarding file uploading in sandboxed solution. In a thread in this portal somebody gave the following link as a solution to this problem: ...
2
votes
4answers
11k views

Show only a subfolder of a document library in a web part

I want to show only a particular folder in the right pane of a page using a webpart in Sharepoint Foundation 2010. Is this possible? When adding the webpart, I could only add the document library. ...
2
votes
4answers
3k 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 ...
1
vote
4answers
4k views

Order of Server Shutdown and Restart in SharePoint Farm

We have a SharePoint 2010 Server farm with 2 WFEs and 2 APP Servers. Can you please suggest on the order of shutdown and the order of restart of the servers?
1
vote
1answer
3k 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. ...