2014-07-11 7:23 GMT+02:00 Fernando <nando_g...@hotmail.com>:

> There is the code again:
>
> ...
>
> METADATA
>
> "RESULT_FIELDS" "id, pdf_files"
>
> "RESULT_HEADERS" "ID, PDF FILES"
>
> "RESULT_HYPERLINK" "pdf_files||Link to pdf detail"
>
> ...
>
>
>
> $.extend(PM.Custom,
> {
>     // Sample Hyperlink function for result window
>     openHyperlink: function(layer, fldName, fldValue) {
>         switch(layer) {
>             case 'shp_data':
>                 //if (fldName == 'CITY_NAME') {
>                     var linkUrl = 'http:/' + '/localhost /sitejob/files/'
> + fldValue;
>                     window.open(linkUrl, 'wikiquery');
>                     //this.openHyperlinkDialog(linkUrl);
>                 //}
>                 break;
>
>             default:
>                 alert ('See function openHyperlink in custom.js: ' + layer
> + ' - ' + fldName + ' - ' + fldValue);
>         }
>     },
>
>
> Perhaps the error is the non-existence of Custom.js file in the
> "plainlayout3" folder, which I copied from the "default" folder?


My guess is that your custom.js is not being loaded.
If using chrome, use CTRL+Shift+i to start chrome inspector​ and check in
the sources tab.

/r

PS custom.js should live in your config dir.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to