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 [core-api]

The Core API is a collection of the main on sharepoint box api that you interact with, to work with sharepoint data

0
votes
1answer
688 views

SharePoint REST API filter of string with space

I have a list with columns FirstName and LastName. Using API query, I am able to search for the first name or the last name. i.e.: _api/web/lists/getbytitle('Employee')/items?$filter=substringof(%...
1
vote
0answers
284 views

BCS REST Performance Issues

So we're migrating from On-Prem 2010 to Office 365 and I need to convert some of our simple calendar webparts to online solutions. I've setup an External Content Type in 365 using SharePoint Designer....
-1
votes
2answers
2k views

Add Items to SharePoint List with SharePoint API [closed]

I want to add some Items into my SharePoint 2010 List with SharePoint API in C# but I don't know what is the URL for do this and how to use that URL. How can I achieve this?
0
votes
2answers
323 views

Is it possible to GET a list of Files in a document library with “extended properties”

I have a document library to which I added some extra columns, mainly important one is "country". I can GET the list of Files using the following URL: /web/getFolderByServerRelativeUrl('/path/to/my/...
0
votes
1answer
656 views

Get SharePoint user pictures from mysite

I have written a SharePoint core solution with C# which gets the URLs of user pictures and should download them. The URL I get is correct. The URL structure is like: http://mytestsharepoint/my/...
4
votes
2answers
5k views

How do I update a multi lookup field using the REST API?

As the Title say, all what I need is update a column with multiple lookup values. This is how I set the metadata var someNumbers = [4, 5]; var itemMetadata = { '__metadata': { 'type': ...
2
votes
1answer
180 views

JS failures using ClientContext object on pages other than group membership pages

I'm attempting to use a piece of JS that I located here to add some CCS classes to the body tag of my SP site based on the user's groups. The following script works perfectly well when looking at a ...
1
vote
1answer
657 views

workflowservices.js Error (get_context) when attempting to start 2013 Workflow via JavaScript

I'm attempting to run the code provided in this thread: Launch SharePoint 2013 Workflow w/Javascript It's a function which starts a SP 2013 Workflow given input parameters of Item ID and Subscription ...
0
votes
3answers
1k views

List users in SharePoint group running as system

This works as local administrator only, but I'm trying to figure out how I can make it work with NT AUTHORITY\SYSTEM. It starts spitting out group members but fails with access denied on a specific ...
0
votes
2answers
1k views

after SPFileCollection.Add() SPListItem is NULL

I am trying to upload a lot of files to SharePoint programmatically using a windows forms application. I use the SpFileCollection.Add() method to add the file and then attempt to set the properties ...
1
vote
1answer
221 views

Potential memory leak with SPListItem?

I have created a Timer Job that iterates through a list of 100,000 items and finds the ones that are older than 120 days and "moves" them to a new site collection for archival. I am using a ...
2
votes
1answer
1k views

Search users with the API filtering case insesitive with substringof

I'm currently using the API to search for users like this: /_api/web/siteusers?$select=Id,Title&$filter=substringof('string', Title) However, I have the problem that in this case, the ...
0
votes
1answer
109 views

Using the API to search for users filtering by something other than startswith

I'm building a search input that would use the API to look for users and use that information for something else. Right now I'm using this: /_api/web/siteusers?$select=Id,Title&$filter=...
5
votes
2answers
1k views

MSSQLFT equivalent in Sharepoint 2013 for Java applications

Problem I have a java application which till now used SP2010 with SQL Syntax for Search queries. Everything worked fine with the Query Webservice until I upgraded to SP2013. Now, I've come to know ...
1
vote
1answer
1k views

I want to make a weather webpart that displays temperature by using Api like Google or yahoo

I want to make a Weather web part form any api. I have searched on Google but could not find any good solution. So, any link or suggestion or steps for that?
4
votes
1answer
5k views

Access Denied trying to access SharePoint 2013 REST API, User Profile endpoint

I am building a Provider Hosted App for SharePoint 2013 in PHP. I have been successfully able to generate an access token for my user, and remotely access an api for showing all the lists. (_api/web/...
1
vote
1answer
222 views

Unable to explore SP2013 (O365) apis

Having just upgraded to SP2013 on O365 (Enterprise) I am keen to take advantage of the various REST endpoints to perform various CRUD operations. However, I seem unable to drill down into the various ...
0
votes
1answer
130 views

2007 vs 2010 Core API differences

As the title says, im trying to find out how different the core api's are between sharepoint 2010 and 2007. dont care about packaging etc