Skip to main content
June 10, 2026
Solved

Document Filename is not getting renamed

  • June 10, 2026
  • 2 replies
  • 0 views



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.

    Best answer by mikes0011

    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.

    2 replies

    mikes0011
    mikes0011Answer
    Brainy
    June 10, 2026

    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.

    June 13, 2026

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