Skip to main content
1-Visitor
September 18, 2016
Solved

CLI to export text attachments

  • September 18, 2016
  • 1 reply
  • 2256 views

Hello -

I'm looking to export/import over 300 documents between 2 servers.
Probably going to do this via CLI batch files.

However, I do not see a way to export Text Attachments of nodes.  (not file attachments)

Any thoughts?

Thanks,

John

    Best answer by KaelLizak

    Hi John,

    Those are text attachments. I inserted SimpleExcel.xlsx into Requirement 21616 as an object on my test server.  Then I ran im extractattachments --issue 21616 --field="ALM_Text Attachments" which pulled SimpleExcel.xlsx  into the current directory.

    Regards,

    Kael

    1 reply

    16-Pearl
    September 19, 2016

    Hi John,

    Take a look at CS131797.

    Regards,
    Kael

    1-Visitor
    September 19, 2016

    Nope, that's for File Attachments.
    I'm looking for ways to extract OLE attachments and images from the text field.

    The filenames for OLE attachments and some images at least show up in the Text Attachments field.
    But I don't think there's anyway to get them out.

    KaelLizak16-PearlAnswer
    16-Pearl
    September 20, 2016

    Hi John,

    Those are text attachments. I inserted SimpleExcel.xlsx into Requirement 21616 as an object on my test server.  Then I ran im extractattachments --issue 21616 --field="ALM_Text Attachments" which pulled SimpleExcel.xlsx  into the current directory.

    Regards,

    Kael