dnnsoftware/Dnn.React.Common

DNN File Upload - specifying folderName breaks upload

Closed this issue · 2 comments

When passing a folderName to the dnn-file-upload component, the upload fails.
dnnfileuploadbad

Expected: Specifying a folderName uploads folders into this folder.

@itsMigo
It will not work with only a folder name. Folder names are not garanteed to be unique.
There is a FileDTO you need to use that has fileId, fileName, folderId and folderPath, you need to pass that object to the selectedFile property of the component.

Look at this pull request I submitted for bringing back page icons and you should have a good working example: dnnsoftware/Dnn.AdminExperience@192719f

I am closing this issue to cleanup @itsMigo feel free to open another issue if my answer did not cover your use case