For questions completely specific to all editions of SharePoint 2013 and **not past or future versions**

learn more… | top users | synonyms (1)

8
votes
2answers
12k views

SharePoint Server 2013 Prerequisites installer on Win Server 2012 R2

I'm trying to install the Prerequisites by running the prerequisiteinstaller.exe but i'm stuck at this Application Server Role, Web Server (IIS) Role: configuration error I have tried the ...
8
votes
5answers
12k views

Site collection locked & stucked in read only mode

I do have a SharePoint (2013) site collection that is stuck in read only mode due to a backup that was either interrupted or didn't terminated properly. I'm unable to unlock from : Site Quotas and ...
8
votes
4answers
21k views

How do I fix a degraded SharePoint 2013 index partition when there is only one of them?

We have a test environment that is no longer able to successfully crawl content. The crawl logs show successful URLs, but I can't search for that content. It has worked in the past, but stopped ...
8
votes
1answer
429 views

What does this code getQueryStringParameter do?

I would like to know what this code does? I am using it almost all the time but I don't know what it does. function getQueryStringParameter(paramToRetrieve) { var params = ...
8
votes
2answers
13k views

Where can I find the page layouts in the 15 hive?

I would like to take a look at the default search centers page layout file of Sharepoint in the 15 hive. Anyone have any idea where it is located or how I can find it?
8
votes
4answers
687 views

Should we create large number of folders within a list?

For a list having 50K item it is more convenient for user to create folders to segregate list items logically. But if we consider performance, is it recommended to create large number folders of ...
8
votes
7answers
3k views

Remote Event Receiver on updated will be fired multiple time

If someone ever had a similar experience, i'm trying to update word document in the document library and the problem is that my ItemUpdated is triggered multiple times. I think that last ...
8
votes
2answers
3k views

What is the correct way to block all HTTP Headers (ASP.Net and SharePoint) from a particular web application extension?

I have been involved in two projects recently which have required the removal of all HTTP Headers which can identify the site as either an ASP.Net site or as a SharePoint site. This is normally as a ...
8
votes
5answers
19k views

Sharepoint 2013 Distributed Cache cacheHostInfo null

I have setup a development environment for SharePoint 2013 so we can begin testing our 2010 content, however I am running into trouble starting the Distributed Cache service. Note that this is ...
8
votes
2answers
505 views

AAM with SearchCentre on it's own Web App

Firstly I am looking for an OOTB way on premises for SP2013 - I can do this by hacking around with additional headers. The purpose is to have multiple web apps using AAM all have a single global ...
8
votes
1answer
4k views

User Profile Service will not Start

When I provision the User Profile Service it will not start. I started with a clean install of SharePoint 2013 (Build Version: 15.0.4420.1017) on Windows Server 2012. Initially I used PowerShell to ...
8
votes
3answers
2k views

Get list item “Likes” using JSOM or REST API's?

How can you retrieve a list items "Likes" using the JSOM or REST API's? I know there is the following method: SP.Social.SocialFeedManager.getAllLikers(postId), but in testing I was not successful ...
8
votes
1answer
609 views

Unable to save audience in navigation link

I'm trying to create a search navigation (Site Settings -> Search -> Search Settings -> Configure Seach Navigation) which is only visible to a specific set of users (audience). Unfortunately I can ...
8
votes
4answers
4k views

SharePoint 2013 Full Crawl never stops

I have set the following inside the content sources: Incremental crawl to be every 20 minutes Full crawl: At 1:00 every day. When I first set this it was working well, the incremental crawl take ...
8
votes
0answers
144 views

ProjectPolicy.SavePolicy() : server side giving error : The collection cannot be modified

trying to modify ProjectPolicy Properties server side giving me error , List<ProjectPolicy> availPolicies = ProjectPolicy.GetProjectPolicies(web); ProjectPolicy policy = ...
8
votes
1answer
147 views

Initiate workflow on SharePoint 2013 when initiator is granted access only through Active Directory group

Has anyone successfully achieved the following: Using SharePoint 2013, in the browser, create a custom list or library Grant Full Access or Contribute access to this list or library for an Active ...
8
votes
1answer
308 views

