Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [2010]

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

8
votes
1answer
4k views

Differing ways to make executeQueryAsync calls - Function.createDelegate (is old IE8 code)

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 ...
41
votes
8answers
3k 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 ...
4
votes
1answer
7k views

Import/Copy/Paste Data from Excel into Existing SharePoint List

How can I import data from Excel into an existing Task List (or other list) for the various column types using the Datasheet View?
17
votes
2answers
134k 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 ...
61
votes
1answer
33k 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 ...
42
votes
3answers
36k 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) ...
12
votes
4answers
33k 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 ...
53
votes
7answers
29k 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" ...
13
votes
2answers
19k 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 ...
10
votes
3answers
22k 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 ?
4
votes
3answers
57k 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?
6
votes
5answers
11k 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
3answers
6k 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 ...
2
votes
1answer
931 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 ...
16
votes
5answers
50k 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() { ...
15
votes
5answers
36k 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?
6
votes
3answers
5k views

Query multiple lists using javascript/CSOM

I'm about to query multiple lists using JavaScript (JSOM, SharePoint 2010). It's working when querying one list in a time, but that's annoying when I'm having lots of lists. Working example: ...
16
votes
4answers
14k views

How do we activate auditing in SharePoint Foundation 2010?

We are trying to set up SharePoint auditing to audit reading of list items and are having problems finding how to turn it on. Is this supported in the Foundation version? If so how do we activate it?
7
votes
3answers
712 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 ...
14
votes
2answers
50k 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 ...
6
votes
1answer
1k 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
6k 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?
4
votes
3answers
9k 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
5answers
10k 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 ...
35
votes
1answer
31k 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 ...
38
votes
11answers
106k 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 ...
20
votes
3answers
39k views

How to get all items in a View using Client Object Model (JavaScript)

To get all the items in a List you use // Setup context & load web context = new SP.ClientContext.get_current(); web = context.get_web(); context.load(web); // Load task list this.List = web....
12
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 ...
17
votes
2answers
14k 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
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 ...
4
votes
1answer
17k 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:...
10
votes
3answers
26k 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
1answer
18k 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 ...
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 ...
1
vote
3answers
2k views

Count not updating in calculated column

I am getting number of days between Created & Now in SharePoint 2010 list using calculated column by below mentioned formula. =IF(ISERROR(DATEDIF(NOW(),Created,"d")),DATEDIF(Created,NOW(),"d")) ...
9
votes
4answers
10k views

How can I filter based on Choice fields when using ListData.svc in SharePoint 2010?

I have a list that I'm trying to query using ListData.svc. I am trying to pull back records within a date range and with a particular value from a Choice field checked. If I use Lists.asmx, I can ...
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
7k 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() { ...
10
votes
1answer
12k 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 ...
6
votes
4answers
44k 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. ...
3
votes
3answers
2k views

List set for anonymous but public cannot view

I have 2 lists, one allows anonymous access but the other does not. Here are the details of what I setup and what I've checked to resolve this (they should both Illow anonymous access). Each list has ...
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 ...
1
vote
1answer
586 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 ...
0
votes
2answers
9k 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, ...
4
votes
1answer
6k views

“Show filter choices” link instead of actual values in a list column filter

I have created an standard list with a few simple text columns. Why can I not see the normal filter values of all columns? Instead it shows a new "Show Filter choices" link (pic 1) which when ...
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 ...
2
votes
2answers
5k views

Deleted item still showing up in search results if only doing Incremental Crawls

I'm trying to set up a Sharepoint search service using a Content Source based on an external BCS data source. In the BDC model, I implemented the operations I needed, adding a SpecificFinder, an ...
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'...
1
vote
2answers
7k 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
1answer
4k views

People Picker Lookup Column

I have two different list. In the first list are some people picker columns. Is it possible to create a lookup column for list 2 to add the user from the first list? I know it isn't supported in ...