Skip to Content
0

Data Workbench - Import attachment HTTP URL

Nov 21, 2016 at 01:52 PM

82

avatar image

Hi Experts,

Is it possible to upload attachment URL through data workbench, if so which MIME type to be used for the same? Thanks.

xg1do.png (23.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Stefan Hagen
Nov 21, 2016 at 04:43 PM
0

Hi Kaynes,

The mime type for pdf is "application/pdf". The path is also not correct. This blog describes the process step by step:
sap-hybris-cloud-for-customer-import-attachments-with-the-data-workbench

EDIT:
After reading your post a second time. You want to upload a link, right? In this case, you don't need to fill the mime type at all.

Here are some examples about how to fill the fields. The first one and the last one are file attachments. The other ones are links:

So, don't fill MimeType or DocumentLink, just fill LinkWebURI.


Share
10 |10000 characters needed characters left characters exceeded
Keynes Austin Nov 21, 2016 at 06:56 PM
0

Hi Stefan,

Thanks for your answer it really helped. Please help with below,

I am trying to upload attachment to a custom object developed through SDK, I have activated a OData service for this custom object attachment so that it shows up under data workbench. But the issue i am facing is the fields mentioned in your screenshot were visible in OData but not visible in the manifest template file downloaded from workbench.

Please help.

OData

Manifest template file downloaded from data workbench

Field Definitions

Regards,

Keynes Austin


eil7u.png (29.3 kB)
tdbaq.png (20.3 kB)
9m6bx.png (27.2 kB)
Share
10 |10000 characters needed characters left characters exceeded