Here is the 2021 Annual Dev Community Question Digest. Let's check out the most popular questions from InterSystems Developers.
✓5,699 questions published all time
or "So you just got yelled at by your boss, for sending him an unformatted Hello World webpage"
Our previous lesson ended with us serving a Message value obtained from a Caché REST service to the client, using Angular as a runtime. While there is a lot of moving parts involved in this process, the page is not especially exciting at the moment. Before we can start adding new features, we should take a step back and review our tools.
This tutorial is using the JSON functionality built into 2016.2+ versions of Caché. This functionality is partially available in 2016.
I need to pull .zip file and unzip it to access the zip files contained in the archive using the web service call. Can any one suggest is there any option for to get the zip files.
I use Microsoft Query via Excel to query an Intersystems database.
Since upgrading from CACHE to Intersystems, lots of reports fail to refresh twice - by which I mean I can open the report (which may have several separate queries) and query the database once, and then it will refuse to reconnect.
I get:
[IRIS ODBC][State : S1000][Native Code 417] .... Access denied

If I then close and reopen excel, I can run the query again.
If I test the odbc connection between refresh attempts, the connection is
Hi Friends ,
We have requirement to convert source hl7 message to target json message using dtl.
Currently I have created persistent cls for json and completed the dtl.
DTL giving output as json equivalent xml.
Now how to convert DTL result xml object to json?
set oStream = ##class(%Stream.GlobalCharacter).%New()
set json = pResDTLresponseXml.%ToJSON()
set tSC = ##class("%ZEN.Auxiliary.altJSONProvider").%WriteJSONFromObject(pResDTLresponseXml,.json)
set tSC = oStream.Write(json)
if $$$ISERR(tSC) $$$LOGERROR("Error convert dynamic object to JSON stream: "_$System.Status.
Hi all,
I am busy trying out the %UnitTest.TestProduction class to implement some automated production testing.
I have a scenario which I am not sure how to get the final results of for assertion. Below is the scenario I am trying to test, with comments on what I have done.
The Health Dataset application now has Six real healthcare datasets (and more in this week!) to you!
Get it now: https://openexchange.intersystems.com/package/Health-Dataset
Is there some generic way to output a %SQL.StatementResult to CSV?
Hi
How to get shadow status with command line, to monitoring ?
Preview releases are now available for the 2021.2 version of InterSystems IRIS, IRIS for Health, and HealthShare Health Connect.
As this is a preview release, we are eager to learn from your experiences with this new release ahead of its General Availability release next month. Please share your feedback through the Developer Community so we can build a better product together.
InterSystems IRIS Data Platform 2021.2 makes it even easier to develop, deploy and manage augmented applications and business processes that bridge data and application silos.
I am trying to connect to an external SFTP. They have our public key and I have the private key which is password protected. I have the credentials set to the sftp username and the password to the private key.
If I set the private key only, I get a username/password error connecting. If I set both the public and private key files, I get the error below:
ERROR #7510: SSH Error '-19': SSH Error [80101013]: Callback returned error [80101013] at Session.cpp:418,0
I have this working perfectly using filezilla, however I can't get it to work with EnsLib.FTP.PassthroughService.
Hello Everyone,
In October 2021 we asked for input from the IRIS community regarding exam topics for our InterSystems IRIS System Administration exam. We will close the window for providing feedback on the exam topics on Wednesday, January 12, 2022. Thus, if you would like to have your say in what topics are covered on the exam, this is your last chance!
Extra perk for US-based, non-InterSystems employees: To show our appreciation for helping us validate our exam design, we will offer the first 20 volunteers that complete the survey a $50 gift card.
Hi Developers
As you know it's very easy to publish a package to the Developers Community registry.
But how to test it before publishing? How to be sure that everything you introduced into module.xml is installed properly?
See the step-by-step instruction below!
For those of you who might be new to IRIS, and even those who have used Cache or IRIS for some time but want to explore beyond its usually-assumed boundaries and practices, you might want to dive into this detailed exploration of the database engine that is at its heart, and discover just what you can really do with it, going way beyond what InterSystems have done with it for you.
You'll discover that it's actually a hugely powerful yet incredibly simple storage engine that allows you to model any kind of database you wish, once you understand and master its simple, basic principles.
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in December 2021:
We’ve already considered how to run an IRIS-based application in GCP Kubernetes in Deploying InterSystems IRIS Solution into GCP Kubernetes Cluster GKE Using CircleCI. Additionally, we’ve seen how to run an IRIS-based application in AWS Kubernetes in Deploying a Simple IRIS-Based Web Application Using Amazon EKS. Now, let’s look at how to deploy an application to the Azure Kubernetes Service (AKS).
What is the correct data type for decimal numbers precision 5?
I tried %Numeric with Scale 5, but not worked, see:
The "Download Caché Evaluation" at the top of this forum takes the user to a page that only allows her to download versions of IRIS. What am I missing here? Does IRIS encompass Caché? I've wandered around both on the main website and in the Developer Community site looking for a way to only get Caché... Very frustrating.
I appreciate any help you all can provide. Thanks!
Hey Developers,
Ready to participate in our annual December competition?
Join the Advent of Code 2021 with InterSystems and participate in our ObjectScript contest to win some $$$ prizes!

So I've been reviewing a lot of questions posted in the InterSystems community regarding NULL properties in JSON. I've also been reviewing the JSON documentation. None of these things have been able to help me so far.
1. We don't seem to have the %JSON.Adaptor class available for us to use in our system.
2. I'm not really confident enough to create JSON Type classes or backporting code, etc.
I created a dummy class and I need my JSON to look like this:
{
"notanumber":"28001",
"aboolean":true,
"anumber":12345,
"adecimal":1.
Is it possible to call java programs inside SQL statements, like the new LOAD Data, or is this just internal?
I Have a problem with a Signature validator to XML file, when this file have more than one Signature tag.
Like This
Hi Team,
I want to generate HL7 based on passing the HL7 version in InterSystems IRIS.
If there is any possibility to implement in InterSystems IRIS or not?
If yes, then give a solution regarding for same.
Thanks,
Harshdeep Acharya
Hello everyone! Don't miss the Developer Community Post Digest for December 2021.
Hey Developers! Here is a digest of new solutions and applications submitted to the InterSystems Open Exchange in December 2021.
Hello,
I have a question about defining properties for various of services, operations and processes in Productions. Let’s say I have developed a container running an IRIS instance with a single namespace and a production with pre-defined set of components. I’m planning to deploy this container to dev, staging and production environments. These different environments use different settings for the operations, etc. For example, dev-environment could use some test endpoint for an HTTP component, e.g. https://testdomain.com/test and production environment https://proddomain.com/prod.
Hi Devs!
Recently, I needed to create templates for newsletters.
I couldn't find any tools, so I decided to use the CSP (Caché Server Pages) to build the templates.
Let's figure out how to make a newsletter similar to Weekly OEX Digest.
.png)
Weekly OEX Digest
There are strict requirements for HTML email messages.
Basic requirements:
I am a newbie who is trying to learn how to set up a basic connection to Iris using a node js application. I am astounded at the lack of documentation there is on how to do this and even more concerning there are a few errors within the documentation. For example I am on the Native API application within the below link.
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
And it says that you need to create a directory the thing is that it doesn't state which directory this needs to be or any other history.
trying to lock a table via .Net Command results in IrisExcpetions no mater what i try;
Documentation says the Command is supported by TSQL Implementation - any known tricks how to implement this comand?
Hi all,
I try to build a little project for the dataset contest, you can find it here on github: Openflights dataset
My plan is to use just plain SQL. So I've made a few experiments with the new feature LOAD DATA.
Unfortunately all loads produce errors like:
Error: [SQLCODE: <-400>:<Fatal error occurred>]
[Error: <<UNDEFINED>zExecute+83^%sqlcq.OPENFLIGHTS.cls4.1 *%qparsets>]
[Location: <ServerLoop>]
The statements I use looks like this:
This happend with the preview release "IRIS Version 2021.2.0.617". While this error occurs, most rows are written to the database, but some rows are missing.