In the mapfile you have to add in RESULT_HYPERLINK the fields of the chart that you use as link. Example: METADATA "DESCRIPTION" "layer" "RESULT_FIELDS" "ID,FIELD1,FIELD2" "RESULT_HEADERS" "Id,field1,field2" "RESULT_HYPERLINK" "FIELD||Link to detail" "LAYER_ENCODING" "UTF-8" END # Metadata
After having done this you continue this way: In the first part of the javascript custom.js, has to insert the run of the file pdf that you want link, then to discriminate the various documents associate it to an univocal field for every polygon. window.open('http://localhost/pathtodocumet/file' +fldValue+ '.pdf'); -- View this message in context: http://www.nabble.com/Creating-a-hyperlink-in-a-query-result-table-tf2014985.html#a5538333 Sent from the Pmapper-users forum at Nabble.com.