Can we make any property immutable once it value is set? For example, I may have a property called RecordCreatedTime to track when the record is created in IRIS, and once it is set, I don't want anyone to modify the value.
We recently encountered an Embedded SQL issue while upgrading to IRIS 2021.1, and thought the issue and workaround might be interesting to share.
Key takeaway: Host variables in an ORDER BY clause of an embedded SQL query that is inside of a method don't work as expected. IRIS versions starting with 2020.1 are affected. As a workaround, add the host variable to the Method's PublicList list and "new" them so the embedded query has access to them.
It's come to our attention that the built-in license in the InterSystems IRIS and IRIS for Health 2021.1 Community Edition release is incorrectly set to expire on October 30, 2021.
There is no impact to any production versions (the Community Edition is for development purposes), but developers will find that their instances stop running and should replace them with new ones. For cases where replacing them is an issue, we have provided an override key.
I apologize for any inconvenience this may cause.
I would like to get current date and time in this format : YYYYMMDDHHMMSS (eg: 20220126155704)
Simplest way to do that I found so far is this :
$translate($zdatetime($horolog,8,1), " :", "")It works, but it's not that great (I would like to avoid string manipulation) Is there a better, cleaner way ?
Hi....
I am trying to execute legacy routines from Cache 2018, into new environment with Iris 2021. I use new JDBC driver to make this connection, and change my java code to execute this legacy routines. But I get this write error: <REMOTE EXECUTE INVALID WRITE>
I changed the mnemonic routine to populate object and return this object to java. And the java class convert this object to json.
This is my simple classes used for this process, just to exemplification:
Java Class
package test; import java.sql.SQLException; import com.fasterxml.jackson.databind.JsonNode; import com.
Currently running Ensemble on Red Hat Enterprise Linux Server release 7.7
One of our clients is requesting files sent to their SFTP site be encrypted with their PGP public key and digitally signed with our PGP private key
We have created a custom class that includes the following command to encrypt the files
if (pAction = "Encrypt") {
// Find the Key ID from the Keyname
set tKeyId = ..GPGKeyLookup(pKeyName, ..#PUBLICKEYLUT)
set tCmdLine = "gpg --homedir "_pGPGhomedir_" --always-trust -r """_tKeyId_""" -o "_pOutFileName_" -e "_pInFileName
}
// Execute the command to generate the output file
write
Hi Community
I have logged final generated json in the object script class using below statement
where newMsg contains JSON stream, which contains nearly 1000000 + bytes.
In message viewer I am able to see Only some part of the json .
I want to capture all the json for my validation, how can i see total JSON in Management portal or any other source?
Thanks in Advance
I am working with a client database that is growing exceptionally fast ( about 15G/day). As I understand it, the usage of the global ^STMONITS to gather statistics can consume a large amount of database space. This client in question is using this global. I would like to determine of the 1.7T size of the database, how much is being consumed with statistics data by the usage of the ^STMONITS global. Is there a method to get this value whether a size or percentage of the database overall size.
ERROR #6279: XML output string length is greater than the maximum string length.
This is Error I am getting while trying to get data from an obj and write into the test file.
Any Suggestions Please..
Hello,
I have been tinkering with FHIR recently and tried to update the FHIR servers Capability Statement after I made some changes. I updated an OAuth2.Issuer Service Registry entrys URL and needed to update the metadata which the FHIR server sends to the client so they can get the updated URL for the authorization server we use.
However, when I run the Console Setup tool with
do ##class(HS.FHIRServer.ConsoleSetup).Setup()I get an error while the update is happening that %ZHS.HC.OAuth2.Utils class cannot be found. I wonder why this happens.
I'm trying to send an HTTP POST request with form-data from an Angular app to a Cache backend, but my request fails with a 406 Not Acceptable error.
httpRequestHeaders = new HttpHeaders({
Authorization: 'Bearer ' + sessionStorage.getItem('access_token'),
Accept: ''
});
uploadFile(file: File) {
const formData: FormData = new FormData();
formData.append("file", file);
const req = new HttpRequest("POST", this.postURL, formData, {
reportProgress: true,
responseType: "json",
headers: this.httpRequestHeaders,
});
return this.http.I have a PDF ZEN report module that I'm using
What I need is for a particular value to add a background image to the <item> that is calling the XSLFoXslt
The code I have is the following but all that happens is the color.
{
<xsl:template name="HighLight">
<xsl:param name="Value"/>
<xsl:attribute name='background-image'>url("images/trash-icon.png")</xsl:attribute>
<xsl:attribute name='background-repeat'>no-repeat</xsl:attribute>
<xsl:attribute name='color'>#ffffff</xsl:attribute> </xsl:if>
}
There is a major opportunity in South Africa for a complex WMS solution.
We have a long standing production warehouse management system, we need to partner with an organisation that has track record of such implementation in the past two (2) years.
Are there any partners out there that might be interested in a Joint Venture ?
Hi Developers,
I need to construct a string as xml which consists of "" in it. As example below
set teststr ="<book id="bk105"><author type="old">Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>"
giving error in the area where " in middle of the string (highlighted in bold)
Could anybody suggest to me, how to construct a static string in object scripts with " in it?
Hello To all my fellow Cache Developers,
How the new year is finding everyone well. The purpose of this post is to ask everyone a question about Cache tablepane dblclick functionality that does not appear to be working like I thought it would. Here is my dilemma: I have a fairly simple tablepane that displays several columns of data (just strings and dates). I setup the tablepane property dblclick to call a client method, so I can take an action based on the row that the user double-clicked on. So that table property is set to this dblclick="zenPage.
Hey Community,
We invite you to join the next French stream on InterSystems Technologies #8, hosted by @Guillaume Rongier!
Date & Time: February 3rd, 12:00 Paris time.
👉 Direct link to join: https://youtu.be/2PFgnuF8bO8
.jpeg)
If you're deploying to more than one environment/region/cloud/customer, you will inevitably encounter the issue of configuration management.
While all (or just several) of your deployments can share the same source code, some parts, such as configuration (settings, passwords) differ from deployment to deployment and must be managed somehow.
In this article, I will try to offer several tips on that topic. This article talks mainly about container deployments.
Requirement: Transform source XML message to target JSON.
step1: First create json equivalent xml from any online tool.
Did you catch an Experience Lab at the 2021 Virtual Summit? Head over to the InterSystems Learning site to access all four of these hands-on exercises, and get up to speed on:
Hey Community,
Learn about the changes we've made to InterSystems IRIS Containers, including security updates and the new web gateway container:
Sometimes it is necessary to transfer or migrate data and data schema from Postgres to IRIS. There are currently a few options for doing this, but the two most popular options are using DBeaver (https://openexchange.intersystems.com/package/DBeaver) or SQLGateway. The first will be demonstrated in this article and the second is presented in an excellent article by Robert Cemper, DB Migration using SQLgateway (https://community.intersystems.
Astronomers’ tools
5 years ago, on December 19, 2013, the ESA launched an orbital telescope called Gaia. Learn more about the Gaia mission on the official website of the European Space Agency or in the article by Vitaly Egorov (Billion pixels for a billion stars).

However, few people know what technology the agency chose for storing and processing the data collected by Gaia. Two years before the launch, in 2011, the developers were considering a number of candidates (see “Astrostatistics and Data Mining” by Luis Manuel Sarro, Laurent Eyer, William O’Mullane, Joris De Ridder, pp. 111-112):
- IBM DB2,
- PostgreSQL,
- Apache Hadoop,
- Apache Cassandra and
- InterSystems Caché (to be more precise, the Caché eXTreme Event Persistence technology).
Comparing the technologies side-by-side produced the following results (source):
| Technology | Time |
|---|---|
| DB2 | 13min55s |
| PostgreSQL 8 | 14min50s |
| PostgreSQL 9 | 6min50s |
| Hadoop | 3min37s |
| Cassandra | 3min37s |
| Caché | 2min25s |
The first four will probably sound familiar even to schoolchildren. But what is Caché XEP?
Hi Community,
Welcome to the first InterSystems Spanish technical article writing competition! Write an article in Spanish on any topic related to InterSystems technology:
🏆 1st Spanish Tech Article Contest 🏆
Duration: February 1-28, 2022
Prizes for everyone: Everyone who publishes an article on Spanish Dev Community during this period will receive a special prize pack!
Main prize: Apple iPad
I want an example that converts CDA to FHIR R4.
Need Full production pipelines like service, process, and operations.
I'm using this Dockerfile to build .Net Gateway with my PEX BS. It works fine. If I change the image reference here to store/intersystems/iris-community:2021.2.0.617.0 in line 8 (so update from 2020.2 to 2021.2) it fails to build with:
KafkaConsumer.cs(4,20): error CS0234: The type or namespace name 'EnsLib' does not exist in the namespace 'InterSystems' (are you missing an assembly reference?) [/source/KafkaConsumer.csproj]
KafkaConsumer.cs(9,34): error CS0246: The type or namespace name 'BusinessService' could not be found (are you missing a using directive or an assembly reference?Hi Community,
I have created persistent classes for source, target XSDs and completed DTL. When I tested in DTL window by passing source xml it is generating below target xml as result.
DTL result:
<root>
<CaptureSource>2</CaptureSource>
<Document>
<Description>1235@TEST.COM.Message.ReportType</Description>
<EventDate>1489@TEST.COM.Message.EventDateZ</EventDate>
<ExternalSystemId>1213@TEST.COM.Message.ReportID</ExternalSystemId>
<FileContent>1142@TEST.COM.Message.
Hello everyone,
I am having a challenge with the IRIS community version in Docker with wsl2. Host machine is Win 11 and the IRIS/Ubuntu image is Ubuntu-20.04 from running 'wsl -l -v.
I am not able to reach the WebPortal in IRIS nor the Super User port. docker ps -a = containers.intersystems.com/intersystems/iris-community:2021.1.0.215.3 "/tini -- /iris-main" 3 weeks ago Up 26 hours (healthy) 0.0.0.0:1972->1972/tcp, 2188/tcp, 53773/tcp, 0.0.0.
I am looking for a way to find all properties defined in any given class through coding, including those inherited from parent class(s). In case of inherited properties, I would like to know from which class etc.
A related question: XML adaptor provides a way to export xml schema for a class. Is there a similar method for JSON adaptor to generate a JSON schema for a class?
Thanks in advance for your help.
Hello Community,
to return data from the OnPage() method of a %CSP.Page I used to simply write out the value of a %DynamicArray e.g. via
and
Large objects bigger than 4MB result in an exception when trying to create return values using this way. What is best practice for returning values as JSON, especially if values exceeding the capcity of the %String class are to be expected? I saw that it is possible to write data to a file with e.g.:



