2014 May 01 5:24 AM
Hi All,
I am getting the Single attachment,but I am not getting the Multiple Attachments, If you know any idea on this.Please let me know as soon as possible.
Thanks,
Santhosh
2014 May 01 5:42 AM
How to you upload the files? And are you looking for a GUI upload or background upload?
2014 May 01 6:54 AM
no, I am trying to upload through UI,So we didn't support gui_upload na.
I have written in Layout like below:
<input type="file" name="attachment" id="attachment" onchange="document.getElementById('moreUploadsLink').style.display = 'block';" multiple/>
and oninputprocessing logic:
FILEUPLOAD ?= CL_HTMLB_MANAGER=>GET_DATA(
REQUEST = RUNTIME->SERVER->REQUEST
ID = 'attachment' "'myUpload'
NAME = 'fileUpload' ).
FILE_NAME = FILEUPLOAD->FILE_NAME.
FILE_MIME_TYPE = FILEUPLOAD->FILE_CONTENT_TYPE.
FILE_CONTENT = FILEUPLOAD->FILE_CONTENT.
I am getting with above logic for single attachment only,but not getting multiple attachment file names.
Thanks,
Santhosh