Re: [pmapper-users] How to Hyperlink a pdf document on a search results
Brought to you by:
arminburger
From: zaiGEO <zai...@li...> - 2015-05-25 11:12:05
|
Hello, i didn't understand how to resolve it (pdf hyperlink): this is my code: **Mapfile: METADATA "DESCRIPTION" "projet_agriculture" "RESULT_FIELDS" "CAF,MONTANT_DH,DEVISE,INTITULE,CP,FP,FP_HL,ST_YEAR,END_YEAR,ABF,DATE_ABF,ABF_HL,CAUTION_DEF,POP,SURF_HA" "RESULT_HEADERS" "Code_affaire,Montant_en_DH,Devise,Intitule,Chef_de_projet,Fiche_de_projet,Fiche_de_projet_hyperlien,Date_début,Date_fin,Attestation_de_bonne_fin,Date_attestation_de_bonne_fin,Attestation_de_bonne_fin_hyperlien,Caution_définitive,Population,Surface_en_Ha" "RESULT_HYPERLINK" "FP_HL" **custom.js: // Sample Hyperlink function for result window openHyperlink: function(layer, fldName, fldValue) { switch(layer) { case 'projet_agriculture': if(fldName == 'FP_HL') { window.open('http:/' + '/localhost:8182/pmapper_doc/' + fldValue); //this.openHyperlinkDialog(linkUrl); } break; thank you, it is urgent plz -- 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-tp4025401p4025765.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |