Skip to main content
1-Visitor
Sep 18, 2016 3:17 PM UTC
Solved

CLI to export text attachments

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

    KaelLizakAnswer
    16-Pearl
    Sep 20, 2016 7:35 PM UTC

    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

    3 replies

    16-Pearl
    Sep 19, 2016 7:02 PM UTC

    Hi John,

    Take a look at CS131797.

    Regards,
    Kael

    Translate
    1-Visitor
    Sep 19, 2016 8:23 PM UTC

    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.

    Translate
    KaelLizak16-PearlAnswer
    16-Pearl
    Sep 20, 2016 7:35 PM UTC

    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

    Translate