go to post Matjaz Murko · Jun 16 Hi. I just restarted the Intersystems ObjectScript extension from InterSystems ObjectScript Extension Pack to activate the updates (restart was proposed by VS Code) and now it is working without any error. Tnx all for your replies. Regards, Matjaž
go to post Matjaz Murko · Feb 7 Hi. We are using REST interface to run RFC with JSON serialization. Regards,Matjaž
go to post Matjaz Murko · Jun 4, 2024 F x=1:1:$L(customString,",") dosomething($P(customString,",",x))
go to post Matjaz Murko · May 9, 2024 Hi. Maybe you should use calculated property - something like this: Class User.CExampleJSON Extends (%RegisteredObject, %JSON.Adaptor, %XML.Adaptor){Property something As %Integer(%JSONINCLUDE = "NONE", DISPLAYLIST = ",OK,Error,Warning", VALUELIST = ",0,1,2") [ InitialExpression = 0 ];ClassMethod RunMe(){ set obj = ..%New() set obj.something = 2 do obj.%JSONExportToString(.string) write "JSON : " _ string,!!! write "Content : " _ ..somethingLogicalToDisplay(obj.something),!}Property somethingDisplay As %String(%JSONFIELDNAME = "something") [ Calculated ]; Method somethingDisplayGet() As %String [ ServerOnly = 1 ]{Quit ..somethingLogicalToDisplay(..something)} }
go to post Matjaz Murko · Feb 1, 2024 I'm trying to pass JSON serialized parameter to native .NET API method ClassMethodIRISList, but Stream type is not possible.
go to post Matjaz Murko · Nov 26, 2023 But I want just to SEND data to external system every 60s to update it, why should I use Service? Isn't Service used for incomming calls?
go to post Matjaz Murko · Nov 2, 2023 From IRIS launcher it doesn't work, because it wants to open DocBook.UI.Page.cls localy, but it does not exists.
go to post Matjaz Murko · Nov 2, 2023 Hi. WebSocket protocol was not enabled. After enabled it, it works fine. Tnx!
go to post Matjaz Murko · Nov 1, 2023 http://10.40.1.32/iris/csp/docbook/DocBook.UI.PortalHelpPage.cls?KEY=Home Not Found The requested URL /iris/csp/docbook/DocBook.UI.PortalHelpPage.cls was not found on this server. It was upgraded from 2023.1.
go to post Matjaz Murko · Jul 21, 2023 Hi. I have used the same solution already. Tnx. Regards, Matjaž.
go to post Matjaz Murko · Apr 4, 2023 Hi. No difference, but it should work also with Material->Sifra, shouldn't it? Regards,Matjaž
go to post Matjaz Murko · Mar 21, 2023 Hi. I'm using modem on COM port and appropriate AT commands. Regards,Matjaž
go to post Matjaz Murko · Aug 29, 2022 I did some upgrade to newer version of IRIS and it looks like it working now as expected. Tnx! Regards,Matjaž.
go to post Matjaz Murko · Jul 24, 2022 I did some research... Relationship properties with cardinality one or parent are not included by default in JSON serialization. If property is included with parameter %JSONINCLUDE is not enough, because serialization causes infinitive recursion. XData Mapping or %JSONINCLUDE="NONE" in related class should be used to avoid infinitive recursion. Regards,Matjaž