12
votes
6answers
36k views

How can I force SharePoint 2010 to open PDF's in the browser?

In SharePoint 2007, clicking on a PDF in a document library would open it within the browser. In SharePoint 2010, doing the same asks me to save the PDF. How can I force SharePoint 2010 to just open ...
12
votes
11answers
385 views

What are the regular checkups needed on a SharePoint installation?

What are the regular check ups that need to be done on a SharePoint installation to preemptively prevent any problems or at least detect them early? I can think of: Checking event logs Check ...
12
votes
6answers
2k views

Performance problem with custom web part

We've implemented a custom web part which we use to render content of an external website into a SharePoint page. During our test we encountered some strange performance issues. When we open a ...
12
votes
6answers
18k views

List API get all items limited to 100 rows

When doing a GET call to the List API from JavaScript: "/_api/web/lists/GetByTitle('ListName')/items" the results returned are limited to 100 rows. Is there any way to return more rows in the result, ...
12
votes
7answers
31k views

How to sync a SQL database with a SharePoint List?

I need to sync an already existing SQL Database to a SharePoint 2010 list. Two way sync would be great but one way sync is also alright. Any documentation in this regard would be of a great help. ...
12
votes
6answers
1k views

What's the Official Guidance on Installing SharePoint 2010 on Windows 7?

I would like to begin SharePoint 2010 development, and I'd prefer to do it on my Windows 7 Professional 64-bit desktop, or my Windows 7 Ultimate 64-bit laptop. Unfortunately, I haven't been able to ...
12
votes
9answers
14k views

Event Receiver Firing for all Lists - even when ListUrl is set

I have two custom list definitions - List 1 and List 2, both with different ID's for the Type in the elements.xml. List 1 is called 'List1' and the other is called 'List 2', note that the second list ...
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
4answers
359 views

Is there a recommended order in which to take the SharePoint 2010 exams?

Is there a preferred order in which to take the SharePoint exams? In which order did you take the exams? For example is it good to know the admin stuff before attempting the deployment parts of the ...
12
votes
3answers
19k views

Check if user is in a specified group

I would like to check with JavaScript if the current logged user is in a specified and specific group (for example called "Admins Group"). How can I do? Thanks
12
votes
3answers
17k views

How do I convert SPUser to SPFieldUser?

I have a field in a list that accepts an SPFieldUser object. I have an SPUser object that I would like to populate that field with, but I cannot implicitly convert from one to the other. How would I ...
12
votes
10answers
23k views

SPSite - The Web application at <address> could not be found

I'm trying to use SP 2010 site from a web application and when I create a new instance of SPSite I get this error: The Web application at could not be found. Verify that you have typed the URL ...
12
votes
9answers
44k views

How can I move a document from one directory to another?

How can I move a document into a sub-folder and still maintain its version history from the old location in the new location?
12
votes
3answers
26k views

Adding jQuery to master page

I am trying to customize a Sharepoint 2013 team site. I created a copy of seattle.master and set it as default master page via context menu. I added my custom CSS within head tages like so: <...
12
votes
5answers
59k views

Get current user in Client Object Model with javascript?

var ctx = new SP.ClientContext.get_current(); var web = ctx.get_web(); ctx.load(web); var user = web.get_currentUser(); alert(user); I used above code to get the current user using JavaScript, but I ...
12
votes
16answers
44k views

Infopath change Publish Location

Working with Infopath 2010 here and SP 2010. I've created my form and published it while in DEV. Now, I want to publish it to the Prod Location. Here's the issue and to me, quite strange. I can't ...
12
votes
4answers
3k views

How can I query for “AssignedTo = [ME]” using REST?

It is quite common to use "Assigned To = [Me]" in SharePoint views to list the tasks / items which are assigned to the current user. This of course includes both the items which are directly assigned ...
12
votes
5answers
15k views

Display the Sharepoint context menu in list items on another column instead of Title column?

In SharePoint Lists, we can define new View and select the columns that we want to show. I don't want to show the Title column but I also want to show the default Context Menu for the0 items on List. ...
12
votes
2answers
2k views

color code in SharePoint calendar

I have SharePoint calendar and I want the entries to be in color based on status. If user add one entry and status is initially pending then that task would be in green, later it get changed to in ...
12
votes
3answers
35k views

Sharepoint 2010 how to get all items in a folder contained in a list?

I have a list that contains folders. Using c# and object model, how can I see if the folder contains any items, or return a collection of all the items in that folder.
12
votes
2answers
2k views

When to use SPItem vs SPListItem

I am confused on when to use SPItem vs SPListItem—specifically when grabbing items from a document library. What are the benefits of each and downsides of each.
12
votes
3answers
5k views

Is there a way to see if an SPField was created by a user?

I have some code where I am going through all of the Fields that belong to a content type. I'm curious if there is a way to check to see if the SPField was created by a user or if it is a system ...
12
votes
3answers
913 views

What would cause a sharepoint publishing page to display a “Lorem ipsum”?

I've created a publishing page, placed a custom web part on in and published it. When I try to navigate to it I see this text instead of the content: Page Content field value. Lorem ipsum dolor ...
12
votes
3answers
882 views

Where else besides StackOverflow/SharePoint do we share knowledge?

Of these 25 I can find a handful here on StackOverlflow and only Marc Anderson is actively participating I am on ITunity, I read Waldek's blogs, I try and understand the PnP hub and follow Jeremy on ...
12
votes
6answers
16k views

Add “New document” button to home page

I have a fairly simple SharePoint subsite that has two elements: the home page a document library The document library has two content types associated with it. What I would like to do is add a ...
12
votes
5answers
16k views

How to delete the undeletable list

