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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

CLI to export text attachments

jfederkins
2-Explorer

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

ACCEPTED SOLUTION

Accepted Solutions

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

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.

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
Announcements


Top Tags