close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem with DFP combined with DA update

Thread began 3/23/2010 9:01 pm by blackweldermhe400113 | Last modified 3/29/2010 9:04 am by Ray Borduin | 3222 views | 13 replies |

blackweldermhe400113

Problem with DFP combined with DA update

Alright...
The problem I'm having is that the value of the hidden form field isn't populating the DFP file field upon loading of the update page. Meaning, for instance, if I go to update a record from my results page the existing file name in my database for my image isn't passing to the dfp as a default value. I've set the default value for the DFP to the hidden form field, and in the update record behavior I've bound the column name of my image to the server name binding in the WA Update Field. What I'm I doing wrong? I've sat here for hours trying to get it to work properly and don't know what I'm doing wrong. I've followed the pdf for adding the DFP to a DA update and insert pages. The insert pages are working fine, but I can't seem to get it to work properly with the update pages.
Please help!

Sign in to reply to this post

Jimmy Wu

Make sure in the code for the upload server behavior that the default file name is being set:
'DefaultFileName' => "<your file name here>",

If that is blank, try opening the behavior again and setting the default file field and hitting tab before hitting finish.

Sign in to reply to this post

blackweldermhe400113

Default file name...

That was one of the first things I did. I looked all through the forums last night also. The file name is being sent. Any other ideas or will I need to attach my file along with the next post?

Sign in to reply to this post

Jimmy Wu

Yes, if you could send your files so I can take a look at them, that would be great.

Sign in to reply to this post

blackweldermhe400113

Product Update Page

I've attached the products update page. There is only one instance of the DFP now, but will be multiple instances, one for each image field, upon resolution of this problem.

Attached Files
product_Update.zip
Sign in to reply to this post

nickj

I have the same issue

I've checked the Defaultfilename= and it's empty " " nothing I do will populate this field. Next I will try hard coding.
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../pub/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>

Sign in to reply to this post

nickj

Odd fix!

Since i had the WD Upload File in the server behaviors and I had my cursor in the code rather than the page view, updating the WA Upload Files accepted the edit. It seem as though going from the code panel to the server behaviors did the trick!

Sign in to reply to this post

blackweldermhe400113

Still in need of a solution.

I was working on this over the weekend and still haven't been able to get it to work properly. I'm still in need of a solution.

Sign in to reply to this post

nickj

Odd fix didn't work the second time.

Still no solution. I had to copy the default file code from the the dialogue box and paste it into the the Default File= in the source code. Not a very nice solution.

Sign in to reply to this post

blackweldermhe400113

Problem is the default value for the file name is showing in both the binding and code view.

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