How we can display uploaded file in an interface?
Discussion posts and replies are publicly visible
A bit not relevant to the OP's question but I found that the documement ID cant be used to retrieve the filename attribute since at this point the file has not uploaded yet. But if the same document id is passed to a process model then the filename attribute (document function) returns the filename (without extension). We are on 18.2.