Set param1=$Get(pInput.Attributes("URL")) $$$LOGERROR("param1: "_param1) Set param2=$Get(pInput.Attributes("Params","type",1)) $$$LOGERROR("param2: "_param2) Set param3=$Get(pInput.Attributes("Params","card",1)) $$$LOGERROR("param3: "_param3) Set param4=$Get(pInput.Attributes("Params","type",2)) $$$LOGERROR("param4: "_param4)
Event Log
')+'
';
content += '';
return content;
},
"modalShow": function() {
// add ensExceptionModalGroup to class for floating div
var modalGroup = EnsException.modalGroup;
if (modalGroup) {
var div = modalGroup.getFloatingDiv();
if (div) div.className += ' ensExceptionModalGroup';
}
// override default behaviour -- user must make a choice
var mouseTrap = document.getElementById('zenMouseTrap');
if (mouseTrap) mouseTrap.onmouseup = null;
},
"modalDelete": function() {
// clean up floating div
var modalGroup = EnsException.modalGroup;
if (modalGroup) {
var div = modalGroup.getFloatingDiv();
if (div && div.parentNode) {
div.parentNode.removeChild(div);
}
}
}
}
window.zenUserExceptionHandler = EnsException.exceptionHandler;
Tipo
ID
Hora de Registro
Sessão
Processo
Origem
Texto
Info
599
2016-05-10 14:44:54.106
65352
Demo.REST.MathService
Closing TCP Connection Job
Info
598
2016-05-10 14:44:54.105
65352
Demo.REST.MathService
Disconnecting from 9980<-172.18.174.181:55430
Erro
596
2016-05-10 14:44:54.099
65352
Demo.REST.MathService
param4: phill
Erro
595
2016-05-10 14:44:54.098
65352
Demo.REST.MathService
param3: gold
Erro
594
2016-05-10 14:44:54.098
65352
Demo.REST.MathService
param2: val
Erro
593
2016-05-10 14:44:54.096
65352
Demo.REST.MathService
param1: /teste/api/v1/person
Info
592
2016-05-10 14:44:54.076
65352
Demo.REST.MathService
ConfigItem 'Demo.REST.MathService' started in job 65352
Info
591
2016-05-10 14:44:54.071
43268
Demo.REST.MathService
Disconnecting from 9980<-172.18.174.181:55430
Info
590
2016-05-10 14:44:54.057
43268
Demo.REST.MathService
New connection on port 9980 from 172.18.174.181:55430
Hi,
I had the same case because I don't use %CSP.REST, so I used the code below to get the parameters of the URL.
URL: http://ipbrdmzvlx163:9980/teste/api/v1/person?type=val&card=gold&type=phill
Set param1=$Get(pInput.Attributes("URL")) $$$LOGERROR("param1: "_param1)
Set param2=$Get(pInput.Attributes("Params","type",1)) $$$LOGERROR("param2: "_param2)
Set param3=$Get(pInput.Attributes("Params","card",1)) $$$LOGERROR("param3: "_param3)
Set param4=$Get(pInput.Attributes("Params","type",2)) $$$LOGERROR("param4: "_param4)
Event Log
')+'
'; content += ''; return content; }, "modalShow": function() { // add ensExceptionModalGroup to class for floating div var modalGroup = EnsException.modalGroup; if (modalGroup) { var div = modalGroup.getFloatingDiv(); if (div) div.className += ' ensExceptionModalGroup'; } // override default behaviour -- user must make a choice var mouseTrap = document.getElementById('zenMouseTrap'); if (mouseTrap) mouseTrap.onmouseup = null; }, "modalDelete": function() { // clean up floating div var modalGroup = EnsException.modalGroup; if (modalGroup) { var div = modalGroup.getFloatingDiv(); if (div && div.parentNode) { div.parentNode.removeChild(div); } } } } window.zenUserExceptionHandler = EnsException.exceptionHandler;Doc: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...