NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Ubaidullah on June 09, 2023, 06:39:50 AM

Title: View uploaded files
Post by: Ubaidullah 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.
Title: Re: View uploaded files
Post by: Bruce 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
Title: Re: View uploaded files
Post by: Ubaidullah 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.
Title: Re: View uploaded files
Post by: Vinnie 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