set data = "{""profile_id"":""9XOzzcI8NfSUjxAhEt0cTLRejwmp6HPi"",""biometrics"":[{""timestamp"":""2017-05-17T13:45:40"",""utc_offset"":""+02:00"",""resting_heartrate"":120.0,""spo2"":98.0,""activity_id"":""591c540aac8f295479ee14ce""}]}"
do ##class(%ZEN.Auxiliary.jsonProvider).%ParseJSON(data,,.object) write object."profile_id" write object.biometrics.GetAt(1).timestamp
You unmark "password" and mark "not autheticate" of service "%Service_Console" and each user your configure namespace and routine default of authenticate.
way of portal: system -> system manager -> services
go to post
Thank's Sean.
go to post
But, "$ZF(-1)" is not return result of execution command.
You see in documentation:
"$ZF(-1) does not return operating system command results"
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...
go to post
In portal administration is possible visualize your error.
Operation -> System Log -> Log of errors the application.
Errors are stored in the error namespace caused;
go to post
Hello, you can use the class, for serialize and deserialize JSON.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
%DynamicObject.
go to post
Great complementation.
Thank you very much.
go to post
My understanding was just that.
I just was not getting this definition that PrimaryKey came from the SQL world.
Thank you
go to post
Assuming you're on 2013.1+:
set data = "{""profile_id"":""9XOzzcI8NfSUjxAhEt0cTLRejwmp6HPi"",""biometrics"":[{""timestamp"":""2017-05-17T13:45:40"",""utc_offset"":""+02:00"",""resting_heartrate"":120.0,""spo2"":98.0,""activity_id"":""591c540aac8f295479ee14ce""}]}"
do ##class(%ZEN.Auxiliary.jsonProvider).%ParseJSON(data,,.object)
write object."profile_id"
write object.biometrics.GetAt(1).timestamp
go to post
You unmark "password" and mark "not autheticate" of service "%Service_Console" and each user your configure namespace and routine default of authenticate.
way of portal:
system -> system manager -> services
Have you tried that?
go to post
- Is not declare ##class, is yes direct: Classe.method()
- Flux programing in each levels and online breaks:
Class.new()
.methodA()
.methodB()
.methodC()
go to post
Hi Mikhail, very nice!
I am configure here the process!
go to post
OK.
But if not mapping in database that does not Journal, is it possible?
go to post
If still available I'd like to join.
go to post
Can you explain what you did ? Dmitry
go to post
Not exactly - Dmitry
It would be the color of studio output line background
go to post
Hi, Jon.
Yes, I here use different developer namespace, one for testings.
I will go about hooks of control sources, Thanks.
go to post
Dmitry, Thanks.
go to post
Thanks.