close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Stumped by tutorial on how to create a file upload using DataAssist

Thread began 5/08/2018 2:34 pm by tmcbinc99963 | Last modified 6/06/2018 10:29 am by Ray Borduin | 2701 views | 27 replies |

tmcbinc99963

Stumped by tutorial on how to create a file upload using DataAssist

I've created a DataAssist admin page that requires three additional file uploads.

After creating/naming the file field, and specifying the upload directory, I don't understand the WA tutorial regarding how to update the insert record server behavior.

I have one insert record server behavior for four separate file uploads. Should there be a separate one for each file upload field?
The only column available with a lightning bolt is a text field created to insert a new image name; not the file field to upload the image file.

Not sure about the proper step in the wizard to finalize the file upload.

Sign in to reply to this post

Ray BorduinWebAssist

A single insert record server behavior should be fine. There is a separate binding area that should appear for each file upload. Don't use the binding from the form. Each file upload should have it's own binding with a "server file name" option. That is what you should use.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

There are no file upload bindings on the list. I've attached a screen shot.

Sign in to reply to this post

Ray BorduinWebAssist

No screen shot is attached.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

Tried to send pdf; here's a jpeg.

Sign in to reply to this post

Ray BorduinWebAssist

Click the lightning bolt to see the bindings. It should have values for the uploaded files. Bind those to the appropriate column in the database.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

Still not getting it. There are no columns in the wizard that correspond to any of the file upload fields. The only column entries are for the regular text fields.

Sign in to reply to this post

Ray BorduinWebAssist

You should only be saving the file name in the database. The file itself is saved in a folder and referenced on the page using the text value from the database.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

I realize that. The issue is the column area on the Bindings tab in the wizard. There's a list of all the text fields in the form, but not the file upload fields. Can't figure out how to use the lightning bolt to bind to an upload field, if the field isn't there.

Sign in to reply to this post

Ray BorduinWebAssist

The bindings tab lists the column names from your database. Have you added columns there to store the upload field values? You would need to update the database and add the necessary columns.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...