Skip to Content
avatar image
Former Member

Data Workbench - Import attachment HTTP URL

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 21, 2016 at 04:43 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 21, 2016 at 06:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded