This is a migrated thread and some comments may be shown as answers.

File Select selection path

3 Answers 246 Views
FileSelect
This is a migrated thread and some comments may be shown as answers.
Kasey
Top achievements
Rank 1
Kasey asked on 22 Aug 2020, 01:47 AM
I have form where I am getting a path returned from an API.  I'd like to use file selector to select a file from that path.  Is there anyway to accomplish that? 

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 25 Aug 2020, 11:42 AM

Hi Kasey,

I am afraid that there is no built-in option that can be used to accomplish the requirement. But let me provide some more details.

Due to security reasons, web-based applications do not have access to the machine file system. That is why (as Kendo UI for Angular is executed within the browser) the user cannot select a file from a predefined file path. There isn't an option that allows us to change that behavior, since we are limited by external factors that are outside of our control.

If any further questions come up do not hesitate to write back.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Kasey
Top achievements
Rank 1
answered on 25 Aug 2020, 12:14 PM
Very unfortunate.  The need is to select a file from a UNC path to a NFS or SharePoint Document Library not a file on the local machine.
0
Martin
Telerik team
answered on 27 Aug 2020, 10:52 AM

Hi Kasey,

Thank you for the additional details provided.

The Kendo Angular Upload package (that includes FileSelect and Upload components) does not support such type of uploading but you can explore jQuery FileManager component:

https://demos.telerik.com/kendo-ui/filemanager/index

The developer can integrate any jQUery widget in an Angular app, following the steps described here:

https://www.telerik.com/kendo-angular-ui/components/framework/kendo-jquery/

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
FileSelect
Asked by
Kasey
Top achievements
Rank 1
Answers by
Martin
Telerik team
Kasey
Top achievements
Rank 1
Share this question
or