Questions tagged [2013]

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

Filter by
Sorted by
Tagged with
15
votes
3answers
2k views

How to access a custom field of a list using REST

I'm trying to get information from a list in a custom SPField called "My Field" with the internal name "MyField" using this JavaScript code: $.ajax({ url: "http://<URL>/_api/web/lists/...
14
votes
7answers
34k 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 ...
14
votes
3answers
19k 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 following:...
14
votes
1answer
7k views

Distinguish between approved and not approved items (REST api)

I don´t want to ask the same question here again. But to understand the origin of my question this could be helpful (https://stackoverflow.com/questions/26054246/sharepoint-2013-fetch-only-last-...
14
votes
2answers
10k views

(Solved) Start a Workflow of the Host-Web via SharePoint App and JSOM

The Last Update is the Solution I have got an App for SharePoint 2013, which needs to start a Workflow. This Workflow is in the HostWebContext, not in the AppContext. The List, the Workflow is ...
14
votes
2answers
3k views

SharePoint Designer Globally Reusable Workflow Upgrade and Maintenance

We have a SharePoint designer workflow, which is globally reusable and used in sub sites in a site collection. The workflow is associated with a content type. Now for the purpose of maintenance and ...
13
votes
6answers
19k views

Paging using REST/OData with SP 2013

I'm trying to do paging on a document library (also trying this on a list) with SP 2013 using REST/OData but I can't seem to get the skipping of items working. Here are some examples of URLs that I'm ...
13
votes
4answers
961 views

How to split a field value in SharePoint All Items list view

I have a SharePoint 2013 list that has a field named ProjectCode which contains multiple values separated by ; . Now in the all items list view , I want to split the value at ; and add a break line ...
13
votes
5answers
57k 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 ...
13
votes
7answers
102k 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 ...
13
votes
9answers
45k 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?
13
votes
1answer
10k views

How do I update a Hyperlink field using the REST API?

I have a SharePoint 2013 page that I want to make updates to a hyperlink field in a list. I'm calling the REST API using JavaScript + jQuery. My code (my hyperlink field is Timesheet_x0020_Page): ...
13
votes
5answers
68k 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 ...
13
votes
3answers
6k views

SharePoint 2013 Call the REST API from SharePoint hosted app

I've successfully deployed a SharePoint Hosted App to Office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...
13
votes
5answers
17k 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 ...
13
votes
3answers
19k views

Check users group membership via REST API using AD-Groups in SP-Groups

I am aware that similar questions have been asked around here but none of them answers the part of AD-Groups that are used inside of SP-Groups. I have several SP-Groups in my teamsite. I follow best ...
13
votes
4answers
10k views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
13
votes
5answers
39k views

Remove comma (thousands seperator) in number field without using calculated item

Is there a way to achieve this without adding a calculated item with this format = TEXT([Customer Number], "0") ?? I'm using sharepoint 2013.
13
votes
8answers
16k 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 ...
13
votes
1answer
804 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 ...
13
votes
1answer
2k views

SharePoint Enterprise Search - Error: OfficeSearch14HealthSession

Ever since I provisioned a dedicated Search & Indexing Server on a SP 2010 production environment , this nagging error occurs everyday as seen in the event viewer of the server:- Session "...
13
votes
2answers
4k 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
3answers
53k views

How can I change URL of existing list?

If I create a list with a name like Project Risks it gives it a url like: http://myhost/mysite/Lists/Project%20Risks/AllItems.aspx. If I customize the list and then decide I want it call Project ...
12
votes
4answers
18k views

SharePoint REST API call with more than 500 rows

I have an AJAX call querying the SharePoint REST API which will return more than 500 rows: $.ajax( { url: _spPageContextInfo.webAbsoluteUrl + "/_api/search/query?querytext='...
12
votes
2answers
30k 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?
12
votes
2answers
61k views

Add permission to all authenticated users

I have a Site Collection in our SharePoint online tenant. I wanted to give Read permission for everybody in our organization. so in Site Permissions I Clicked on Grant Permissions and typed NT ...
12
votes
2answers
9k 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?
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 ...
12
votes
5answers
20k views

Error occurred in deployment step 'Recycle IIS Application Pool': Object reference not set to an instance of an object

I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix this....
12
votes
4answers
8k views

Best practice for deploying Site Columns and Content Type

What is the best practice for creating a site column or content type in SharePoint 2013? Is it still recommended to use farm solutions? I was hoping we could do something with the new app model, but ...
12
votes
4answers
57k 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 ...
12
votes
2answers
11k 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 ...
12
votes
2answers
10k views

Wait for _spPageContextInfo to initialize

What is the fastest way to wait/check for _spPageContextInfo to be initialized? I use AdditionalPageHead so my scripts are loaded before _spPageContextInfo is set. Here are some alternatives, some I ...
12
votes
1answer
2k views

Why I should not perform a Restore-SPSite for a copy of a site collection on the same content database?

I have read these links which talks about using Backup-SPsite && Restore-SPSite:- link1 link2 and they both mentioned that restoring a copy of a site collection's back-up file file using ...
12
votes
2answers
20k views

Error occurred in deployment step 'Install app for SharePoint': Apps are disabled on this site

We have installed SharePoint Server 2013 on a Windows Server 2008 machine. In our development environment we have installed Visual Studio 2012 on a Windows 7 machine and have installed Office ...
12
votes
8answers
8k views

SharePoint 2013 Designer workflow error 401

I have created a designer workflow in SharePoint 2013 and i have published the workflow as a non system account (as required).But when i check the status of the workflow it say internal status ...
12
votes
1answer
595 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
1answer
423 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 search ...
12
votes
1answer
601 views

Invoking an ActivityAction in a SharePoint workflow

In a Visual Studio, SharePoint 2013 workflow, the "IF" Activity provided by Microsoft can take a condition and two activities as parameters: I want to write a custom activity that can similarly ...
12
votes
4answers
12k views

Subsite not inheriting master page from parent until manual intervention

I have a SharePoint 2013 publishing site collection that has a custom master page for look and feel. I created a site template (also a publishing site) that inherits the master page from the parent. ...
11
votes
4answers
37k views

Uncaught TypeError: Cannot read property 'get_current' of undefined

this one is weird I hope somebody can help me. I created a custom action for a callout on a document library. I added the javascript code in a code snippet webpart on top of the document library ...
11
votes
2answers
25k views

What is difference between listdata.svc and clients.svc in SharePoint?

What is difference between listdata.svc and clients.svc in SharePoint? Both are webservices and can be used to fetch list items.. I have read that any serverside object model or clientside object ...
11
votes
5answers
1k views

Where-Object in Powershell

I have site collections list http://rany1 http://Rany1/xxx I want to check if http://Rany1/xxx is exist using where-object instead of foreach if in power shell. I tried Get-SPsite | where {$_Url -...
11
votes
3answers
16k views

Sharepoint Designer 2013, XSLT List View Options ribbon option is not showing

So I'm wondering if this is a bug or not. I have an ordinary Wiki Page, also tried making an Article Page. Once this page is made, I add an XsltListViewWebPart that points to a list, which is fine, ...
11
votes
4answers
15k views

Show More by Default

I am using SharePoint 2013 and I have a custom contentype inherited from task. Because there are too many fields, by default there is a Show More option to show all the fields. Is there a way to ...
11
votes
5answers
3k views

Is it possible to package, deploy, and use my own image for a ribbon CustomAction in a SharePoint-hosted App for SharePoint 2013

I've been working on a SharePoint-hosted app for SharePoint 2013. In order to "extend the reach" of the app a bit, I've included a CustomAction that will add a button to each document library's ribbon ...
11
votes
2answers
17k views

Run any other javascript after the Display Templates have rendered the content

This is the issue: I create a ContentBySearchWebpart, specified with my custom Display templates.' I want to run some other javascript code, after the Display Templates have rendered the content ...
11
votes
2answers
2k views

What is the permission level for REST Query?

If I execute the REST Query using JavaScript and I am logged in to the SharePoint with Visitor privileges then will my code be able to query the administrative data like getting the column name and so ...
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 ...
11
votes
3answers
23k 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 ...