cancel
Showing results for 
Search instead for 
Did you mean: 

Using json to give url download link

hdalang
Champ in-the-making
Champ in-the-making
I'm trying to do use json to give us download link and when I click on it. It shoud give you the download link for the pdf. can someone guide me on how to make it possible. My startup code is below:
this is called downloadFiles.js

var digiRepo = space.children;
for(var i=0;i<digiRepo.length ; i++)
{
  logger.log(digiRepo.name);
}
1 REPLY 1

hdalang
Champ in-the-making
Champ in-the-making
I've done the code and I need some code to show me how to browse between folders, I did the code for download document as guest, I've done it using freemarker and js but I need some sample code to show me how to browse the folders, what is the way on doing that?
I need also the way of how to search of document inside these folders.