Stack Exchange Network

Stack Exchange network consists of 175 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 [2013]

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

39
votes
7answers
91k views

How to use Today and Me in Calculated column

I want to use a combination of Today and Me in SharePoint 2013. I am trying it in Office 365 it gives me the below error Calculated columns cannot contain volatile functions like Today and Me. Can ...
18
votes
1answer
5k 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 = document.URL.split("?")[1]....
11
votes
5answers
7k views

Can I add a start workflow link to a column in a list view?

I would like to add a link directly to a start workflow page in a column so that users don't have to go through several clicks to start a workflow. The link needs to change based on the item ID for ...
61
votes
1answer
34k 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 ...
37
votes
2answers
84k views

How do I turn on SharePoint App store in SharePoint 2013

I am getting this message when I want to add a app: Sorry, apps are turned off. If you know who runs the server, tell them to enable apps.
25
votes
8answers
32k views

Client-Side Rendering/JS Link documentation?

Has there been any sort of documentation or anything like that released for SharePoint 2013 Client-Side Rendering/JS Link? Anthing unofficial? Any dates for when documentation might be released?
14
votes
7answers
32k views

Enforce Drag and Drop documents to apply metadata

We have implemented an issue management system in SharePoint 2013 which provisions a page for every issue added to a specific list. One of the Web Parts the automatically provisioned page contains ...
17
votes
6answers
33k 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 ...
27
votes
3answers
41k views

REST expand people column

I have a list with a people column called AssignedTo. I'm making a rest call: .../_api/web/Lists/GetByTitle('listname')/Items?$expand=AssignedTo&$select=*,AssignedTo/Title Which is successfully ...
18
votes
4answers
57k views

change the default tile size in Sharepoint 2013

Hello, I create an app using the Promoted Links in Sharepoint 2013. I chose to do this because the feature has the awesome hover effect and is easy to customize the image. The issue is that I have ...
12
votes
7answers
99k views

How do I move SharePoint Lists and Libraries to another Site Collection?

I'm in the process of upgrading/cleaning up a large Web Application with a lot of Site Collections. On a SharePoint Foundation 2013 env. I have found some questions about moving document libraries ...
5
votes
4answers
18k views

Customize newform save button - Save and redirect to another form

What is the best way to add redirect function into the save button on a newform in SharePoint 2013. When the user create a list item, he/she should be redirected to another form. Is it possible to ...
15
votes
4answers
57k views

Minimum real world system requirements for SharePoint 2013

I've checked the SharePoint requirements here: http://technet.microsoft.com/en-us/library/cc262485.aspx which are apparently the "minimum" requirements, but I've seen some blog posts claiming to have ...
1
vote
2answers
6k views

Content Type field on NewForm.aspx

I have a custom list and I am using content types to add items to the list. I am using OOTB forms for new and edit items. One field that I see on the EditForm.aspx is the one that I hope I get on the ...
7
votes
5answers
18k views

Checked null with dateTime in REST API SharePoint

I want to get all article pages which Article Date is not null. so I have try to do by this way. var ArticlePageContentTypeID = "...
34
votes
7answers
137k views

How can I learn the basics of SharePoint 2013 in a few days?

I have very little knowledge of SharePoint, and want to learn about SharePoint 2013. Most of the resources that I've found are either about what's new in 2013, or they have a bunch of links to ...
18
votes
3answers
24k views

JavaScript: How to reuse the “Working on it…” pop in

Sharepoint 2013: In have custom JavaScript code that makes Ajax calls. While loading I'd like to show Sharepoint's loading pop in: That is the one that greys out the underlying page and centers a ...
31
votes
6answers
81k 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 ...
6
votes
3answers
5k views

Mega Menu On Sharepoint 2013

I will like to know how to create a mega menu on sharepoint 2013 foundation. I have seen some tutorials on the internet but all of them deals with SP2010 only and these tutorials dont work for SP2013. ...
6
votes
2answers
16k views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
6
votes
2answers
3k views

Select All check-boxes in choice field on document library form using jquery

I have a document library form on which there are two multiple choice fields as shown in below image. Now when user select the option "Select All" in "Vertical" field all check-boxes in "Vertical" ...
2
votes
2answers
6k views

“Share with” e-mail invitations not being sent even though all other e-mails work in On-Premise SP 2013

