hi, probably the simplest solution is: 1) in your POINT shapefile add a field and populate it with pdf file's name (point1 ---> pdf name)
2) modify your mapfile in the part concerning the point layer in this way: ... METADATA "PM_RESULT_HYPERLINK" '{ "FIELD NAME, THE ONE OF YOUR PDFs NAME": {"alias": "Link to PDF"} }' ... 3) modify your custom.js in this way: // Sample Hyperlink function for result window openHyperlink: function(layer, fldName, fldValue) { switch(layer) { case 'POINT LAYER NAME AS DECLARE IN MAPFILE': //if (fldName == 'NAME OF PDF FIELD') { var linkUrl = 'http://www.yoursite.com/PATH WHERE YOUR PDFs ARE LOCATED/' + fldValue; window.open(linkUrl, 'wikiquery'); //this.openHyperlinkDialog(linkUrl); //} break; -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Re-pmapper-users-How-to-Hyperlink-a-pdf-document-on-a-search-results-tp4025401p4025402.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users