AnsweredAssumed Answered

filename and extension of downloaded content stream

Question asked by schipmolder on Aug 11, 2015
Latest reply on Aug 13, 2015 by schipmolder

I've got a javascript webscript that's used to download certain nodes. The webscript is of type "" and populates the model's contentNode property with the node that is downloaded, basically like this example:

This all works except for the naming of the downloaded file as that's always named after the noderef of the contentNode and it's always extensionless.

Does anyone know how i can either tell it which name and extension to use?

I did look at the model's contentPath property as well, but no matter what i set that to it keep returning a FileNotFoundException.