cancel
Showing results for 
Search instead for 
Did you mean: 

Data Workbench - Import attachment HTTP URL

keynesa85
Participant
0 Kudos

Hi Experts,

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

Accepted Solutions (0)

Answers (2)

Answers (2)

keynesa85
Participant
0 Kudos

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

stefankrauth
Active Participant
0 Kudos

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.