Skip to main content
Question

How can I quickly get folder collaborator information?

  • May 22, 2025
  • 3 replies
  • 20 views

Forum|alt.badge.img

Hello, I'm trying to add the ability to select a folder as a file storage destination in a Box app that is being created in C #.
I want to distinguish and display personal folders, collaboration folders, and external collaboration folders as folder types.
(It looks like a form for saving attachments in Box for Office.)

 

Currently, after obtaining the list of items in a folder with BoxFoldersManager.GetFolderItemsAsync (), BoxFoldersManager.GetCollaborationsAsync () is issued for each item to display the folder type.
But when it comes many number of items in this procedure, the display is very slow.

 

Is there a way to quickly get collaborator information for multiple folders?

 

best regards.

3 replies

Forum|alt.badge.img

Hey  

 

Currently, this is the method for getting folder collaboration information. The recommended method would be for you to cache the results of the initial request and periodically purge them to make fresh requests (or even give users a mechanism to manually refresh). 

 

We'd appreciate you sharing this product feedback


Forum|alt.badge.img
Hi,
Thank you for the reply.

I understand that there is no simple way that I expect at the moment.
I try to devise processing and see if it can be done quickly.

Thank you.
 

Forum|alt.badge.img

I was only seeing BoxItems because I returned a BoxItem from GetFolderItemsAsync ().
The information I needed was available from Boxfolder.
I no longer need to call GetCollaborationsAsync () and my request was satisfied.