Take a look into this thread: Downloading document from UCM.
You've a lot of ways:
- Using content presenter with a Content Presenter Template generating a link to the downloadUrl.
- In you're custom implementations just call cmfn tag or the servlet way.
- Using RIDC service.
- Using OOTB Task Flows of Document Service (it will provide more functions than just download).
IMPORTANT: When using cmfn I was wrong when explaining in the above thread how to use it. You should call getNodeById with the repository name as prefix (not only the dDocName).
In following thread explains how to use cmfn :
I hope it helps.
Message was edited by: Daniel Merchán