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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.