02-21-2019 02:48 AM
Our client has big files, to whom he wants to save the path including filename in a database field, but not upload them to attach them to a feature.
So we look at ways to open from a workflowform a file browser, browse to the file, select it and then save the path.
As we don't want to upload the file itself, we can't use the FormFile field type. Is there a way to open a browser form a workflow form and then just get the file path information.
We will later build an action to retrieve the file with the path information that is stored in the db.
Could you advise us how to achieve this?
02-27-2019 12:00 AM
we have analyzed and discussed your requirement, unfortunately there is not an easy and just client side solution. For security reasons the browser do not allow to pick the full path on the client side (please check this post), so basically the FormFile or any other widget cannot be used.
There are a couple of alternatives:
Hope this may help you.
05-19-2019 03:32 AM
after other tasks we are back on this.
We understand the 1. solution. I think it is implementable. We thought about a two field solution, one with a picklist of possible paths and one with the file name. And then having a not editable field that is concatenating both fields.
We would prefere that they don't write the filename maually to avoid misspellings. Is there a way to select only the filename and save it as a text value in a form field? Like with the formfile without uploading anything,only storing the filename as text.
The 2. option is not clear to us. Are you talking about a Catalog that is out of the box in Smart Client, or an external solution, that would need to be developed?