SharePoint 2013 Foundation psconfig fails

I need your help regarding one weird issue. I have two 2012 Datacenter WinServers acting like WFE & APP and one separate 2012 SQL Server for databases with instance, alias, properly enabled TCP/IP ...
8
votes
0answers
992 views

The UPDATE permission was denied on the object 'AllListsAux', database 'spContent', schema 'dbo'

Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID: S-1-5-17 ImpersonationLevel: Impersonation' in database 'spContent' on SQL Server instance '###' The UPDATE permission was ...
8
votes
0answers
401 views

Page Layout html page field filter outside of web part zone

I have a page layout with some web parts outside of a webpart zone so that they are added to already created pages which use the page layout. I want to add a page field filter to the page as well and ...
7
votes
5answers
10k views

Sharepoint 2013 JS Link return default field rendering

I got a very strange problem. I need to return default rendering for UserField (PeoplePicker) for some SP users with current user, and show read-only field with current user for others. In other ...
7
votes
5answers
84 views

How can I be logged in in parallel with different user profiles for testing, what users with certain permissions can see in a SharePoint site?

When defining permissions in a SharePoint 2013 site or library I'd often wish to easily test what a users with (only) those permissions can see on this site. So I think I'll have to create some test ...
7
votes
3answers
4k views

“SharePoint is not a database!” article of 2009 - does it still apply for SP 2010 and 2013?

I'm talking about this blog post by Chris Woodill. He mentions the following advantages of modeling data via SQL programming instead of SharePoint's lists: Primary And foreign keys: one of the most ...
7
votes
3answers
15k views

REST API filter by start and end dates using 'today'

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
7
votes
3answers
10k views

SharePoint 2013 - Change URL of document library

I created a Document Library called Resource Documents. Would it be possible for us to set a friendly URL on this library so that files may be read with the following URL pattern... ...
7
votes
4answers
12k views

REST with $filter for List Items in Sharepoint 2013

Sharepoint 2013, REST API, native C++ application: I want to get all Folder items from the list. Try /_api/Web/Lists(guid'GUID')/Items?$filter=FileSystemObjectType+eq+1 and get HTTP 400 Bed ...
7
votes
2answers
4k views

REST API OData Filter on Boolean not Working

When I perform a REST query to the following URL: _api/web/lists/getbytitle('BtProjects')/items?$filter=Active eq true I receive only the one item that has this field marked as false. I get the same ...
7
votes
1answer
7k views

Query Builder for Result Source not working in Central Admin

I'm trying out Result Sources at the Search Service Application level (i.e. within Central Admin). When I create a new source I can click the link to Launch Query Builder, but the Search Result ...
7
votes
3answers
15k views

How to hide recent in the navigation

In SP2013 you have the recent entry in the navigation. Is there an easy way to automatically hide/remove this entry?
7
votes
2answers
17k views

Can I use SharePoint Designer 2013 to edit SharePoint 2010 sites?

Can I use SharePoint Designer 2013 to edit SharePoint 2010 sites? Couldn't find this info in the web.
7
votes
3answers
569 views

How to Set Item Level Permission Using SharePoint Designer 2013 Work Flow?

Currently i'm trying to create a workflow in SharePoint 2013 workflow platform that sets item level permission, trying to set read item level permission to "XYZ" group in SharePoint 2013 workflow ...
7
votes
4answers
34k views

Office files won't open in SharePoint 2013

I have a strange issue where no office files will open within SharePoint 2013. When I click on any word, excel, powerpoint file I get "the webpage cannot be displayed" and there is some text added ...
7
votes
3answers
1k views

XSLT or JSLink (which one to use?)

If I have the option of using XSLT or JSLink, which one shall I chose? I don't know anything about JS Link and so far I have done all work in XSLT but I have heard JS Link is the future as there ...
7
votes
2answers
256 views

Performing a search that is not security trimmed

I'm trying to documents of a certain content type that has a certain tagging (the documents are spread over several site collection). To get some performance I'm trying to do it with a KeywordQuery. ...
7
votes
2answers
5k views

Create multiple items via REST API

