Hi;
I have an attribute of type document to store image and the option is "file system" where I provide another attribute holding the path and the image name to be stored as.
However, after and upload by user, I see the image was stored in the given directory and the name given (C:\at\abc.jpg), BUT when I display the original attribute on the form it shows the name of the original file uploaded by user like (Horse.jpg).
My question is, how do I get the name of the original file like Horse.jpg that user uploaded?
I tried to do the following and didn't work
MyBo.OriginalName=MyBo.UplodedImage
I created an attribute called it "OriginalName" to store "Horse.jpg" and "UploadImage" is the document type attribute to hold the original image uploaded.
But when I do the above assignment, my Bo.OriginalName attribute is empty.
@Support, how do we get the original name???
Thanks!