cancel
Showing results for 
Search instead for 
Did you mean: 

Read Multiple Attachment in OData

Former Member
0 Kudos

Hi Experts,

Here coming up with new requirement How to read multiple attachments in OData.

For Example :

I have to display all attachments associated for material.

Regards

goudham

Accepted Solutions (0)

Answers (1)

Answers (1)

EkanshCapgemini
Active Contributor
0 Kudos

Hi Goudham,

Let me put my points for your requirement. You have a UI5 application which display details about materials. There you have a tab which lists all the documents attached to that material. User clicks on any attachment and that attachment is displayed to the user.

If I am correct with the above requirement, I do not see downloading all the attachments in one shot. First of all you need a call of query and list all the available attachments. Now when the user clicks on any particular attachment, download only that attachment with the help of GET_STREAM.

Let me know if I was wrong in understanding your scenario.

Regards,

Ekansh

Former Member
0 Kudos

Hi Saxena,

thanks for reply, my scenario:

Get attachments:

For material in attachment list there will be more than one attachment file, I have send all attachments as XSTRING in single get call.

Create attachments:

same for create also they will be taking more than one picture from google glass, have to attach all by single post call.

Hope i'm clear with scenario now.

Regards

goudham