close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Data Bridge - Date Assist Pages ERROR

Thread began 5/08/2012 9:13 am by hydraulicpump747422210 | Last modified 5/11/2012 10:52 am by hydraulicpump747422210 | 1483 views | 9 replies

Jason ByrnesWebAssist

to accomplish this in Data Assist, you need to manually add the Data Assist insert record behavior to your page.

It sounds like you already have the form set up and the upload behavior is working, if you look on the bindings panel, expand the "WA Uploaded File(File Field)" binding group (where File Field is the name of the file field in your form).

This binding group will contain bindings for the status, and server file extension, server file name. If you look further down the list, he binding begin to repeat. there will be section of bindings specific to the file created in the /images folder, and then another section of bindings specific to the file created in the /images_thumbs folder. each of those section will have a server file name bindings.

to add the insert behavior, go to the Server Behaviors panel and click the plus button. Select WebAssist -> DataAssist -> Insert -> Insert Single Record

on the first tab, you will select the table to insert the form data to, on the second tab, you will bind each column to the form.

select each column, then click the lightning bolt icon next to value and select the corresponding form element from the dynamic data bindings.

For the Main image column, expand WA Uploaded File(File Field)" binding group and select the Server File Name variable from the section for the /images folder.

for the thumbnail column, select the Server File Name variable from the section for the /images_thumbs folder.



A better alternative though, is to use Image Resizer. Instead of resizing the image using the File Upload and creating 2 copies, you would upload one large image and stoere that file name in the table. then use image resizer to add the thumbnail to your page.

The advantage to using Image Resizer is that it dynamically creates a new image for you. if you decided down the road that instead of 120X90 for the thumbnails, you want to use 120X120, you only need to change the image dimension on the page, and image resizer will automaticly recreate the thumbnails for you.

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...