ViswajitY Member since 2013 1 post
Optum Global Solutions
Posted: June 11, 2019
Last activity: June 18, 2019

Export work item attachments to a directory

We have a requirement to export work item attachments to a server location.

Here is what we have done

1. Browse through link-attachment instances get pxLinkedRefTo for each instance.

2. Pass the pxLinkedRefTo as parameter to Obj-Open-By-Handle

3. Decode pyAttachStream using Base64Decode function and set it to a property.

4. Call connect-file with write from clipboard property

Issue: the text files are exported and could read them but couldn't read excel or word files or Images, I have tried by changing the file extensions as well.

Please assist us decoding and exporting these attachments.

Attached the activity written for the same. Any help is much appreciated.

***Edited by Moderator: Lochan to update platform capability tags***

Low-Code App Development Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn