NetTalk Central

Author Topic: View uploaded files  (Read 1072 times)

Ubaidullah

  • Full Member
  • ***
  • Posts: 123
    • View Profile
View uploaded files
« on: June 09, 2023, 06:39:50 AM »
Hi,

I have a form that allows the user to upload a file. This file can be PDF, PNG or JPG. These files are then stored in a blob.

The user can see the list of files uploaded in a browse.

I want to allow the user to view the files by selecting the appropriate browse row. A view button on the row.

What would be the best way to do this? Is there any example that shows this.

Thanks
&
Regards,
Ubaidullah Nubar.
« Last Edit: June 09, 2023, 07:36:13 AM by Ubaidullah »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11182
    • View Profile
Re: View uploaded files
« Reply #1 on: June 13, 2023, 06:46:21 PM »
couple ways to do it,
but the easiest is a button on the browse, going to a popup form, with a Media Form Field type on it.

Cheers
Bruce

Ubaidullah

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Re: View uploaded files
« Reply #2 on: June 14, 2023, 08:05:43 PM »
Can the Media Form Field type be used to display or preview PDF files?

Regards,
Ubaidullah Nubar.

Vinnie

  • Full Member
  • ***
  • Posts: 175
    • View Profile
    • Email
Re: View uploaded files
« Reply #3 on: June 15, 2023, 12:31:31 AM »
Yes Media Field will work as a View PDF and Download on a PC.
Only download when using an Android Tablet.
Cheers

Vinnie