question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use SearchAsync to get a sub-folder ID from its name?

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mattwillercommented, Apr 10, 2018

@Maxwe11 The Get By Path API is not yet stable, but we will be adding it to this SDK when it is released.

1reaction
coolboycommented, Jul 27, 2017

@Dave-Lowndes

We are going to have get file/folder by path API coming soon FYI

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found