Hey Community,
It's voting time! Let's cast your votes for the best applications in the InterSystems Full Stack Contest 2022:
How to vote? Details below.
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Hey Community,
It's voting time! Let's cast your votes for the best applications in the InterSystems Full Stack Contest 2022:
How to vote? Details below.
Hey Developers,
Develop a Java application that connects to InterSystems IRIS® data platform relationally, natively, or with objects:
There are many ways to generate excel files using Intersystems, some of them are ZEN reports, IRIS reports ( Logi reports or formally known as JReports), or we can use third party Java libraries, the possibilities are almost endless.
But, what if you want to create a simple spreadsheet with only Caché ObjectScript?
The Carbon Footprint Counter application uses the GHG Protocol to measure carbon emissions on enterprises. The GHG protocol establishes comprehensive global standardized frameworks to measure and manage greenhouse gas (GHG) emissions from private and public sector operations, value chains and mitigation actions.
Building on a 20-year partnership between World Resources Institute (WRI) and the World Business Council for Sustainable Development (WBCSD), GHG Protocol works with governments, industry associations, NGOs, businesses and other organizations. (source: https://ghgprotocol.org/about-us).
This might be a dumb question but I didn't see anything about it in the Mirroring documentation. Are processes that are currently running when the primary fails over to the secondary automatically switched over and continue processing? Or are they terminated and would need to be restarted on the secondary?
I get this on preparing a sql query
ERROR #5580: SQL Privilege Violation: 'User UnknownUser is not privileged for the operation'
There was some embedded sql queries before that which worked fine however.
Hi developers!
Here is the score of technical bonuses for participants' applications in the InterSystems Climate Change Full Stack Contest 2022!
| Project |
Climate Change
|
isc.rest
|
isc.ipm.js
|
Embedded Python
|
AtScale
|
Docker
|
I have followed the Article: Continuous Delivery of your InterSystems solution using GitLab, On our own Linux environment it works well but when I try to run it on a clients windows server; and the following command is run by the runner
irissession IRISHEALTH -U TEST "##class(isc.git.GitLab).load()"
we get the following "error"
<NOTOPEN>>
I do not know why this happens, it does look like it has something to do with user rights but I am totally lost at this point as we have done everything I can think off relating to grant correct access etc.
Let's say I have two lists of connected data where elements of listTwo only make sense if given an item of listOne as context:
listOne = ["A", "B", "C"]
listTwo = ["x", "y", "z"]
Tuples like ("A", "y") and ("C, "x") make sense, but "A" or "x" by themselves don't. I would like to pass in a list of such tuples into a method and have it handle each tuple in the list. So what would be the best way to format them given that ObjectScript does not have specialized tuples? Would it be nested $LISTBUILD lists or something else?
Hi Community!
@Joan.Pérez published a review that it is not very clear what applications are available for InterSystems Package Manager. Thanks Joan! Indeed it deserves a post.
There at least two ways I know to showcase them:
1. Run find command in zpm:
IRISAPP>zpm ============================================================================= || Welcome to the Package Manager Shell (ZPM). || || Enter q/quit to exit the shell. Enter ?
Hi
I'm trying to migrate a database from cache to iris but i get this from one of the classes on compiling.
ERROR #9101: Global name 'Jobcosting.JobActivityGroupGroupD' for 'IDLocation' is too long, must be no more than 31 characters in length.
> ERROR #5030: An error occurred while compiling class 'Jobcosting.JobActivityGroup'
Hi,
Is there a nice cheat sheet for the IRIS command line (terminal) application?
Hey Community,
Enjoy watching the new video on InterSystems Developers YouTube channel:
Hello,
I work on deploying IRIS using Kubernetes operator and Red Hat OpenShift. I encouraged another team working on Java application to consider using IRIS as database. My team deployed IRIS cluster using two mirrored data pods for the other team. The other team asked me for the connection information.
To learn how to use Java with IRIS, I attempted to deploy two apps from Open Exchange:
https://openexchange.intersystems.com/package/CRUD-GLOBALS-IRISNATIVEAP…
Here I got errors like this:
package com.intersystems.jdbc does not exist
Does anyone has an ini parser/writer in ObjectScript they can share?
Say I have a persistent class in IRIS with an optional property EmailOptIn:
Class Person Extends %Persistent
{
Property Name As %String;
Property EmailOptIn As %Boolean;
}
I later realize that I'm doing a lot of null-checking on this property where I shouldn't need to. The solution is to make this a required property:
Class Person Extends %Persistent
{
Property Name As %String;
Property EmailOptIn As %Boolean [ Required ];
}
When I make this change I'll need to update all the existing data to set a reasonable default where it is null.
Leet (or "1337"), also known as eleet or leetspeak, is a system of modified spellings used primarily on the Internet. It often uses character replacements in ways that play on the similarity of their glyphs via reflection or other resemblance. Additionally, it modifies certain words based on a system of suffixes and alternate meanings. There are many dialects or linguistic varieties in different online communities. Wikipedia
You'll have to translate a string into a LeetSpeak. As usual shortest solution wins.
As I was thinking what I could develop for InterSystems Full Stack Contest, I saw this post:
https://community.intersystems.com/post/how-access-production-items-through-objectscript
I developed ProductionManager.csp. It displays items in the active production. It also displays the Class in use and the date and time of last message. I believe these data points can help you make decisions which items to remove from the production.
I read that contest asked for apps which insert, update, or delete data in InterSystems IRIS.
I am still working on iris-for-money app: https://github.com/oliverwilms/iris-for-money
Account.csp posts a rest call with _SYSTEM username and the password.
xhttp.open("POST", "/restapi/sql/" + query, true,"_SYSTEM","SYS");
xhttp.send();
/restapi web application has Password Authentication Method enabled.
SYS is the correct password for _SYSTEM user.
I do not understand why I see login failure in Audit database.
I am working on iris-for-money app: https://github.com/oliverwilms/iris-for-money
Account.csp posts a rest call with _SYSTEM username and the password.
xhttp.open("POST", "/restapi/sql/" + query, true,"_SYSTEM","SYS");
xhttp.send();
The error is logged in Riches.REST for this line:
Set tSC = tStatement.%Prepare(pQuery)
ClassMethod PostSQL(pQuery As %String = "", pIndex As %String = -1) As %Status
{
Do ..DebugTEST("Riches.REST - PostSQL")
Do ..DebugTEST("pQuery = "_pQuery)
Set tSC = ..TestQuery(pQuery,.pQuery)
Do ..DebugTEST("TestQuery = "_pQuery)
Hello and welcome to the 21st InterSystems programming contest!
🏆 InterSystems Full Stack Contest 2022 🏆
Duration: June 27 - July 17, 2022
In prizes: $10,000
Hi Community,
This post is a introduction of my open exchange iris-climate-change application.
iris-climate-change web application Imports The Food and Agriculture Organization (FAO) Climate Change dataset by using LOAD DATA (SQL) functionality and analyze and visualize data with the help of Python Flask Web Framework, Pandas Python data analysis Library, Plotly Open Source Graphing Library for Python and Plotly JavaScript Open Source Graphing Library.
I had a customer the other day ask how GREFs are measured and how the relationship of the host, storage, and DB engine all influence that number measured in hundreds of thousands or millions. Is there any good documentation that explains this and/or assists with calculating a GREF count?
I am receiving Mirroring updates to an IRIS for Health async reporting server and need to pause the mirroring journal processing to periodically quiesce the database to rebuild cubes and custom staging tables.
What API or web service can I use to quiesce the reporting server and then later initiate catch up?
Hey Community,
Learn how you can develop a Node.js application and connect to InterSystems IRIS data platform through the Native API:
InterSystems Native SDK for Python is a lightweight interface to InterSystems IRIS APIs that were once available only through ObjectScript.
I'm especially interested in the ability to call ObjectScript methods, class methods, to be precise. It works, and it works great, but by default, calls only support scalar arguments: strings, booleans, integers, and floats.
But if you want to:
You'll need to write some glue code or take this project (installs with pip install edpy). edpy package gives you one simple signature:
call(iris, class_name, method_name, args)
which allows you to call any ObjectScript method and get results back.
Hi developer folks!
Thanks to all of you who start the development with InterSystems IRIS from the basic development template!
Recently, thanks to @Dmitry Maslennikov's contributionsI've updated the Dockerfile to make the development simpler, images lighter and the building process faster. And it looks more beautiful too ;)
Here is what changed:

Hi,
I am in a situation where my container is on UTC time (as is the host). But I need to send a datetime to a machine in a specific time zone. Various languages have constructs for doing that, sometimes you need a library
python has the pytz library.
We prefer a solution which is ObjectScript only.
Hi,
I am using IRIS for Windows (x86-64) 2019.1.1
I have.
1. Created a BS with SQL Inbound Adapter which successfully connects and gets rows from DB .
2. Created a request message is populated with results of SQL query.
3 Created a BP with HL7 Router + Routing Rule + Transformation + Send to Target (BO).
4 . Created BO sending HL7 to file.
i am getting the following error.
ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zOnRequest+1^EnsLib.MsgRouter.VDocRoutingEngine.1 *DocType,Test.SQLtoHL7Req -- logged as '-' number - @''
What am i missing
Thanks.
How would you like to be able to access the Web Terminal directly from your VSCode?
.png)