Hello,
This code snippet changes all passwords in a system to a specified string. The two literal strings at the beginning of the snippet can be adjusted to edit the system or password string. The class method "test" runs the code:
Class eduardlebedyuk.changePasswords Extends %RegisteredObject
{
ClassMethod test()
{
set ns = $namespace
zn "%SYS"
set NewPass = "NewPassString"
set rs=##Class(%ResultSet).%New("Security.Users:List")
set st = rs.Execute()
while rs.Next() { set st=$SYSTEM.Security.ChangePassword(rs.Get("Name"),NewPass)}
zn ns
}
}
DISCLAIMER: I am not an InterSystems engineer or a professional ObjectScript developer.
I just want to share my opinion about some things I am really miss in ObjectScript.
I really appreciate everyone who support my project (Declarative ObjectScript) in contest
but the post is not about "why you should support me" on contest.
I faced with ObjectScript in the university while was working on my diploma (in 2013).
Very good mentor @Evgeny Shvarov helped me to get started with ObjectScript development.
Hey Developers,
New "Coding Talk" video was specially recorded by @Maks Atygaev for the IRIS Programming Contest:
Here's what I'm trying to accomplish
I have a directory of CCDAs and files with basic demographic info.
I'd like to generate an outbound Provide and Register request by building the SOAP envelope (using the demographics data) and adding the CCDA as the document.
Which Operations / Components can I utilize for this?
Is there is a good starting point in the documentation I can use?
If anyone knows which specific Operations/Components I should use please let me know.
Thanks
Just released from Learning Services: March news! Find out about the latest content we've created, including:
- Lots of new online content (videos, podcasts, and hands-on practice)
- Updates to the docs interface
- News from Classroom Training
... and more! Check out March's newsletter, and subscribe to receive future newsletters straight to your inbox!
Hello,
We're considering adopting the ZPM solution as a way to manage many of our customer updates. However in order to do so we need to know a few things.
- Is ZPM client compatible with Caché 2017.x versions?
- Can we configure a self-hosted registry that doesn't require a GitHub repository link?
- Could the ZPM client zip and upload the whole package (all classes, routines, includes) instead of downloading it from a Github link?
- Can we declare a module that specifies classes themselves instead of their package counterpart? e.g. My.Class.CLS instead of My.PKG.
Hello,
We have been reasearching how could we parse a string with a JSON structure like the following:
Hi Community,
The new video from Global Summit 2019 is already on InterSystems Developers YouTube:
Introduction
The common requirement in many applications is logging of data changes in a database - which data has changed, who changed them and when (audit logging). There are many articles about this question and there are different approaches on how to do that in Caché.
Hi-
I am trying to create a simple example of allowing binary (tiff) files to be selected and uploaded asynchronously to an IRIS for Health back-end. I have managed to write the HTML and Javascript which works great with regular text / ascii files, but fails with binary files.
When I upload a binary file (tiff) image I get garbage like this on the database server
Hi, participants of the InterSystems IRIS Online Programming Contest!
This is an announcement for the current and all the future participants of online contests.
To win the contest you need to gather the maximum votes of InterSystems Developer Community members.
Below are the few ideas of how to achieve that.
These Competition Terms (the "Terms") apply to competitions and contests sponsored by InterSystems and its affiliates including coding contests relating to InterSystems products and technologies (each a "Contest"). Please read these Terms and all applicable Rules (defined below) carefully as they form a binding legal agreement between you and InterSystems Corporation (“InterSystems”), with principal office located at:
InterSystems Corporation
1 Memorial Drive Cambridge
MA, 02142 UNITED STATES
I hope you already know one of my projects Cache Blocks Explorer. I've recently renamed it to Blocks Explorer.
For the recent contest, I've added a new feature, the ability to generate a static picture of any Cache or IRIS database. Like below. Where unique globals have a unique color. This is how looks like inside 9.5GB database. Where 1 pixel represents one block. By link on image you will get even bigger image, with more detalization.
In Episode 6 of Data Points, certification manager Jamie Kantor joins the podcast to tell us all about the InterSystems Certification program, what exams are currently being offered (and what ones are in development), and why it matters for developers and enterprises. Check it out!
Hello,
We are developing a method to take two messages which have a list of data types. It is being defined as:
Class Mensajes.Response.HistoriaClinica.ConsultaCitasResponse Extends Ens.Response [ ProcedureBlock ]
{
Property informacion As EsquemasDatos.HistoriaClinica.Informacion;
Property datos As list Of EsquemasDatos.HistoriaClinica.ConsultaCitas;
Property error As EsquemasDatos.HistoriaClinica.Error;
}
Inside datos we have:
Class EsquemasDatos.HistoriaClinica.ConsultaCitas Extends (%Persistent, %XML.Adaptor) [ ProcedureBlock ]
{
Hello,
We are developing a Transformation and we are wondering: how could we debug and show a XML message which is being an output from a transformation, without storing it into request/response/callrequest/callresponse? We mean, how could we show a context variable in the production?
For example, let's have a transformation which stores an appointment in a variable called: context.especializadasConFormatoPrimarias
How could we show in the Production?
Currently it is being stored as the Transformation's output:
I just tried to log into our QA server and connect to Terminal (v 2013.1).
I can type in my username but when I attempt to type my password, no characters are typed. When I press ENTER the password is invalid.
I can connect to the management portal and the studio development environment without any problems. Also, I do not have this problem when connecting to the terminal in our production environment (2010).
Does anyone know what can cause this type of problem?
Thanks.
Hello,
We have a tranformation where we would like to convert a date from the following format:
"'dd/mm/yyyy' 'hh:mm'" (double quotes are just visual to indicate this is a string)
to date and time separated:
date: dd/mm/yyyy
time: hh:mm
We have already splitted the datetime into date and hour as follows:
Sorry about my newbie question.
How do you decide the size to give to journal1 and journal2?
PS: I am still in version 2016
Thank you
InterSystems IRIS 2020.1 brings a broad set of improved and new capabilities to help build important applications. In addition to the many significant performance improvements accrued through 2019.1 and 2020.1, we are introducing one of our biggest changes in recent SQL history: the Universal Query Cache. This article provides more context on its impact to SQL-based applications at a technical level.
Dear HealthShare Customer:
This post is part of the HealthShare HS2020-03 Alert communications process. The same information is also distributed:
- By Email
- On the Product Alerts & Advisories page
- On the WRC Distribution Page InterSystems Documents
There are 7 alerts in the HealthShare HS2020-03 Alert communication, including the previously posted "March 25, 2020 Alert: Possible Data Integrity Issues after Compaction or Defragmentation." The summary is in the table below, and the detail is contained in the attached document: HealthShare HS2020-03.
HI,
I want to validate my XML file with a DTD file.
I found this https://community.intersystems.com/post/validating-xml but it's with the SAX parser...
Is there an easier solution?
Intersytems Ensemble version 2017.2
Regards,
Guillaume LEPRETRE
For standalone installations I always recommended to use custom namespaces and not the USER namespace.
However, what about Docker?
In many Dockerfiles I see the creation of additional namespace, but why, if only one namespace is required?
What do you think?
We have a data transformation where source is object collection (populated from a json file) and target is EnsLib.EDI.XML.Document.
If source file is large enough, transformation fails and we get <store> error and I quickly found this:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=EBPLR_DTL_foreach which at the bottom in "Avoiding <STORE> Errors with Large Messages" section tells to:
Hi Community!
Enjoy watching the new video on InterSystems Developers YouTube:
Hey Developers,
New "Coding Talk" video was specially recorded by @Evgeny Shvarov for the IRIS Programming Contest:
⏯ How to Create and Submit an Application for InterSystems IRIS Online Programming Contest 2020

GraphQL is a standard for declaring data structures and methods of data access that serves as a middleware layer between the client and the server. If you’ve never heard about GraphQL, here is a couple of useful online resources: here, here and here.
In this article, I will tell you how you can use GraphQL in your projects based on InterSystems technologies.
I'm building a container from store/intersystems/iris-community:2019.4.0.383.0 .
I need to add my folder to the LD_LIBRARY_PATH so that my custom shared library would load at runtime.
How can I do that?
Here's what I tried:


