Monday, March 5, 2012

Download Link for Xpage

Usually all of our document is having a reserve field as "$FILE". It won't be visible untill we add any attachments.

All of our attachments has been saved into this field only. It is Attached Object TYPE Reserve field.

If we want to give any download link to our application, Which is very simple...

Create a document. Attach the files whatever we want to share of our document.

The below url is used to download the files what we have attached...


http://host/dbpath/documentUNID/$FILE/FileNamewithextension

No comments:

Post a Comment