I'm looking to bulk create items to decrease the amount of calls being made in my application. In this instance, I'm working on a calendar control that has different needs than what SharePoint OOTB ...
7
votes
4answers
5k views

How to run javascript code only when list item gets deleted?

ANSWERED! See bottom of original question for the working answer. I'm trying to find out how I can run a piece of JavaScript code the moment a list item gets deleted. So it should be some sort of ...
7
votes
2answers
6k views

SharePoint 2013 and anonymous access problem

We run into following problem: We have application, that makes authenticated calls to sharepoint 2013 REST services (PUT and GET). Everything works well, when anonymous access is turned off. But we ...
7
votes
2answers
9k views

compatibility range mismatch between the Web server and database “WSS_Content”,

Follwing is my code which uses RunWithElevatedPrivileges in a visual web part SPServiceContext serverContext = SPServiceContext.GetContext(currentSite); UserProfileManager profileManager = new ...
7
votes
4answers
138 views

Generate Report Based on View of List Data

I have data in a list. One of the views has the data grouped by a column, so I have it looking the way I want. Requirements for the report: Have a front page with the name of the report, date, etc. ...
7
votes
2answers
897 views

Excel files always open in browser

On our Intranet I have activated the site collection feature "Open Documents in Client Applications by Default". On the Document libraries I have also set the *Default open behavior for ...
7
votes
1answer
9k views

C# CSOM Create Folders in Lists programmatically

I am trying to programmatically (C# CSOM)create folders inside a custom List inside one of my SharePoint 2013 Online site.I have tried 2 code solutions , but both of them are behaving in a weird ...
7
votes
3answers
5k views

Problem with SP2013 solution scope: WebApplication vs GAC

I have a SP2013 solution that contains a custom WCF service, custom Timer Job and a Feature Event Reciever. Because of these the solution Assembly Deploying Target is set to GlobalAssemblyCache. The ...
7
votes
1answer
15k views

'The Windows PowerShell snap-in'Microsoft.SharePoint.PowerShell is not installed on this machine' on SP Server

I made a fresh SP 2013 installation on win 2008 R2 SP1. When access SP Mgmt Shell, I am getting the following error - "Add-PSSnapin : The Windows PowerShell snap-in'Microsoft.SharePoint.PowerShell' is ...
7
votes
2answers
5k views

SharePoint 2013 email templates

I have a SharePoint 2013 instance that I would like to modify the default email template. I want to put my company's logo as a header and the company contact info as a footer on every email that is ...
7
votes
3answers
221 views

Isolated (per page) App Part communication

Many of you may know this blog post which explains how to communicate between app parts (from the same provider). Unfortunately the post only describes how to communicate between "all app parts of ...
7
votes
1answer
961 views

Increase Limit of 3 Mentions per Post

Using SharePoint 2013 social features/mysite. Just realized that there is a limit of 3 mentions (@ tags) per post in the microblog list for SharePoint 2013. Does anyone know of a way to increase that ...
7
votes
2answers
484 views

SharePoint App VS Object Model

For designing solutions I am confused with whole Apps concept in 2013. What is Microsoft's guidance for when to use a SharePoint app and when to go for a traditional client or server object model ...
7
votes
2answers
2k views

Variations: Propagate Lists Programmatically

I have defined variations with two Labels (source and target) I have selected "Publishing Sites and List with variations and all pages" in one of the settings. The pages are created in the target ...
7
votes
2answers
2k views

Anonymous access: Add an Item to List without allowing to View the List

I'm creating a 'Contact Us' webpart with form to allow anonymous user to send a message which will be added to a SharePoint List. However I cannot grant the anonymous user the permission to Add ...
7
votes
1answer
2k views

How to single click hyperlink in Visio Web Access Webpart to go to the url

We are displaying a Visio 2013 document (.vsdx) in a Visio Web Access webpart on a SharePoint 2013 page. The hyperlinks in the Visio file now reqire that the user click both Ctrl+Click to navigate to ...
7
votes
2answers
8k views

Error occurred in deployment step Install App for SharePoint 2013

I got this error while trying to deploy an App in SharePoint 2013. The full error message is Error occurred in deployment step 'Install App for SharePoint': Failed to install App for SharePoint