How would I get the name of the file uploaded in the NAC File Upload control? I want to compare and ensure that the file name has not already been used.
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/2dab0180-6163-467a-9b99-d93079f29814.png)
How would I get the name of the file uploaded in the NAC File Upload control? I want to compare and ensure that the file name has not already been used.
How would I get the name of the file uploaded in the NAC File Upload control? I want to compare and ensure that the file name has not already been used.
Following. I'd love to know the answer to this one. I wish they had a toggle we could enable to avoid duplicate file names across all file upload controls per page of a form and/or a form entirely.
One way is as follows:
1) Loop Foreach file with Data type = Text
2) On current loop item, Query JSON: $.blob.fileName
One way is as follows:
1) Loop Foreach file with Data type = Text
2) On current loop item, Query JSON: $.blob.fileName
This only resolves issues after the fact...how do you resolve before the user submits? In the form designer...
Hi
Great question. Nintex has considered duplicate file names and does not allow them in the File Upload control. This policy applies to all file upload controls on the form.
If you try to add the same file name to any file upload control, it will be renamed.
This is good to know. Ill test this out. Last time i used multiple file upload controls it allowed duplicate file names across all file upload controls.
If I set Workflow to not overwrite files, the workflow will error out if a duplicate file name exists. If the system can automatically detect that, is there not a way to get that information before the workflow errors out and an e-mail is sent instead?
Hi
Before we can answer your question, please let us know where you are storing the file.
Update: I tested this feature and it’s working as expected.
Thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.