cancel
Showing results for 
Search instead for 
Did you mean: 

To Upload and Download an image

Former Member
0 Kudos

Hi Experts.

I have a requirement wherein i have to uplaod an image ( for eg: a screenshot of an error ).

Afer uploading i want to show the preview of that image and save the same in the database , so that later on i want to also download that image and show it next to the Text Area.

Any inputs would be helpful.

Thank You ,

Radhika.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Radhika,

You need to create transparent table following fields e.g.

Field Name Data Type

DATA RAWSTRING

NAME STRING

TYPE STRING

Create the context for above mentioned fields and bind the properties of data, filename & mimetype with File Upload & Download UI elements

In WDA use File Upload & File Download UI Elements & Save button for saving the data file.

On Save action update the data base table.

Thanks

Vishal

Former Member
0 Kudos

Hi,

Im saving that image as xstring in the database along with the ffilename ( i.e path ).

now i want to fetch that xstring n display the image in the image uielement.

Could you elaborate on that.

Thank You.

Former Member
0 Kudos

Hi,

Please check out this link

Regards

Lekha

Former Member
0 Kudos

Hi Experts,

thanks for the quick response.

I want to dwonload multiple images at a time and display .

But the now of images to be downloaded wud be known only at runtime.

Please advice how do i display multiple images.

Thank you.