Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2015-05-26 Thread zaiGEO
thank you, but it didn't show my pdf, it shows a link like: (about:blank) i don't why?? :/ -- 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-tp4025401p4025770.html Sent

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2015-05-25 Thread zaiGEO
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

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2015-05-25 Thread zaiGEO
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

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2015-05-25 Thread jose mvm
Hi, In your custom.js case: openHyperlink: function(layer, fldName, fldValue) { switch(layer) { case 'YOUR_LAYER_NAME': if(fldName == 'FP_HL') { var linkUrl = 'http:/' + '/YOUR_HOSTNAME/YOUR_FOLDER/' + fldValue +

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2013-11-15 Thread Chris forum
Hi The value of the 'Name' record should be 'test1.pdf' only (=fldValue). Then: openHyperlink: function(layer, fldName, fldValue) { switch(layer) { case 'Jobfunds': window.open('http:/' + '/localhost/pmapper/pmapper5/' + fldValue); break;

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2013-11-15 Thread Solly Vuso
Thank you so much its working now On Fri, Nov 15, 2013 at 9:59 AM, Chris forum bak.fo...@gmail.com wrote: Hi The value of the 'Name' record should be 'test1.pdf' only (=fldValue). Then: openHyperlink: function(layer, fldName, fldValue) { switch(layer) { case

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2013-11-14 Thread Solly Vuso
Thank you very much its working the small problem i have , these pdf are inside localhost\pmapper\pmapper5\test1.pdf but when I click on the link in the results window it doesnt fetch the pdf but it tells me the file is not found I have created a field name and named it Name and inside records

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2013-11-10 Thread gioza
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:

Re: [pmapper-users] How to Hyperlink a pdf document on a search results

2013-11-09 Thread Solly Vuso
Hi Can anyone assist me , I want to hyperlink a pdf documents I have a shape-file that has 5 records(5 points),I want to attach different reports per point. Name 1 2 3 4 5 So that when you click 1 it opens a pdf 1 and when you click 2 it opens pdf 2 Please help me