Display document name upon uploading the document in the editable grid

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 have explored fv!file variables which is not possible to use in saveInto. 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,

Anju

  Discussion posts and replies are publicly visible

Top Replies

Parents
  • 0
    Certified Lead Developer

    It might be possible but I personally recommend you don't take this approach. Someday hopefully Appian will allow us to access the "fv!files" properties within the saveInto parameter of the document upload field [feature request], as opposed to just in the validations, but until then it's not doable without using some unsupported and risky functionality.

    One way I've handled it in other cases, if the uploaded document's name must be user-editable at upload time, is to have a separate box that's optional and blank, which will override the uploaded document's name if provided.

Reply
  • 0
    Certified Lead Developer

    It might be possible but I personally recommend you don't take this approach. Someday hopefully Appian will allow us to access the "fv!files" properties within the saveInto parameter of the document upload field [feature request], as opposed to just in the validations, but until then it's not doable without using some unsupported and risky functionality.

    One way I've handled it in other cases, if the uploaded document's name must be user-editable at upload time, is to have a separate box that's optional and blank, which will override the uploaded document's name if provided.

Children
No Data