Generating and Downloading Files Using XPages’ Persistence Service 

By Cameron Gregor | 9/13/17 8:50 AM | App Dev - XPages | Added by Oliver Busse

When developing an XPages application you may run into the need to generate files to be downloaded by the user. For the temporary place problem, some common solution is to either generate the files to some ‘in memory’ representation or alternatively use the Java Temporary Directory..