How to Direct to a specific Root Folder for Team Drive
Directing to a Specific root folder for Team Drive

Execute the below query in the Dev console :
SELECT Id, Name, XFILES__Provider_Type__c, XFILES__GDrive_Root_Folder_Id__c FROM XFILES__Cloud_Storage_Provider__c
Once done, check the XFILES__GDrive_Root_Folder_Id__c field value.

This is case the files are getting directed to the object folder which is inside the root folder.
If you want to direct the files to the Team Drive folder directly then you have to replace the XFILES__GDrive_Root_Folder_Id__c field value with the Team Drive Folder Id value.

Once the highlighted value (folder ID of the Team Drive) is updated in the XFILES__GDrive_Root_Folder_Id__c field, the files will be directed to the Team Drive folder.


NOTE: Please modify the XFILES__GDrive_Root_Folder_Id__c field value based on the use case required.
Related Articles
How to Direct files under a specific root folder for Team Drive
Please Find the attached document.
Google Drive Configuration [8.4]
Google Drive Setup Guide – Step-by-step instructions to configure Google Drive for XFilesPro, including project creation in Google Cloud, app registration, OAuth credential generation, API permissions, and connecting the Google Drive account to ...
How to Control Folder / File Access?
We have an options called "Make File Private/Make Folder Private," which restricts visibility of files and folders to the users. The Make Folder Private option when enabled both Organization wide as well as User/Profile the folder access can be ...
How to Create Manual Template Folder structure?
During the object configuration, templates can be added following these steps. ● Click on the Add Template button, enter the name of the template, and click on okay. We can also create multiple templates, Eg: Template 1, Template 2. ● Under the ...
How to handle Folder Information that has been Incorrectly Mapped
Please Find the attached document. Before doing this please take the backup of folder info and then follow the steps mentioned in the document If there are any problems during setup, contact us at support@xfilespro.com for more assistance.