add target filename before upload


#1

Hi,
are there any possiblities to change the target filename before upload?
We want customers to select a image file (a photo taken by them) and upload this with a new name based on the ID who’s logged on. Name has to be changed client side.

for example:
“myPhoto.jpg” should be uploaded as “ID_09462.jpg”

thanks


#2

Hi
There is no possibility to do it on client-side. Only on server-side


#3

But you can pass ID as a parameter of the URL and then replace it on the server.


#4

thanks


#5

You are welcome!


#6

Can you be more specific on How to add a parameter to the URL?
I have a form with an image declared by XML:

Where and how can I add any dynamic definition (parameter) to this url?


#7

Hi,

The client side control just sends the file to the server side.
There you can store the file under any name