close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Delete files with the new dataassist

Thread began 5/21/2012 8:14 pm by Miguel | Last modified 5/24/2012 12:26 pm by Miguel | 1714 views | 3 replies


Originally Said By: Nico
  Hi. Sorry to ask again but don't understand what you actually do and you delete the file. I am on the details page and adding a new server behavior to delete the image when button delete pressed. I actually use the same trigger databridge uses for deleting the record.

Although the same method works when I am on the results page, it doesn't do anything when on details page.  

Hello nico on the detail page its even more easier to delete a file than the result pages.

Add inside the form a new hidden field name it what ever like oldFile and then bind the record of the file to it example

<input name="oldFile" type="hidden" id="oldFile" value="<?php echo $row_WADAproducts['ProductThumb']; ?>" />

add now the behavior for deleting files

on this screen select for the trigger

Trigger: Button: Delete pressed

Delete folder: select where you have the file

File Name: <?php echo((isset($_POST["oldFile"]))?$_POST["oldFile"]:"") ?>

For file name bind the hidden field you created

and it should work

Now if it where the result page let me knw and ill guid you threw it

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





Ease of use


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