Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsdetailed viewsdetailed views
Previous
 
Next
New Post
10/29/2009 3:47 PM
 

Hello,

I am using the Reports module 5.0 ( on dnn 4) and I would like to know how to dynamically generate a URL for one of the fields generated (and displayed) by the initial query for subsequently drilling down to a more detailed view. In other words, how do I generate a query inside the report for a new query?

Example: you show countries and towns (on an entry report page) with town being a link displaying the available pubs in that town.

Is it possible at all?

Thanks,

Franco

 
New Post
12/22/2009 8:12 AM
 

In your sql statement, you could build the html code for a "a href" that includes the URL from your dataset.   To make this work for this sample data --
Country: USA City:NY set up an html template with the following information:

<a href=http://maps.google.com/?q=[City]>[City]</a>, [Country]

Use a select statement that produces the two values, perhaps something like: select Country, City from vendors

 

 
New Post
12/22/2009 8:25 AM
 

I haven't figured out how to create an interactive dropdownlist that is populated from a select statement, then used in a second select statement to create a report.

However, if what you are seeking is simply how to create an URL link within a report, one method is a combination of SQL code and a HTML template for visualization.

For instance, the vendor file has city and country as fields, so a SQL statement like: Select City, Country from vendors produces those two fields as output.

Then set up a HTML visualization file like the following example using googlemaps:
<a href="http://maps.google.com/?q=[City]"  target="_blank">[City]</a>, [Country]<br />

This should produce a list that has the city with a hyperlink to the google maps page for that city.  You'll need to figure out what the URL syntax is for your need and place that in where the google example above is.

 
New Post
12/22/2009 10:44 AM
 

For SQL Reports with Dropdown cabability - take a look at SQLGridSelectedView from www.tressleworks.ca

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsdetailed viewsdetailed views


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out