We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Could not set default path dynamically


I'm using syncfusion angular filemanager and I'm trying to send a folder name to the api to set it as the default folder. I have folder name 'down' and subfolder name 'netlogs'. By default the api serves down folder but I want the angular to request 'netlogs' folder from backend. I followed the documentation in here but it doesn't make any difference. I used postman interceptor to see if it's actually sending the folder name and its not. Please refer the photos attached to this thread for more info and please help me with this 

thank you

Screenshot 2023-04-13 134306.png

Angular part

Screenshot 2023-04-13 134741-min.png


Screenshot 2023-04-13 134236.png

Postman Interceptor

Screenshot 2023-04-13 134344.png 

Filemanager in site

1 Reply

LD LeoLavanya Dhanaraj Syncfusion Team April 17, 2023 05:35 AM UTC

Hi Asfsadf,

Greetings from Syncfusion support.

We have reviewed your query, and we understand that you want to set the root folder dynamically in the File Manager component. Based on our understanding of your query, we believe that the below forum can help you achieve your requirements.


In the shared forum, we have used the below FileManager events to send an authorization header.

File Operations











Read, Delete, Upload, Rename, Copy




Confirm the File Service provider you are using to enable authentication at your end.


Check out the below links to know more about FileManager component.

Documentation: https://ej2.syncfusion.com/angular/documentation/file-manager/getting-started

Demos: https://ej2.syncfusion.com/angular/demos/#/material/file-manager/overview

API Reference: https://ej2.syncfusion.com/angular/documentation/api/file-manager/#filemanagercomponent

We kindly request that you check out the shared details and let us know if they meet your requirements. If not, please share the File Provider name that you are using and the package version details. This information will help us to validate your query further and provide you with a prompt solution.


Leo Lavanya Dhanaraj

Live Chat Icon For mobile
Up arrow icon