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

Filter by
Sorted by
Tagged with
0 votes
1 answer
148 views

Can I use a Claim variable and pass it into CSOM or PnP calls?

In my asp.net Core webapp, I'm putting the following into Startup.cs: public void ConfigureServices(IServiceCollection services) { services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)...
Bartels's user avatar
0 votes
0 answers
343 views

I am to login on web-page on share-point site but when i try to access from C# getting wrong username or email Id error

Below is my C# code which I am using for connect SharePoint site. When I try to access same SharePoint site from web page it's working fine and I able to access it But when I try to with below code I ...
KARAN's user avatar
  • 101
1 vote
1 answer
1k views

Read Swagger (JSON) from Sharepoint

appreciate if anyone can help on my below queries. SharePoint list have swagger(json) files. How to read swagger form SharePoint list through problematically. Is it possible? If possible what are the ...
sanka jayaram's user avatar
1 vote
1 answer
3k 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(%...
SPUser's user avatar
  • 11
1 vote
0 answers
365 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....
Chad's user avatar
  • 760
-1 votes
2 answers
3k 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?
user3715342's user avatar
0 votes
2 answers
946 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/...
Joachim Seminck's user avatar
0 votes
1 answer
798 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/...
Philipp Eger's user avatar
5 votes
2 answers
10k 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': ...
Marco's user avatar
  • 1,044
2 votes
1 answer
201 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 ...
Steven Ryan's user avatar
1 vote
1 answer
809 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 ...
syagla's user avatar
  • 123
0 votes
3 answers
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 ...
Andy Arismendi's user avatar
0 votes
2 answers
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 ...
Matt's user avatar
  • 1,414
1 vote
1 answer
290 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 ...
LukeP's user avatar
  • 299
3 votes
1 answer
3k 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 ...
Lorenzo's user avatar
  • 113
0 votes
1 answer
168 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=...
Lorenzo's user avatar
  • 113
5 votes
2 answers
2k 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 ...
Arham's user avatar
  • 131
1 vote
1 answer
2k 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?
Harsh Bhavsar's user avatar
4 votes
1 answer
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/...
Graham's user avatar
  • 103
1 vote
1 answer
225 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 ...
Fairfield's user avatar
  • 612
0 votes
1 answer
133 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
Sebastien Stettler's user avatar