cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

CLI to export text attachments

jfederkins
1-Newbie

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

1 ACCEPTED SOLUTION

Accepted Solutions
KaelLizak
14-Alexandrite
(To:jfederkins)

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


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager

View solution in original post

3 REPLIES 3
KaelLizak
14-Alexandrite
(To:jfederkins)

Hi John,

Take a look at CS131797.

Regards,
Kael


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager

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.

KaelLizak
14-Alexandrite
(To:jfederkins)

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


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager
Top Tags