Hi,
i tried all code examples in manual but i'm not able to rename files uploads.
I use simple code from the manual:
pageObject.filesToMove(0).destFilename = values("ID") & ".jpg"
values("Field_Name")= values("ID") & ".jpg"
This is the script i inserted in "before add" event (yes I updated field name in values).
I get always an error. I tried t with a file 2 field database in the demo account too and get always a 500 error.
This is very strange, is vanilla code from manual and seems not working. Do I miss something?
Thanks in advance
Michael