on 08-17-2015 1:36 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.