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

learn more… | top users | synonyms (1)

3
votes
5answers
3k views

SP.ClientContext is always “undefined” in JSLink functions

I'm trying to execute CSOM functions as part of a JSLink extension to override rendering of a Lookup Field. Problem is every time I try to access SP.ClientContext it returns as undefined I have ...
3
votes
2answers
4k views

Rich text Editor (ribbon based) in a webpart in SharePoint 2013

My goal is to create a rich text editor for a textarea in my custom webpart in SharePoint 2013. The data is saved outside the SharePoint, so I can't really use a sharepoint list for that. I really ...
3
votes
1answer
272 views

Placing the search box in the header

I am working with a company that has supplied the branding I am using to create my master page. I have successfully imported and converted this with most of my content appearing in the <div ...
3
votes
3answers
932 views

Site collection creation cancelled partway - now I can't delete or use it

Unfortunately we had a situation where an IISRESET was performed by one user whilst another was creating a site collection - now the site collection can't be deleted. When I go to central ...
3
votes
2answers
684 views

Why do I have to use POST for REST queries?

I am trying to understand the logic with the SharePoint client.svc (_api) Web service. For some queries, for example List GetItems, or search queries, SharePoint requires the use of POST in ajax ...
3
votes
2answers
3k views

Best way to make a global navigation over multiple sitecollections

I'm searching for an easy way to make a navigation over multiple Site-Navigations: SC1 Home - SC1 Page1 - SC1 Page2 - SC1 Page3 SC2 Home - SC2 Page1 - SC2 Page2 I have tried the ...
3
votes
3answers
3k views

Powershell to view last login date for users?

I tried Googling this, but had no success. Is there a PowerShell script, or would it be possible to write one to show the last login date of each user into the SharePoint environment?
3
votes
1answer
3k 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 ...
3
votes
2answers
4k 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?
3
votes
2answers
415 views

Managed Metadata Navigation always redirecting to “start.aspx#null”

I'm trying to use Managed Metadata Navigation for cruising around my site. Right now I have a couple of team sites. In the target settings I set the navigation URL to: ...
3
votes
1answer
128 views

Does adding custom code to native SharePoint aspx files automatically result in an unsupported state?

I want to add some custom code to one of the native SharePoint's aspx files in the hive (14\TEMPLATE\LAYOUTS). Specifically, I wish to implement a Page_LoadComplete event that does some additional ...
3
votes
1answer
944 views

Get User by loginname using powershell

We have the following script that was running on sharepoint 2010 where we had clasic windows authentication. When we moved to SP 2013, the authentication was changed to Claims. The following code ...
3
votes
1answer
446 views

Is it possible to programmatically add a web part to a page in a sharepoint hosted app (JS)

I've been looking for a way to add a web part to a page using JSOM/CSOM or any other api available to sharepoint hosted apps. The only solutions I have found so far are for custom sharepoint ...
3
votes
2answers
222 views

Retrieve site collection quota and used storage from REST or JSOM

Is there a way to retrieve the amount of storage used and the quota limit for the Site Collection using the JSOM client or the REST web services?
3
votes
3answers
348 views

How to know SPUser.LoginName is System Account?

I am trying get the Modified By column value. And I want to check my PeoplePicker control contains the value same as the Modified By column value. I am stuck in the problem that Modified By ...
3
votes
3answers
334 views

can one use HTML5 tags in Sharepoint 2013 out-of-the-box

I want to know if i develop a visual web part, can i use html 5 tags in .ASCX file without adding any link to source or making changes to master page ?
3
votes
1answer
1k views

App Part iFrame width to 100%

I sucessfully created an App Part using a provider-hosted high trust App. The app uses bootstrap and has dynamic content to fit page size. The problem is that, when i publish the App/Web Part, the ...
3
votes
1answer
449 views

Unable to find Event Receiver template in Visual Studio 2012

