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

learn more… | top users | synonyms (1)

33
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 ...
30
votes
3answers
30k 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) ...
38
votes
1answer
17k views

CSOM vs JSOM vs SSOM vs REST

There does not seem to be any clear explanation of the different hosting types and technology abbreviations, so I decided to make a community post about the different types. Perhaps there will never ...
10
votes
4answers
25k 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 ...
0
votes
1answer
320 views

Can anyone color code a column with an if statement?

Here is what I am trying to do. I have a SharePoint 2010 list that I want to color code dates based on that it expires 364 days after the date entered. Example: If the date is older then 334 ...
41
votes
7answers
26k 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
3answers
16k 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 ?
10
votes
2answers
12k 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 ...
9
votes
2answers
52k views

I need to create an auto-generated email when items in a Sharepoint list are created or updated

I'm pretty inexperienced with Sharepoint design, but have taken on the task of creating a basic issue tracker for a project. The idea is when testers find an issue, they will log it into the ...
10
votes
5answers
35k 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() { ...
9
votes
5answers
29k 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?
11
votes
4answers
10k views

How to log off user from SharePoint site, if the user has been inactive for 20 minutes

How to log off the SharePoint site, if the user is has been inactive for for 20 minutes? Do I need to redirect user to logout page? How would I count the idle time?
4
votes
1answer
259 views

enforce “reset all subsites to inherit this site master page” using CSOM

I am able to change the master page using the below code var web = ctx.Web; var masterPageUrl = String.Format( "{0}/_catalogs/masterpage/filename.master", ctx.Web.ServerRelativeUrl ); web....
3
votes
3answers
35k views

Need a different views for Folders & Files in Document Library

I need a different views for Folders & Files in a Document Library. I want Folders to have different columns & Files in the folders to have different columns. Is this possible?
3
votes
3answers
8k 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 ...
4
votes
1answer
111 views

Differing ways to make executeQueryAsync calls (Function.createDelegate)

I want some understanding on two programming patterns I've seen and when to employ them. The question is about callbacks and delegate. In the first code there are two distinct functions, success ...
3
votes
5answers
8k 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 ...
27
votes
1answer
25k 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
6k 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 ...
7
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 ...
10
votes
2answers
8k 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?
8
votes
2answers
32k views

Powershell script to find permissions for a specific user

what am i doing wrong user.ps1 $user = "sp2010\systemsacct" $site = $gc | Get-SPSite sp2010 $site | Get-SPWeb -Limit All | Get-SPUserEffectivePermissions $user Out-GridView -Title "Web ...
8
votes
3answers
22k 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
3k 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
3k 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 ...
2
votes
2answers
6k views

Dropdown lookup column in Sharepoint list form (newform.aspx)

I have a dropdown lookup field in newform.aspx form. Unlike choice dropdown the lookup dropdown is input field and not select So I raise an onchange event using jWuery $(document).ready(function() { ...
7
votes
1answer
9k views

Remove a single user from all site collections in a web application using powershell

Is there a way I can choose to remove a single user from all site collections within a single web application using powershell. There are number of user profiles whose domain account has been blocked ...
2
votes
6answers
7k 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 ...
2
votes
4answers
27k 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. ...
1
vote
3answers
3k views

Copy document from one site to another..?

,I need to build something (using a sandboxed solution?) to demonstrate that SharePoint has the ability for users to copy a document (with its attributes) from a doc library in one site to a doc ...
1
vote
1answer
232 views

XSL Handle on PercentComplete column

In my sharepoint task list there is a field with a display name of % Completed with a name of PercentCompleted. I am trying to get an XSL handle on this column so I can add a css class. I have put ...
1
vote
1answer
2k 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 ...
4
votes
3answers
7k views

SharePoint 2010 Standard and Forms

We have a Standard Server License of SharePoint 2010 and we want to develop Infopath form. I need a tutorial or directions in bullet points as to what should I do to achieve this. I've heard in ...
3
votes
4answers
54k views

Excel document opening in browser (unsupported features)

I am using Sharepoint 2010 and when users click on an .xlsx document in a document library it says the following: "The workbook cannot be opened because it contains the following features that ...
2
votes
2answers
26k views

Tracking and reporting in sharepoint 2010 ? user accessing what kind of data ?

I want to track How many times a particular user has accessed what document in document library?and i need to show this in a report format. Also, i need to check what are links being accessed in the ...
1
vote
2answers
6k views

Farm Solution Vs. SandBox

I have developed a portal and we have integrated with Oracle E-Business Suite. In this project we have complex form requirements so I developed custom aspx forms mainly master-detail forms and lots of ...
1
vote
4answers
3k 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 couldn'...
0
votes
1answer
3k 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 ...
19
votes
5answers
38k 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 ...
17
votes
9answers
58k 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 ...
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" Localizable="false"></SharePoint:...
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
51k 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
2answers
19k views

How to show additional fields within the Content Query Web Part

I'm trying to use the Content Query Web Part to display all the tasks within a site collection, I've attached images of the Web Part properties and final output below. I'm looking for information on ...
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 ...