Posted: 17 Jun 2016 2:35 EDT Last activity: 17 Jun 2016 7:25 EDT
Show an uploaded excel sheet in attachments
In our application, we are uploading an excel sheet and parsing the data into our clipboard page. How can we show the same uploaded excel sheet in attachments so that user can download it from the attachments tab?
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.
I'd let someone well versed in attachments answer this but for starters you may try the following -
Create an instance of Data-WorkAttach-File with your excel stream as pyFileSource and some other mandatory properties like pyNote (the name of file when it's downloaded, pyCategory, pxAttachKey (Current datetime), etc) - Look at Work-.AttachFile activity to see what all defaults to set
Call pxLinkAttachmentToCase with relevant parameters.
I think there is no straightforward way to do this but let someone else answer.
If your file were Rule-File-Binary, it'd be a lot easier and you'd need to call only pxAttachFile activity.
Posted: 5 years ago
Updated: 5 years ago
Posted: 17 Jun 2016 4:46 EDT Updated: 17 Jun 2016 4:49 EDT