close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to create a dynamic link to a pdf file from existing DataAssist Results page

Thread began 7/05/2016 4:02 pm by tmcbinc99963 | Last modified 7/28/2016 9:28 pm by Ray Borduin | 721 views | 6 replies |

tmcbinc99963

How to open a pdf file using a dynamic link from an existing DataAssist Results page

I have an existing DataAssist Search/Results page (one page). One column of the results table provides a dynamic link to a pdf file. I can get a static link to open the pdf file, and can also get a dynamic link to open one file, but need it to open different pdf files for each result.

When setting the parameters for the dynamic link, it asks for a detail page. Tried having it go to the results page, but didn't work. Tried adding a Detail page using DataAssist Pages, but don't know how to tie it to the existing results page. Is a Detail page even needed just to open a pdf file?

File attached.

Sign in to reply to this post

Ray BorduinWebAssist

No a details page isn't needed. Just create the results page and have it display the pdf location. Then you can go in and update the results page afterward to turn that into a link instead.

Sign in to reply to this post

tmcbinc99963

For each product I created a link in its Db column for the pdf download, which works but seems clumsy.

Would like to have just the image name in the Db and create the link dynamically on the results page. Is this possible? I've tried creating a dynamic link, but get a 'can't be found' error'.

File attached. Site viewable live at PM.

Sign in to reply to this post

Ray BorduinWebAssist

What code did you use for the link when you had the problem? You should be able to hard code the rest of the url and get just the name of the file from the database.

Sign in to reply to this post

tmcbinc99963

I've used this one created by clicking on the folder icon and selecting the Db binding: <?php echo $row_WADAProd['TDS']; ?>

Also tried this one: <a href="images/tech_data_sheet_download_icon.png">

Sign in to reply to this post

Ray BorduinWebAssist

You would do something like:

Also tried this one: <a href="media/pdf/<?php echo $row_WADAProd['TDS']; ?>">download pdf</a>

That way you put the path to the pdf files in manually and then just get the name of the file from the database.

Sign in to reply to this post

tmcbinc99963

This post has been deleted.

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