Somehow a developer has managed to royally screw up a site collection. The site collection has the Publishing Feature enabled and it's working fine. A botched migration from 2007 to 2010 has caused ...
12
votes
5answers
8k views

Add Document Library XsltListViewWebPart using CSOM or web services

How to add a document library XsltListViewWebPart (or list view web part) on page using CSOM with SP2013 when we do not want to use the in-built view with "Name, Modified, Modified By" fields? Custom ...
12
votes
4answers
8k views

How to save variables per user session per page

I am using three webparts. Webpart A creates a value when the user clicks on the button in Webpart A. WebPart B uses this value to create a list with items the user can select. WebPart C uses both ...
12
votes
4answers
26k views

How to Add Blank to choice field?

I added a choice field "IsMainframe". Business unit only want Blank and Yes. How do I incorporate blank in a choice field?
12
votes
4answers
16k views

Best Practice to check if a user exist

Am I missing something here? There should be a method to check if a user exist, which doesn't throw an error if it doesn't. EnsureUser() is not applicable, because that method creates a new user if it ...
12
votes
2answers
26k views

how do you say blank to sharepoint?

I want to create a view whereby it does not include any items which does not have the 'next review date' as blank, i.e. only includes items which have this field populated. How do I say blank to a ...
12
votes
1answer
3k views

Statistics on sharepoint use worldwide? [closed]

Does anyone know if there are any statistics out there for how many companies use SharePoint world wide? I did a quick search but couldn't find anything....
12
votes
1answer
2k views

SP2013 & Responsive Design - How to do it right?

I'm a SP developer and also skilled in webdesign. My current task is to implement a responsive design along with a branding in a SP 2013 environment Now I am in the situation to choose which one i ...
12
votes
7answers
9k views

How can I disable the Document Library drag and drop function?

Before I start - I'm new to this SharePoint development lark and am slowly familiarising myself with it. We're using SharePoint online and I have amended the SharePoint out-of-the-box document ...
12
votes
7answers
63k views

How to auto-populate a list column with a sequential number?

I am using a SharePoint list as a database for logging accidents/incidents at work. Each incident is assigned a number. As there are multiple people making use of this list, I'd really like the "...
12
votes
3answers
35k views

Listing all checked out files

As a site administrator I have to list all checked out files in the site collection. Looking at the DB is looks like the tp_CheckoutUserId field in AllUserData might be a key to this query. Is it ...
12
votes
6answers
4k views

Different SPList.Items.Count & SPList.ItemCount

A list on my site gives 2 when I call myList.ItemCount. But myList.Items.Count gives me zero and I can't access the items stored in the list. AllItems.aspx show me the two missing items. Any ideas?
12
votes
4answers
1k views

Renaming a Page Library

What is the proper way of renaming a page library from a site collection that has a different regional setting? e.g. Dutch, changing Paginas to Pages. Swedish/Norwegian from Sider and Sidor to Pages, ...
12
votes
1answer
1k views

What order to apply SharePoint 2010 Enterprise SP1 and June 2011 CU?

It's September 2011. We just installed SharePoint 2010 Enterprise RTM. Want to install SharePoint 2010 SP1. Do we need to install SharePoint Foundation SP1 first? And should we install June update ...
12
votes
2answers
2k views

Identify Current Authentication Method Being Used

I am working on a solution that needs to act slightly differently if the incoming request is NTLM vs. Kerberos vs. ADFS, etc. Does anyone have an example of how to determine the incoming ...
12
votes
6answers
22k views

How to set character limit for Multiple lines of text Column?

I have created a custom list with a Multiple line of text type column. When the user enters a value in this field in the "add new item" form, I do not want the user to enter more than 1000 characters. ...
12
votes
2answers
2k views

Cannot add custom web part to page using the JS OM

I'm trying to add a custom web part (that is one I have written myself) using the new Javascipt OM available with SharePoint 2010. My solution is also running within the Sandbox. I have it working ...
12
votes
1answer
1k views

Custom Timer Job does not Execute

I have a custom timer job that loads items into a generic list. The timer job is not executing. The timer job is deployed and the feature is activated. I can see the Timer job in the Job Definitions ...
12
votes
1answer
302 views

SharePoint 2013, o365 Exchange Online Task Sync

We use Office 365 for hosted exchange, and I have an on premises SharePoint 2013 farm, and I'm trying to find a way to sync tasks with Outlook. I have been researching for the past couple days and ...
12
votes
2answers
1k views

Why is my workflow DependencyProperty event handler not firing?

I have a custom workflow activity (SharePoint 2010) with a Dependency Property defined as follows: public static DependencyProperty TaskChangedEventPropertyEvent = DependencyProperty.Register("...
12
votes
2answers
482 views

Reoccuring Events in Calendar

I am trying to design a workflow which will create a task list based on calendar entries in a SharePoint calendar. When a new calendar event is created, a task is create with this. For single events ...
12
votes
1answer
307 views

Context Search box on MySite does not redirect to Search Center when Search Results WebPart is on the same page

I am facing a strange problem that is easy to reproduce with SharePoint 2013: Go to the MySite Add a search results webpart. Change the search result webpart to a static query Use the context ...
12
votes
2answers
2k views

The remote event receiver callout failed

I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error The remote event receiver callout failed The HTTP request is ...
12
votes
0answers
290 views

Save Calculated Column Formula in Language Localized notation using REST or JSOM?

[multiple blogs/posts out there noted the issue, no solution was ever published] What is required to save a Localized Calculated Column Formula using JSOM/REST? I am injecting the script below into ...
11
votes
5answers
48k views

Sharepoint Lists vs. Sharepoint Libraries

Fundamentally, what is the difference between the two? I'm in the really early stages of working out what's what with sharepoint and I can't seem to tell the difference between the two.

15 30 50 per page