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

rating

Using Upload behaviors on Update pages.

Thread began 5/31/2013 12:46 pm by jlowery | Last modified 5/31/2013 10:10 pm by Jason Byrnes | 434 views | 11 replies |

jlowery

Using Upload behaviors on Update pages.

I have several upload file server behaviors on my update page. They upload fine, but when I open the update page again to change another value, the previously stored values in the upload fields are lost. How do I correct this?

Thanks - Joe

P.S. Hi everyone!

Sign in to reply to this post

Jason ByrnesWebAssist

Hi Joe,

for each File Field, add a hidden form element.

bind the initial value of the hidden form element to the corresponding file column from the update page recordset.

In the Upload File server behaviors, bind the Default File setting to the hidden form element.

Sign in to reply to this post

jlowery

I've added the hidden form fields, but they are not showing up in the Update Record server behavior Bindings tab. I've tried refreshing the Bindings panel, the Database panel, saving the page, closing and re-opening it to no avail. What can I do?

Sign in to reply to this post

jlowery

Nevermind - I was looking at the wrong sb.

Thanks - Joe

Sign in to reply to this post

jlowery

Spoke too soon. Once I've opened the Upload File server behavior to bind the Default File setting as directed, the Finish button no longer works. I can click cancel, but Finish is not recognized. I've tried restarting DW (I'm using 5.5 for this project) but no love. Should I install Data Bridge in CS6?

UPDATE: Turns out Finish doesn't work regardless of whether I make any changes or not. I'll try installing in CS6.

Sign in to reply to this post

Jason ByrnesWebAssist

Try uninstalling Data Bridge from DW CS5.5 and them re installing it.

Sign in to reply to this post

jlowery

I went with installing the latest Data Bridge into CS6. I'm getting an error message now:

The following translators were not loaded due to errors:
WA Universal Email.htm: has configuration information that is invalid.
WADA_CFML_RepSel.htm: has configuration information that is invalid.

How do I correct?

Sign in to reply to this post

Jason ByrnesWebAssist

reset the wrokspace layout:
go to Window -> Work Space layout -> Reset '<your layout name>'

and Delete the Dreamweaver Cache file from the users configuration folder:
http://www.webassist.com/community/tutorials/view_tutorial.php?tid=95

Sign in to reply to this post

jlowery

Jason - back to the original question. I created a hidden field and gave it the default value pulled from the existing database column as pulled from the recordset and then set the Default File value in the corresponding File Upload sb, but it's still clearing out the database entry whenever I update anything else in the record. What next?

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page so i can see the code.

Sign in to reply to this post
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...