Skip to Content

File Download UI

Hi All,

Can you please help me in how to use the file download UI. The file to be downloaded is .pdf.

Please help me with the steps involved in the same.

Thanks,

selvakumar M.,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 22, 2009 at 08:11 AM

    Hi Selva,

    You just need to bind the "data" property of the FileDownload UI element with a context attribute of type XSTRING. You should somehow read the content of the pdf, convert it into an XSTRING format and assign that value to the XSTRING attribute. The "text" which you maintain for the FileDownload UI element appears for the user as an LinkToAction. When he/she clicks up on that particular text, the system reads the data in the XSTRING attribute & converts it into the corresponding data. So your major task would be to read & convert the PDF file into XSTRING format. The rest of the process is very straightforward.

    Regards,

    Uday

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Selva,

      Am sorry just forget that CONVERT_OTF approach. You were saying that you would be given the URL location where you have the file & that you would have to download it from there. Try go through Thomas Jung's comments in this [thread |multi SAR files Download;wherein he discusses about the same exact requirement.

      Regards,

      Uday