API, an abbreviation of application program interface, is a set of routines, protocols, and tools for building software applications.When using the search API, we typically used the KeywordQuery or FullTextSqlQuery classes.

learn more… | top users | synonyms

0
votes
0answers
28 views

jquery datatabes deferloading response is of text/html; charset=utf-8 content type instead of JSON

I am using SharePoint Search API to search SharePoint lists and using jquery datatables to display the data. In my code I have set the row limit to 100. So getting the first 100 items/results is fine ...
0
votes
1answer
19 views

CSOM Search takes more time to load than Content Search web part

I am using the code below to retrieve data from different lists, but I see that it is slower than Content Search Web part. The returned rows are the same 28 in total, but it takes more time csom to ...
0
votes
0answers
21 views

how to show all search results using jquery Datatable?

I am searching lists using CSOM Search API and displaying the results using jquery DataTable. My problem at the moment is that my search returns 2134 rows in total, but search api has a limit of 500 ...
0
votes
1answer
26 views

CSOM Search Api error: Unable to get property 'ResultRows' of undefined or null reference

The code below is working fine in my dev machine but the moment I tried to test it on our customer's server, I started getting errors. I started having errors with SP.js. So I used the <script ...
0
votes
1answer
17 views

How to display Search API results like SharePoint OOTB list with filtering, sorting, paging

I would like to display Search API results like OOTB Sharepoint list with filtering at least. Is it possible to use SharePoint javascript libraries to achieve this? If not, is there any ...
1
vote
1answer
26 views

Display CSOM search results like OOTB list with filtering and sorting

I would like to display Search API results like OOTB Sharepoint list with filtering at least. Is it possible to use SharePoint javascript libraries to achieve this? If not, is there any ...
4
votes
1answer
70 views

CSOM Search API does not return all the results

I am having a problem with the code below. It is not returning all the rows/items which are found in different lists. The total number of items is 28, but the code below is returning 19. I have set ...
1
vote
1answer
28 views

Using csom search api, how can I search lists based on content types?

I have multiple subsites and each subsite has a list called "Articles". Each has two content types. "News Articles" and "Success Stories". I would like to search based on the content types above using ...
0
votes
0answers
11 views

SharePoint 2013 Rest API People Search: Return formatting from multi line fields

I am trying to return the formatting of various multi-line fields of the User Profile via the Search API. However, the formatting/line breaks seem to be missing. I assume that the formatting is not ...
0
votes
0answers
13 views

Office graph inconsistency in rquests

If I have a request like myDomain/_api/search/query?Querytext='*'&Properties='GraphQuery:ACTOR(ME\,action\:1001)' retrieve different results that this query ...
0
votes
1answer
28 views

FQL Reference for Querytext Qualifiers Such As Filename

Is there an MSDN / TechNet or other reference for FQL (FAST Query Language) that shows the querytext qualifiers such as filename? For any SharePoint version (2010/2013/2016). For example, this query ...
1
vote
1answer
56 views

Is it possible to exclude certain user views from ViewsLifeTime?

I'm getting the most popular pages in our site collection using the search REST API: _api/search/query?querytext='ContentTypeId:0x010100C568*'&sortlist='ViewsLifeTime:descending' The problem is ...
2
votes
2answers
270 views

CrossListQueryInfo or SPSiteDataQuery equivalent in REST API or CSOM

Is there any equivalent in SharePoint 2013 RESTful API or JavaScript Object Model to either one of the following? CrossListQueryInfo SPSiteDataQuery
0
votes
0answers
62 views

search query in api get title for subsites

How should my search query look like I want to to search in the var query = $("#searchBox").val(); url: appweburl +"/_api/web/webs/search/query?querytext='" + query + "'", UPDATE My queryUrl gets ...
0
votes
2answers
198 views

How to search for all subsites title and url using Rest

I have a autocomplete search box when typing in my box I want to display the title of the subsite and also url Here is my search box <div id="searchfield"> <input type="text" ...
0
votes
1answer
71 views

Search API development with refiner language column

I'm currently working on a search driven App in SharePoint 2013 based on JavaScript and some forms. The mission is to get results from the search refinery in real-time for a specific search term. To ...
2
votes
1answer
166 views

Field value is null in SharePoint search REST API result

I have simple search REST GET query as below : https://<site url>/_api/search/query?querytext='research'&selectproperties='Title,Author,Created,ContentTypeId' The search result XML ...
1
vote
1answer
120 views

How to use search REST api to get custom managed property data for anonymous user

i am trying build a public portal with anonymous access and i am trying to read some content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible ...
1
vote
1answer
296 views

Search REST API call not working for anonymous

I'm trying to execute the following query for anonymous users. But, its not getting any results. When login, its working fine. Any idea about this ? /_api/search/query?QueryText='Category: "About ...
0
votes
2answers
381 views

Getting all sites for user with permissions

I'm trying to get all sites for a user on which he has permissions. For this I'm using the search api. In a for-loop from 0 to totalRows. This is my request url: ...
0
votes
1answer
56 views

How to get raw text with search api

I'm trying to do a search using the search api to get some of my pages: ...
0
votes
0answers
391 views

Trying to use the Search API in .NET but I doesnt seem to work

What I am trying to do is to Get all sites from the search API. This REST API url works perfect: ...
1
vote
1answer
323 views

RefinementResults not showing using Search 2013 API with anonymous connection

First of all, I do get results even with selectproperties but RefinementResults give me a null value. Does anyone have a solution for it? Url used is: ...
1
vote
3answers
2k views

Get all users filtering by custom property using sharepoint search api

I need get all users with a custom property using sharepoint search api, this custom property already mapped in sharepoint. I'm using this url, and this retrieves all users ...
1
vote
0answers
83 views

Managed Property name from site column name

Is there a function of SharePoint API that gets as input a name of a site column and returns the name of the corresponding ManagedProperty?
1
vote
1answer
469 views

Modifying the contents/template of the sharepoint Search alert mail?

I'm doing some RND on SharePoint search alert! I'm looking on how to modify the SharePoint search alerts mail. as in the Daily Alert Summary. Is there anyone who knows to do this? Please note I'm ...
2
votes
0answers
236 views

Has the search alert API in SharePoint 2013 changed from the 2010 and Preview 2013?

I previously developed a Visual web part to programmatic-ally create Search alerts based on the user input. I used a text box to capture the text and create a Query using the Keyword Query Class. Then ...
1
vote
1answer
647 views

Error 401 after idle time then AJAX request however still returns results

I have a ashx handler in "_layouts/ihandler/.." in which I make AJAX requests for an in page search. If my page stands still for to long the requests change from 200 to 401 return status, this is ...