Skip to main content
New Participant
Jun 10, 2026 2:49 PM UTC
Solved

Document Filename is not getting renamed



Hi All,

My actual requirement is when a user is uploading a file if incase the filename contains any special characters as @/& we need to replace it with  "_"  automatically without any user action and show it on the interface with the renamed filename. But when I was trying with parameter filenames of fileupload() function it wasn't working as expected. So I tried with hardcode a file name as "Sample" but still if I upload a document, it still shows the original file name its not getting updated to"Sample" so kindly help me with the requirement. I have attached the screenshot for reference.

    mikes0011
    mikes0011Answer
    Brainy
    Jun 10, 2026 6:44 PM UTC

    The "filenames" override takes place only upon the document's sumission to the filesystem, not immediately after upload.  You'll need to at least add a "submit" button to your test interface (with the "submit" parameter set to "true") and see how the uploaded file acts after that.

    The Expression Guru

    2 replies

    mikes0011
    mikes0011Answer
    Brainy
    Jun 10, 2026 6:44 PM UTC

    The "filenames" override takes place only upon the document's sumission to the filesystem, not immediately after upload.  You'll need to at least add a "submit" button to your test interface (with the "submit" parameter set to "true") and see how the uploaded file acts after that.

    The Expression Guru
    New Participant
    Jun 13, 2026 8:24 AM UTC

    Thanks Mike, yes, it works once uploaded document submitted.