We do not have on-premise SharePoint 2013 in production but the three dev farms that I have access to all have the same odd behavior. The majority of SMTP functions work correctly (adding to groups, ...
21
votes
4answers
8k views

Sharepoint Datepicker jumps to top in Chrome

I have an EditForm in which a Date field is located towards the bottom. When clicking the DatePicker button in Chrome, the form jumps to the top forcing the user to scroll to the bottom again. This is ...
19
votes
9answers
20k 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 ...
8
votes
4answers
19k views

Combine REST query “GetItems” action with OData $filter parameter

I'm able to call GetItems through REST by using an example by Erik C. Jordan. Now I'm trying to combine this with a simple OData $filter parameter. I have a REST query like this (jQuery on SharePoint ...
13
votes
5answers
15k 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 ...
11
votes
8answers
21k 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 ...
10
votes
3answers
13k 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 initializePeoplePicker(...
6
votes
2answers
16k views

Save site as template in SharePoint 2013

I have one SharePoint 2013 site, which I need to setup on another server. In 2010 there was an option to save site as template in site actions, which is not there in 2013. How can this be achieved? ...
5
votes
1answer
5k views

Update folder name using REST API

I am using REST to update folder name via sharepoint apps. My code as follows: executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + "/_api/SP.AppContextSite(@...
3
votes
2answers
9k views

REST API filter by month

I would like to filter a datetime field but I only want to filter MONTH var requestUri = "xxxx/getByTitle('Contact')/items?$select=CellPhone,mdate,ddate&$filter= Birthday ge '" + today + "'"; ...
9
votes
1answer
15k views

JSOM - get listitem by file URL

Task Short - Access item attribute from a picture library by picture url. Long - When editing a pagelayout and an image is added to the page, the image's description should be loaded. This is ...
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....
18
votes
3answers
37k 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: <...
11
votes
1answer
16k views

Difference Between Sequential Workflow & State machine workflow?

What is the difference between Sequential Workflow and Stater machine workflow? What context should I take account to when choosing one of them?
10
votes
3answers
4k views

Re-order SP2013 views

How do I re-order the views? E.g. "To be invoiced" to appear where "Current invoice" appears
10
votes
4answers
81k views

SharePoint 2013: “Find an Item” search box does not return results

We have 2 web applications, in one of the web application search is working properly and we are able to see search results from "Find an Item" box above the list name. However in the other web ...
6
votes
2answers
23k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
6
votes
1answer
11k views

Reading web part properties using JavaScript Object Model in SharePoint 2013

I am using the below code to read the properties of a web-part using JSOM. While i can read the properties of the web-parts that are there on the current web part page, I would like to know of a way ...
4
votes
2answers
2k views

Targeting specific list with Client-side rendering

I've read several walkthroughs on client-side rendering (CSR) and JSlink, and the methods to target only one list on a page instead of all lists. I understand that I can target using two things: ...
6
votes
4answers
2k views

Can force the “Title(linked to item with edit menu)” column inside my list view to reference to another URL

I am working on a custom list, and inside the list view i am showing the Title(linked to item with edit menu) column. currently when users click on this column they will be redirected to the item ...
4
votes
2answers
15k views

Removing Weekend Days From Calendar

I wish to edit my 2013 Calendar web part and remove Saturday and Sunday from showing if possible so it only shows the work days of the week. Any help would be very much appreciated as i dont know ...
4
votes
3answers
7k views

The search service is not able to connect to the machine that hosts the administration component

I have configured SharePoint Foundation 2013 farm and created Search Service Application through the Central Administration Configuration Wizard by deleting the previous created Search Service ...
4
votes
3answers
8k views

Calculated Column Formula how to replace Substitute

I need to grab everything after the last "-" (strings can have up to four "-") and if there is a space after the last "-" to not take the space. Examples: TEXT -(THIS VALUE) TEXT - TEXT -(SPACE)(...
2
votes
1answer
17k views

Display List View from Subsite on Parent Site

I've got a list setup on a HR subsite that keeps tracks of Scheduled Vacations for employees. I'd like a way to display a certain view from this list as a web part on the Parent of this site. I ...
15
votes
1answer
4k views

SP2013 & Responsive Design - How to do it right?

I'm a SharePoint developer and also skilled in web design. My current task is to implement a responsive design along with a branding in SharePoint 2013 environment Now I am in the situation to choose ...
12
votes
5answers
65k views

Is there a way to disable X-FRAME-OPTIONS response header, or at least modify it?

I want to embed my sharepoint 2013 pages in another document, but the X-FRAME-OPTIONS are set to SAMEORIGIN by default. Adding ALLOW-FROM url does not work when added to the web.config OR on specific ...
12
votes
1answer
7k 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 ...
9
votes
2answers
17k views

Launch SharePoint 2013 Workflow w/Javascript

Looking to launch a list workflow from script tied to a button on a form. I've been referencing this article, as well as the code from example 5, and even tried using SPServices, but have yet to come ...
36
votes
4answers
47k views

How to get List by Url using SharePoint 2013 CSOM

SharePoint 2013 CSOM API contains the following methods for accessing List object: ListCollection.GetById method - returns the list with the specified list identifier ListCollection.GetByTitle method ...