A few years ago, I was teaching the basics of our %UnitTest framework during Caché Foundations class (now called Developing Using InterSystems Objects and SQL). A student asked if it was possible to collect performance statistics while running unit tests. A few weeks later, I added some additional code to the %UnitTest examples to answer this question. I’m finally sharing it on the Community.
Hi Community,
New video, recorded by @Stefan Wittmann, is already on InterSystems Developers YouTube:
Is %CSP.BinaryStream compatible with %StreamGlobalBinary because reviewing the classes this doesn't look to be the case?
What I am trying to do is zip large documents before sending over a REST interface. I compress the file and add that to an Ens.StreamContainer which is then passed to the operation to build the REST payload. We are using %Net.MimePart class to build the payload and use the BodySet method to add the zipped Ens.StreamContainer.
The issue is when the REST interface receives the POST, it doesn't recognize the data as a zip compressed item.
Here is the code snippet from the
Hello community!
I have a question about the %OnSave method of a class. We have a class that has two properties that are classes.
Class A
Class B
Class C
Class A.PropertyB as Class B
ClassA.PropertyC as Class C
Classes B and C also need to point back to Class A - it's just the way it is. We need to be able to use any one of these classes and get to the others (it's actually even more complicated than this, as Classes B and C also have a PropertyC and PropertyB as well, respectively) :
ClassB.PropertyA as Class A
ClassC.PropertyA as Class A
To see a simpler version of thi
Hi All,
I'm currently trying to modify the provider portal using Trak to add a new column. Using the column editor to get the column to display on the page is relatively simple, but where I'm running into problems is modifying what will display in the column.
Essentially, it just needs to run a simple "if value in column A is in this list, display x, else display y" which is easy enough to write in ObjectScript, but the ISC documentation is relatively sparse about how to get a specific column to run that bit of code to display what I need it to.
Appreciate any insights you all can pro
Hello,
I loaded a WSDL from a webservice into my project where executing it returns me a series of Orders related.
My problem is that the provider of this webservice sometimes adds new fields, which I don't even use, and from then on it starts giving Iris a bug, so I need to import the updated WSDL again so that it creates the new property that the provideradded.
Is there a way for me to set up after the first WSDL import so that it ignores if the provider makes a response schema change by adding 1 new field for example, and I always keep working with the first structure I imported functionall
Hello Community,
We have two live servers running DeepSee dashboards for users. One of the servers can print a widget to a pdf file, and the other can't.
I learned that 1) a Java JRE needed to be installed on the second server, and 2) it's trying to run an OS command to render a pdf file (details below).
An audit log of the event shows this:
| Routine | convertXslToPdf+44^%SYS.cspServer2 |"^^c:\intersystems\ensembleprod\mgr\"| |
| O/S Username | CSP Gateway |
| Event Data | Execute O/S command Command: C:\InterSystems\EnsembleProd\fop\fop.bat -fo C:\InterSystems\Ens |
We are currently implementing the Data Innovations Instrument Manager product. In setting up our backup process we are wanting to use Veam snapshots. The application runs in a Caché 2016.1/Windows Server 2016 instance. We are running an HA primary/secondary/arbiter config. The statement below is from DI. I am curious to see what others that have implemented the DI Instrument Manager in the same or similar config have in place for backup.
"DI recommends is recommending that we not perform snapshots, but if you do choose to do so, here is some important information to consider.
Sometimes custom
Hi There
I've created a new WebClient using Studio Addon-s Soap Wizard.
I've tried to send a soap request using InvokeMethod.
However the Body comes empty <soapenv:Body></soapenv:Body>
I needed it to be
<soapenv:Body>
<ns:Ping/>
</soapenv:Body>
I am sending a PUT FHIR message for a CodeSystem Resource using the defailt Service and server that was installed when I installed the FHIR on the NameSpace.
When I try to use the FHIR Request "id" property it is empty; e.g. pFHIRRequest.id is EMPTY. I really need to get this value, how can I get it?
I added a trace ion both the HS.FHIR.Service and HS.FHIR.Server.Process, details to follow:
The trace in HS.FHIR.Service is as follows, this is inside the OnProcessInput where the Id is validated I added the "else", it prints the line in the "else" and the result is an EMPTY input.id (nothing):
Hi Developers!
Those who use Dockerfile to work with InterSystems IRIS often need to execute several lines of ObjectScript. For me, this was a game of "escaping this and that" every time just to shoot a few commands on ObjectScript to IRIS. Ideally, I'd prefer to code ObjectScript without any quotes and escaping.
Recently I found a nice "hack" on how this could be improved to exactly this state. I got this from @Dmitry Maslennikov's repo and this lets you use Objectscript in a way as you would type it in IRIS terminal.
Here is what you have in dockerfile:
///
COPY irissession.sh /
SHELL ["/irissession.sh"]
RUN \
do $SYSTEM.OBJ.Load("Installer.cls", "ck") \
set sc = ##class(App.Installer).setup()
# bringing the standard shell back
SHELL ["/bin/bash", "-c"]
CMD [ "-l", "/usr/irissys/mgr/messages.log" ]
///InterSystems has corrected several critical defects that can result in data integrity issues. These defects were identified and corrected within a short time, so InterSystems has simplified the upgrade process by consolidating them into a single package. The effects of encountering these defects may not always be visible. These defects affect InterSystems IRIS, IRIS for Health, Health Connect, Caché, Ensemble, and HealthShare products. All of these defects relate to the application of journal data.
InterSystems recommends that you review this document. It will help you determine your level
Dear Community,
We're pleased to invite you to the InterSystems DACH Symposium 2019, which will take place from November 12th to 14th 2019 at The Westin Grand Hotel in Frankfurt am Main!
This year, we will focus on best practices and use cases for AI, ML as well as API management, microservices and the use of containers for DevOps.
You’ll experience exciting lectures, interactive sessions and hands-on coding exercises, which are suitable for both InterSystems experts and beginners. See for yourself how the new API Manager simplifies the orchestration of microservice architectures and
I have a custom written date, setup as myDate in my application, which always behaved fine for years, and now it's acting a little weird.
When I run SQL in Display mode the date shows as 1/10/1841 for some but not ALL rows.
When I run the same exact query in logical Mode the date shows normal format, in my case, for example 10/1/2019. When the application is running is shows the incorrect date. When I run the terminal session and open a ref point and ask to write a date is shows 10/1/2019, but I am expecting internal format here - 65287.
I was wondering what is causing this issue. I
How I can access identity column value in SqlComputeCode with property?
We have in DB two books, first is loaned because it has the Friend ID, and the other is in the shelf.
I execute a class query to get all loaned books:
Query BooksLoaned() As %SQLQuery
{
SELECT *
FROM Library.Book
WHERE Friend IS NOT NULL
}
Which I have tested throught the portal:
My task is to retrieve all the loaned books and return them in an array. Method code:
ClassMethod GetLoanedBooks() As %ArrayOfObjects
{
set booksRS = ##class(%ResultSet).%New("Library.Book,BooksLoaned")
set rsStatus = booksRS.Execute()
set i = 1
s

Hi all, New user here. I have an instance of Google Cloud Iris Health Community Edition running and am logged in on terminal. I follow the instructions for Google Cloud IRIS Health Community Edition. How do I get to iris? iris status yields nothing, there is no /bin/iris and sudo docker ps -a shows no containers but there probably is a iris container somewhere on the instance? 'Visit the site' yields ERR_CONNECTION_REFUSED
Hi Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in October 2019:
| Top 10 Videos by Views | |||
| № | Video | Views | Watch Time (min) |
| 1 | Active Directory Integration with LDAP | 1 328 | 4 823 |
| 2 | Building Modern Web Applications | 672 | 3 509 |
| 3 | SMART on FHIR: The Basics | 535 | 5 436 |
| 4 | Developing with FHIR - REST APIs | 311 | 1 949 |
| 5 | Creating REST API with InterSystems IRIS, ObjectScript and Docker | 185 | 796 |
| 6 | SQL and Object Acces | 147 | 270 |
| 7 | Optimizing Your SQL Queries | 136 | 1 241 |
| 8 | Create Your First InterSystems ObjectScript Code with IRIS Community, GitHub, Docker and VSCode | 134 | 329 |
| 9 | The State of the InterSystems Developer Community - Global Summit 2019 | 134 | 373 |
| 10 | InterSystems Developers Meetup - Global Summit 2019 | 123 | 817 |
I would like to Compact globals in a database to free up space.
I would begin the process on Saturday morning, but am concerned, due to the size, that it would not complete by Sunday evening. I understand that the process is setup so that it can run with users on the system, however, as the advice indicates, this would not be ideal.
Can the process be stopped if it does not complete by the time you want/need it to?
Do you know how to guestimate how long the process would take?
This is the Freespace for the database in question. There are 1047 globals of which one of them takes up 50%.
The 2019.3 versions of InterSystems IRIS, InterSystems IRIS for Health, and InterSystems IRIS Studio are now Generally Available!
These releases are available from the WRC Software Distribution site, with build number 2019.3.0.311.0.
InterSystems IRIS Data Platform 2019.3 has many new capabilities including:
- Support for InterSystems API Manager (IAM)
- Polyglot Extension (PeX) available for Java
- Java and .NET Gateway Reentrancy
- Node-level Architecture for Sharding and SQL Support
- SQL and Performance Enhancements
- Infrastructure and Cloud Deployment Improvements
- Port Authority for Mon
The 2019.1.1 version of HealthShare Health Connect 2019.1.1 is now Generally Available!
This release includes maintenance updates in a number of areas, as described in the online documentation here.
It also includes two new features, described in the online documentation here:
- Support for InterSystems API Manager
- X12 Element Validation in Interoperability Productions
- In-Place Conversion from Ensemble - based Health Connect (version 15.03) to Intersystems IRIS - based Health Connect
The build number for these releases is 2019.1.1.612.0. A full set of kits is available from
The 2019.1.1 versions of InterSystems IRIS and IRIS for Health are now Generally Available!
These are maintenance releases in the EM (Extended Maintenance) stream. The changes are reflected in the 2019.1 documentation, which is available online and features a new look including a card-style TOC layout.
The build number for these releases is 2019.1.1.612.0. A full set of kits and containers for both products are available from the WRC Software Distribution site, including community editions of InterSystems IRIS and IRIS for Health.
This release also adds support for Red Hat Enterprise Linu
Caché 2018.1.3 and Ensemble 2018.1.3 maintenance releases are now available.
Full product installation kits can be downloaded from the WRC Software Distribution site.
This is a maintenance release with many updates across a wide variety of areas.
For information about the corrections in this release, refer to the release notes.
This release also adds support for Red Hat Enterprise Linux 8, in addition to the previously supported platforms detailed in the 2018.1 Supported Platforms document.
The build number for this release is 2018.1.3.414.0.
Hello! I have basic web services application that java clients connect to the cache web services. Using the browser, the user enters in the following url.
which runs a soap method called FoiaApp30. I am not sure how to add https security to the web service calls. I have reviewed documentation pertaining configuring SST/TTL configuration and other information. Can somebody please help me out on what I need to do? If I change the url from http to https, the web service class wi
Hi there
I've noticed extreme slowness using the portal in my Healthconnect dev enviroment lately.
Any page in the Portal takes a lot of time Loading.
Any ideas of what it could be?
Kind Regards,
Joao
All of the sudden, Cache Studio's Debug->Run command started to fail with error '6704 Target has exited debugger' (German: Kein Anbinden möglich). What could be a reason of that? Today we installed Cache Web Terminal (https://intersystems-community.github.io/webterminal/
), could it be possible that the terminal somehow hijacked some debugging api end-point?
| Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2017.2.2 |
Update: any idea what error 6704 means exactly? Studio was able to launch debugging job but it unexpectedly exited? German text seems is trying to say "Can't conne
Hi Developers!
Here is the release of what's was enhanced and fixed in the DC engine in October 2019.
- New look-and-feel and features for the Developers Events;
- "Smart" social sharing in Twitter;
- 5 min delay before sending emails, nested tags for group tags, better articles linkage, and other small enhancements and bug fixes.
See the details below.
The Issue
I help support a legacy ZEN application that makes extensive use of the “dataGrid” component. The application reuses a ZEN page with a“dataGrid” for different views of similar data; depending on the view, the application hides or displays some of the columns of the “dataGrid”. The application does this client-side, setting the “hidden” property of the “columnDescriptor” true or false as needed.
Users have reported the following bug in the app: On views which hide a column, data in the other columns are shifted so as to appear under the wrong headers. In order to demonstrate the iss

Hi,
Has anyone tried the InterSystems IRIS for Health Community Edition on Azure
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/intersystems.intersystems-iris-health-community
It seems the image is the InterSystems IRIS for Health image instead of the Community Edition.
Thanks,
Rui


