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.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to