Hi, guys!
I was in need for our project of a files/folders browser for a user to select an uploaded folder.
It was suggested that I can use the already existing and rich 'Files' web part for it, which is what I did:
var wikiWebPartRenderer = new LABKEY.WebPart({
frame: 'none',
partName: 'Files',
renderTo: pnlImport.getId()
});
wikiWebPartRenderer.render();
where pnlImport is just my container panel and part of the overall UI.
My question now is: how can I obtain the selected file/folder and have it available in JS for further work?
A related question is: can this 'Files' web part be customized (suppose to only display folders and not to show the 'Import workspace' button)?
Thanks.
-Leo |