Hi,
I have a requirement where user uploads the document(at this stage we have the temporary document) in the editable grid. Beside of the document component, we should display the document name in the text field. If user wants they can edit the document name. I just want to know whether we can do this or not. If so, is there any tweaks to achieve this requirement?
Thanks in advance,
Discussion posts and replies are publicly visible
Unfortunately since we still can't access the file properties within the saveInto of a!fileUploadField(), this use case is difficult / impossible to accomplish using only out-of-box functionality.
I will offer that the "content object details by ID" function within the Content Tools plug-in, can access the document's (full) name, though it's a bit of a pain because it by default includes the document's name and extension concatenated together in a longer string that you must extract it from. But if you're desperate to accomplish this, you should be able to build it using this as a starting point.
If you want to take properties from the document, first of all you have to do a submit, is a requirement for the a!fileUploadField.
On my project I had a similar request, so on the process model we have a firts user task where the user upload the file and after is submited. The instance flows to another user input task which is chaining and has the same interface, so for the user is the same interface and we have the propierties from the document.