go to post Robert Cemper · Aug 4, 2025 It might be great to remove the related refences alsofrom official documentationPyhttps://docs.intersystems.com/components/csp/docbook/Python-Native/v1.0.0/irisnative.iris.html#irisnative.iris.function Nodes.jshttps://docs.intersystems.com/components/csp/docbook/NodeJS-Native/v2019.2/external-_intersystems-iris-native_.Iris.html Javahttps://docs.intersystems.com/iris20201/csp/docbook/DocBook.UI.Page.cls?KEY=BJAVNAT_call#BJAVNAT_call_function .NEThttps://docs.intersystems.com/iris20201/csp/docbook/DocBook.UI.Page.cls?KEY=BNETNAT_call#BNETNAT_call_function Also Class reference for 2025.1https://docs.intersystems.com/iris20251/csp/documatic/%25CSP.Documatic.cls?LIBRARY=%25SYS&CLASSNAME=%25Net.DB.Iris#Function like this:Calls a function (label^routine), passing zero or more arguments and returning the function's return value. Trailing arguments may be omitted, causing default values to be used for those arguments. This method throws an exception when an error condition is encountered. routineName input The name of the routine that implements the function to be called. functionName input The name of the function to be invoked. args input... The arguments to be passed to the method. return The value returned by the functionName function. Such a misleading documentation roughly 1.5 years behind reality is not so impressive It took days to find this out. 😖
go to post Robert Cemper · Aug 4, 2025 Thank you for the explanation. @Vitaliy Serdtsev 🙂👍This matches my investigations
go to post Robert Cemper · Aug 3, 2025 quite an interesting hidden feature. Though testing with _SYSTEM/SYS and %All, this had no visible impactIt is exactly 1 method that breaks in all 4 Nativ packages And with %All the rest is available anyhow and working fine. BUT eventually %All is not All enough
go to post Robert Cemper · Aug 1, 2025 Thanks for the input.A good idea to put the demo in a separate repoIt is just not directly obvious from OEXworks fine, and module.xml looks good. Review placed
go to post Robert Cemper · Jul 21, 2025 >> Naming in ObjectScript has a historic background In the beginning, the grand-grandfather of IRIS was a full-stack operating systemAnd it was running on machines with only 64 KBytes of memorySo saving space in memory was the highest virtue of a developer then.Consequently, all names were as short as short could be.Typically using single-character named variables.And A was different from a to widen the available scopeOver the years, this was kept for backward compatibility and to decrease the fear of upgradesAnd I have seen customers running 40+ year old code also in IRIS without any bit changed.
go to post Robert Cemper · Jul 21, 2025 Your graphic is marvelous. I like it! 😀And also your article!
go to post Robert Cemper · Jul 18, 2025 In your screenshot, I see $('<div>') simpledialog2( But W3Schools says:https://www.w3schools.com/Jquery/jquery_syntax.asp Basic syntax is: $(selector).action() A $ sign to define/access jQuery A (selector) to "query (or find)" HTML elements A jQuery action() to be performed on the element(s) I didn't write JavaScript for decades, and I'm not an expert.BUT: I fail to detect the point after the closing bracketIt was just my Studio that marked it as an error. created with NPI
go to post Robert Cemper · Jul 17, 2025 you could try to set your terminator to null String "". it is optional accordig to docshttps://docs.intersystems.com/iris20251/csp/docbook/DocBook.UI.Page.cls?KEY=GIOD_tcp#GIOD_tcp_open terminators Optional — A list of up to eight user terminator characters that will terminate reads on the TCP binding device. If you specify both T mode and terminators at the same time, T mode is ignored.
go to post Robert Cemper · Jul 17, 2025 I wonder how you expect to know that your input is complete without any terminator.And according to your example, you also don't have a fixed length:Withoit an clear signal timeout seems to be the only way to know you are complete.You may read input character by character without guarantee how do decide for 1 or 10 or 100 or 1000 ?Some ending character (eg. not numeric) or a fixed length is required
go to post Robert Cemper · Jul 17, 2025 Confirmed. I just checked: containers.intersystems.com/intersystems/iris-community:2025.1 containers.intersystems.com/intersystems/iris-community:latest-cd license valid to 4/6/2026
go to post Robert Cemper · Jul 17, 2025 see also docshttps://docs.intersystems.com/iris20251/csp/docbook/Doc.View.cls?KEY=GCSP_directives#GCSP_directives_expressionscreated with NPI
go to post Robert Cemper · Jul 17, 2025 The correct syntax is &html < your content > I didn't detect the closing > in your screenshot It generates:Write " your content "in the resulting .int codeJust the same as it did in Caché or Ensemblecreated with NPI
go to post Robert Cemper · Jul 16, 2025 My personal preference would be verify Websockets with a js client (even in CSP) then move it to IRIS with all hidden and default features if required at all. You may check all the old WS examples in OEX
go to post Robert Cemper · Jul 16, 2025 Hi your codeSet WebSoc=##class(%Net.WebSocket.Client).%New(WebSocURL,cre,evl) Just uses the Default %Net.HTTPrequest that contains url port, ....But %New offers more• Methode %OnNew(pURL As %String, pCredentials As %Net.WebSocket.ICredentials = $$$NULLOREF, pEventListener As %Net.WebSocket.IEventListener = $$$NULLOREF, pAcceptedProtocols As %String = "", pRequest As %Net.HttpRequest = $$$NULLOREF) als %Statusand in %Net.HTTPrequest you have a property porthttps://docs.intersystems.com/iris20251/csp/documatic/%25CSP.Documatic.cls?LIBRARY=%25SYS&PRIVATE=1&CLASSNAME=%25Net.HttpRequestI never needed it as protocol ws and wss was sufficient.But there is no other place for a port to be assigned
go to post Robert Cemper · Jul 16, 2025 You mentioned: WebSockets are enabled on ports 80 & 443, but the code fails Websockets work bi-directionalSO: Did you assign / map those ports also in your docker-compose ?
go to post Robert Cemper · Jul 14, 2025 Docker build fails : ERROR MESSAGE ! iris The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested 0.0s ✔ Container docker-setup-1 The required Platform is not mentioned as a Prerequisite Is it also available for amd64 processors ?
go to post Robert Cemper · Jul 11, 2025 Possible workaround: $ListToString(%DLIST(DISTINCT(REPLACE(ARCIM_Desc,'<br/>',''))),'<br/>') as "ARCIM_Desc",
go to post Robert Cemper · Jul 11, 2025 Details on $LISTTOSTRING Your source seems to contain the <br/>Try a different separator e.g. @ to verfiy it.If it is in and you can see it, HTML tags < > might be escaped for some reason and not berecognized but displayed as text instead