Questions tagged [search-api]
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.
94 questions
0 votes
1 answer
120 views
Can I get all items from multiple SharePoint lists using none-premium connector
I have a site content type named "Asset", and we are adding custom lists and add this content type to them. now using Power Automate I want to get all items from all the underlying custom ...
0 votes
1 answer
236 views
Allowing external application permission to use Sharepoint search REST API?
How do you allow an external application to use the search REST API? This is for Sharepoint online, not self hosted. Both SP and the external app use the same Azure AD/MS Graph to login. So the users ...
0 votes
1 answer
161 views
Searching a SharePoint Library for attribute value from XML document
I'm trying to search within XML files in a document library for a search term but i'm not getting the results. For example if I search for 'title' or 'paragraph' it finds the file but NOT if I search ...
0 votes
0 answers
193 views
Help with KQL query search not returning any result
I have installed the search query tool and i'm sure i have the properties Birthday and Department updated in my SharePoint user profile. But using the below queries yields no result To list everyone ...
0 votes
1 answer
160 views
Sharepoint online calling search API using Rest API
I was tried many times, I am not able to calling rest Api call, when i was tried with ajax call then it's work fine, but when i tried with rest api then it's not working. so can you help me to find ...
0 votes
1 answer
443 views
SharePoint Online REST API - searching with external user
In my application, I'm getting the list of all sites with this search API call: /_api/search/query?querytext='contentclass:STS_Site' However, it does not work for external users, despite having all ...
0 votes
0 answers
441 views
Sharepoint API PictureThumbnailURL returns unauthenticated
I use the sharepoint search API to get the latest newsarticles from sharepoint. This works for me https://tentant.sharepoint.com/_api/search/query?querytext='PromotedState:2' I also get returned an ...
0 votes
1 answer
4k views
SharePoint Rest API for search functionality on list level
I was wondering is there any rest api endpoint available to utilize the search functionality directly in a list level? SharePoint is proviiding an option to search/find an item in list view. But is it ...
1 vote
1 answer
3k views
Get all site collections listed in SharePoint Admin center using Rest / Search / Graph api
Does anyone know how to fetch all site collections from my SharePoint admin center by using rest api / search api / graph api? I have tired using search and graph api : let query = SearchQueryBuilder(&...
2 votes
1 answer
932 views
SP Online generate refresh token for testing REST api calls in Postman
I'm refining SPO API calls intended for a mobile app project using Postman, and all is fine except the access token keeps expiring after maybe a day. How do I get the "refresh token" to work ...
0 votes
1 answer
476 views
Viewslifetime is getting blank when we hit the sharepoint page using rest search api. It is giving data length 0 for some of the SharePoint pages
We need to display viewslifetime (page view count) in our SharePoint page using search API. But when we are hitting the search API query it is giving data for some of the sharepoint pages. but when it ...
0 votes
1 answer
150 views
SharePoint Serach Rest API How to get People column value by email or User Id
I'm using SharePoint Serach Rest API to get CreatedBy column data, Where I have used Name in Query text Var searchdata = { { '__metadata': { 'type': 'Microsoft.Office.Server.Search.REST....
1 vote
1 answer
400 views
Search API exclude null Birthday records in SharePoint Online
I am building a birthday webpart. I am using search api to get the user details as below: var birthday = 'RefinableDate00'; fetch(this.props.SPUrl + "/_api/search/query?querytext=%27*%27&...
1 vote
0 answers
42 views
How do I search for ü using the search api
I have been trying to search for ü in the title field of documents using the search api. It doesn't return any results. https://mysite.domain.com/_api/search/query?querytext='Title:"ü"'&sourceid='...
0 votes
1 answer
255 views
_api/search/query title field changed
We are using the below URL to search the data. /_api/search/query?querytext='test''&selectproperties='UniqueId, Title, OriginalPath, ServerRedirectedEmbedURL, ServerRedirectedPreviewURL'&...