Uploading .pdf Files with their filenames

Hey Guys

I hope someone can help me with this.

I am trying to create a field with a field type “File” for use to import files from the PC. When the file is uploaded, the file name that shows on the app was curated to “key.column_name.SomeNumber”. Then I came across this sample app called “Marketing Docs” (Please see screenshot attached). In this app, the file name shown on the app view is so clear “How Foursquare Uses Dropbox Business.pdf”.

FileName

How do I upload a file to an app and have the file name clear (some sensible name), instead of some random text?

Please help.

Thanks

Daniel

Appsheet default behavior is to putting absolute “unique” file name so that the files saved to the cloud is ensured NOT to be overwritten the existing files as well as ensureing the uniquesss of the file names. The file is named as row ID + column name + UTC time as far as I deem it correctly. There is no workaround to change this native file names.

However, if you are happy with your own your unique file name which is visible on the app rather than chaning the actual file names, why dont take this path.

In addition to file type data files, add text/name type files which let the app user place the file name whatever they want.

Once you set the file type data field, Appsheet will automatially generate the system action. Go to that system generated action which is “inline” action. Change the direction of that action to “file name” field rather than file type field.

Set the showif constrain for the file type file only visible in FORM view (hide from any other view such as detail view)

When the app user upload file from the form view, then the system generated unique file name is not visible from any other file. One the form is saved, then go to detail view, where you see file name files with inline action with user defined file name.

Reminding this is not changing the acual file name on the cloud.

3 Likes