Closed
Attach Base64 encoded image to Case
Hello,
I have an image stored in a property as a Base 64 encoded string. How can I add this image to the attachments of the case?
Thanks
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Hello,
I have an image stored in a property as a Base 64 encoded string. How can I add this image to the attachments of the case?
Thanks
1) Create an instance of class Rule-File-Binary (Page-New). Say ImagePage.
2) Set all required key properties on ImagePage
3) Set pyFileSource = Base 64 encoded image string
4) Do Obj-Save on ImagePage
5) Create instance of Link-Attachment (AttachmentPage)
6) Set
.pxLinkedRefFrom = pzInsKey of case
.pxLinkedRefTo = ImagePage.pzInskey
7) Obj-Save AttachmentPage
Refer to Work- AttachFile activity
Question
Question Solved
Question Solved
Question Solved
Question Solved
Question Solved
Question
Question Solved
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.