How to use SearchAsync to get a sub-folder ID from its name?
See original GitHub issueThis is what I’ve tried so far - but it returns no results (the folder name does exist under the parent):
var items = await actor.SearchManager.SearchAsync( limit: 2, ancestorFolderIds: new List<string>() { parentFolderId }, type: "folder", scope: "user_content", keyword: folderName );
What am I doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
What's the most performant way to get a sub-folder ID from ...
GetFolderItemsAsync and iterates through the results to find the matching item name. It works, but I think it must be inefficient in having...
Read more >search folder for any subfolder with name specified by me ...
hello I am trying to do a search on a google drive folder, if the subfolder exists then I get the id of...
Read more >Solved: Get name of SharePoint subfolder or leave searchab...
Get name of SharePoint subfolder or leave searchable item in folder ... What I need to do is find a place to pass...
Read more >Select all items that belong to a list subfolder using REST API
I have a list that has folders, e.g. ... I want to read all list items that belong to the My Subfolder ,...
Read more >REST API for Documents - Search Folders or Files Under ...
Search for a folder or file by fulltext or querytext in the specific folder ID or the self folder directory. This will search...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Maxwe11 The Get By Path API is not yet stable, but we will be adding it to this SDK when it is released.
@Dave-Lowndes
We are going to have get file/folder by path API coming soon FYI