skuid attachment file name extension

jizjiz
edited May 23, 2018 in Ideas
At moment I am using skuid “File Upload” component.

I am wondering if there is a way to get attachment file name extension so I can rename attachment file name with correct file extension as we cannot assure that everyone is only upload 1 type of file.

In skuid online tutorial,

http://help.skuid.com/m/components/l/102565-use-the-file-component-to-attach-files-to-a-record

.invoice is the file type for the attachment,  but our user may upload more than 1 file type .doc, .pdf, .jpg and etc. How can I dynamically get the file name extension of the attachment they upload?

1
1 votes

Awaiting Review · Last Updated

Comments

  • Amy DewaalAmy Dewaal 💎
    edited May 23, 2018
    Jiz,

    In the tutorial they are setting the name of the file and not the file extension (the file upload will respect the file extension already associated with the file). Are you wanting to override the file extension that the file already has?

    Thanks!
    Amy
  • jizjiz
    edited November 8, 2016
    Hi Amy, I don't think that the file upload respects the file extension when you rename the attachment. If you don't rename the attachment, then it does respects the extension. My request is how to rename the file and keep its extension. Cheers, Jiz
  • edited December 2, 2016
    Hi Amy, Any update on this..Vas
  • Amy DewaalAmy Dewaal 💎
    edited May 23, 2018
    Jiz and Vasu,

    Currently there isn't a way to get the file extension of an uploaded file, although our devs are considering that feature for a future release.

    Thanks!
    Amy
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!