cancel
Showing results for 
Search instead for 
Did you mean: 

how can we use the mime type in file upload

Former Member
0 Kudos

Dear Experts,

how can we use the mime type in file upload?

Regards

Sarath

Reward points are assured

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi ,

What exactly you want ?

do you want use some MIME object ( some jpg, gif ) in your view

( In that case you need to add that MIME object in MIME repository )

Or you want use MIME as data type .If it is so see example DEMO_TABLE_WITH_TREE .In that for table in context they have taken MIME and it shows diff . Kind of files in table .see it .

Hope it will help you .

Chill

Parag

Former Member
0 Kudos

Hi,

Go to component -> right click and you can find mime object -> import mime

It will ask for file name and then upload to mime folder will be created and ur file will be placed inside it.

Use it any where in the view ui element and then get it displayed.

Reward pts if it helps to resolve

Regards

Sathish

Former Member
0 Kudos

Hello Sarath,

While using the FileUpload UI Element, a mime type property is available. If you bind this to an attribute in your context hierarchy, you will get the mime type of the file you wish to upload.

This mime type can then be used when you are working with the file (e.g. download)

Regards,

Neha

former_member196517
Contributor
0 Kudos

the API for GOS doc upload is ARCHIV_CREATE_TABLE and it expects mime type...