This would probably be right under my nose but I am having a hard time finding it. I am trying to create an event receiver in Visual Studio 2012. From this video in YouTube I gather that in Visual ...
3
votes
1answer
652 views

Handling workflow errors

Environment: 2013 Enterprise, Workflow Server on WFE, SPD 2013 This seems like a pretty simple question coming from a programming background, but I just can't find any information on it. When ...
3
votes
1answer
528 views

Implementing a simple bug tracking tool inside my SharePoint 2013

We have implemented a SharePoint 2013 web application , which contains two site collection; one community site & team site. Currently we have a custom software ready for testing . so I was ...
3
votes
2answers
1k views

How to make datepicker readonly from javascript?

Is there any possibility to hide Sharepoint 2013 datepicker by some javascript API method call?
3
votes
4answers
6k views

Single Sign On between two web applications?

In my SharePoint 2013 Server farm I have two web applications: Simple intranet portal (http://portal) My Sites (http://portal:8080) Problem is that users have to authenticate to each application. ...
3
votes
5answers
2k views

How to remove the shared with or email to everyone buttons

Is there a way to hide the "Shared with ..." or at least the user-names and emailaddresses from specific user groups? I'd like to hide at least the users which have access to a SP2013 site from the ...
3
votes
2answers
3k views

Unable to STOP microsoft sharepoint foundation web application service

I have a multi server farm and i want to stop "microsoft sharepoint foundation web application service" in all the other servers except Web front end server. When i tried stopping this service it ...
3
votes
1answer
408 views

How SharePoint 2013 built-en ranking models works?

I want to understand how SharePoint 2013 built-en ranking models works. I tried to search it over web but I don't see any documentation that describe these models. Here is the list of ranking models ...
3
votes
2answers
787 views

Lowering Continuous Crawl time via PowerShell

I've been reading up on new SharePoint 2013 features, and continuous crawl plus the new Content Search Web Parts will do wonders for our SharePoint project. However, by default the Continuous Crawl is ...
3
votes
2answers
2k views

Fire JS function when people picker completes

Is there a way to trigger a JS function when a People picker completes and finds a user? I'm developing a SharePoint 2013 app using client side development pattern. Thanks for your suggestion Per, I ...
3
votes
2answers
442 views

calling click event on dynamic controls

What I have is fairly standard code for using JavaScript with SharePoint 2013. Inside the sharePointReady function, I have a few dynamic controls that are added to the page. The problem is that when ...
3
votes
5answers
436 views

SharePoint Server 15 Wish List [closed]

SharePoint Server 2010 is a fantastic product! However, I'm sure you have some great ideas for v.Next. What features do you believe could be improved for SharePoint 15? One topic per answer please ...
3
votes
1answer
49 views

Add font to drop down on SharePoint online

Is it possible to add a font like Arial to the list of available fonts when editing a wiki? we have SharePoint online so we don't have access to any back-end folders.
3
votes
1answer
35 views

What are the most frequently accessed sharepoint 2013 databases?

Is it safe to assume user profile service application databases and app management service application database are the most frequently accessed SP 2013 database. I also read that these are the only ...
3
votes
2answers
341 views

SharePoint 2013 get user groups by CSOM

I wrote some code to get the current user groups by CSOM. function getCurrentUser() { this.clientContext = new SP.ClientContext.get_current(); this.oWeb = clientContext.get_web(); ...
3
votes
2answers
139 views

Where to store data needed by a custom timer job?

I have a custom ribbon button in each document library and when a user clicks it, I'd like to store some library-related data (URL, id ...) in a way that would make it available to a custom timer job. ...
3
votes
2answers
1k views

Get the ID and Name from multiple Client side People pickers to store in a list

I have a form which contains 3 client side people pickers, i use the following JS to produce the People Pickers // Render and initialize the client-side People Picker function ...
3
votes
2answers
207 views

Retrieve list items created by user based on login credentials

I'm developing a SP2013 office 365 app using the Sharepoint hosted option so working with JS. I'm allowing users to create new records in a list and also displaying that list of records that are ...
3
votes
6answers
1k 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 ...
3
votes
3answers
234 views

How to share a document with everyone and have them immediately follow it?

we're very new to SP 2013 hence the basic question. We uploaded a small user guide for SP2013 and shared it with everyone. This means that anyone can download it, or the permissions are even greater ...
3
votes
3answers
135 views

How to get the state of the document whether it is locked or not in SP2013?

I have document library with workflow attached with it. There are metadata columns attached with the document library i.e. Test1 & Test2 I am modifying the value of the Test1 & Test2 in the ...
3
votes
2answers
1k views

Showing a modal dialog using html option in SP2013 seems broken

In SP2010 you could easily show a dialog using a DOM node with something like this: var test = "<div id='correspondence'>" + result + "</div>"; $('body').append(test); ...
3
votes
2answers
142 views

Sharepoint 2013 Dispose in linq

I'm wondering if this needs to be disposed or if it's a bad method to get the title of a web. var currentWebApp = SPContext.Current.Site.WebApplication; IEnumerable<SPSite> allTeamSites = ...
3
votes
2answers
43 views

What Solution (sandboxed and farm) should be select= Farm Solutions

What context, advantage and disadvantage should I be aware of in my mind when I gonna select farm or sandboxed solution?
3
votes
1answer
940 views

When a CQWP returns no results, zones are shifted

On my main landing page of SharePoint, I'm using a few CQWPs and the Blank Web Parts Page layout. One will show your upcoming tasks, one will show the projects you're a member or lead of, etc. I have ...
3
votes
1answer
667 views

Problem when migrating SP2010 solution with WCF service to SP2013

I have a VS2010 solution that has a few projects inside. One of them is a Sharepoint 2010 project that contains a WCF service generated from the CKS template. I needed to migrate this solution to ...
3
votes
1answer
1k views

When will be the developer certifications for SharePoint 2013 available?

Currently i'm doing my exams for the MCSE here: http://www.microsoft.com/learning/en/us/mcse-sharepoint-certification.aspx#fbid=EV6rgUyFq8c My question is: When will be the certifications ready for ...
3
votes
3answers
3k views

Can SharePoint 2013 apps run in SharePoint Foundation 2013?

I apologize in advance if this is a silly question, but I'm new to SharePoint, don't fully understand the concept of SharePoint apps and was asked to investigate this. I've been told that SharePoint ...
3
votes
1answer
44 views

SharePoint-Hosted Apps and Disaster Recovery

Microsoft's current emphasis is for us to "stay out of the GAC" and create Apps for SharePoint that clean up after themselves if uninstalled. I understand this and even agree with their suggestion ...
3
votes
1answer
190 views

SharePoint feature deployment and scope via PowerShell

We use SP2013 and PowerShell to deploy wsps. When installing the wsp via PowerShell: CASE 1: Add-SPSolution -LiteralPath $path install-spsolution -Identity $solution -GACDeployment Above ...
3
votes
1answer
95 views

Azure worker roles on premises equivalen or timer job for apps?

During the last weeks Microsoft release the AMS package with some videos from Vesa Juvonen and a lot of code samples with some good documentation. In one of those documents they try to map FTS ...
3
votes
2answers
412 views

“Sorry, this site hasn't been shared with you.” if using AD Security Groups directly

It's possible to use Sharepoint2013 by permitting a user directly on the site. I can either put it into a SharePoint group or give it the appropriate permissions directly. But if I add a AD security ...
3
votes
2answers
147 views

CSS (progid:dximagetransform.microsoft) not working after upgrading to SharePoint 2013

We are in process of upgrading from SP2010 to SP2013. There is a webpart with the foll. code:- <table> <tr> <td style="height:20px; FONT-SIZE: ...