Override &ATTACHUSERFILE filename in add_attachment PeopleCode
We are uploading and image file from the user desktop. We want to control the final filename of the file uploaded with the PeopleCode AddAttachment. Unfortunately, the AddAttachment seems to keep the original file name no matter what.
Example: User file=penguin.jpg
Desired Uploaded file name= CAPTN-20161027.jpg
Actual Uploaded file name= CAPTN-20161027penguin.jpg
Is there a way within AddAttachment PeopleTools 8.52 to control/override the User filename?