Hi Community,
Watch this video to learn how to leverage embedded (server-side) source control in a build pipeline using the git- source-control package and other additional tools:
⏯ Embedded Source Control with Git & Containers @ Global Summit 2023
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.
Hi Community,
Watch this video to learn how to leverage embedded (server-side) source control in a build pipeline using the git- source-control package and other additional tools:
⏯ Embedded Source Control with Git & Containers @ Global Summit 2023
I am trying to lock down security within our Development environment per requirements from a Security Audit that was done earlier this year. I need to try to limit access at a public level, access to cache users, and exposure.
I installed IRIS with the Lockdown method, and have configured my web applications, services, resources, etc.
When I go into my namespace, I am constantly presented with the following error when I try to start or stop an Object...
Cannot login as IRIS manager.
I am currently debugging a piece of code relying heavily on macros. I am using breaks in the method to then check the values of macros and object properties as I go. However, any time I invoke a macro within a break I get an error. To get around this I am converting the macro calls into the underlying code. Some of these macros have messy translations and this is somewhat time consuming. Is there an easier way to access macros from within a break?
We currently have a couple of Shell scripts we have written to EnableConfigItem from a Unix (Red Hat) command line, so we can control when a Service/Operation is running via the cron in Unix. We do this by calling
:>iris session xxxxxusing _system user.
During our Security audit it was mentioned that we need to lock down some of the cache users.
In this article I will explain how to Authenticate, Authorize and Audit by code by using CSP Web Application along with Enabling /Disabling and Authenticate/Unauthenticate any Web Application.
Application Layout
In the sample below, an image file is encoded into a Base64 string in a class property, saved, decoded again with Base64, and restored to another file.
【Usage class】
Class User.test Extends %Persistent
{
Property pics As %GlobalBinaryStream;
}
【When importing】
set x=##class(User.test).%New() // create a new object
// prepare an image
set file=##class(%File).%New("c:\temp\Mii.png")
do file.Open("RUK\BIN\")
for {
if file.AtEnd=1 quit
// Convert image to Base64 format in chunks of 1024 bytes
set cnt=file.On Linux, use the iris command to execute a routine or method from a shell and get the return value.
For more information, please refer to the document "About Instance Connections".
An example of a command is as follows.
iris terminal instname [arguments]The return value of a shell script can be specified using a special variable using the Terminate() method of the %SYSTEM.Process class when the process ends, rather than by specifying an argument in the QUIT or RETURN command that is specified when a routine or method ends. Use the method of returning a value to $?
For Compiling
XData VariableName [ MimeType = application/json ]
Error :
ERROR #5002: ObjectScript error: <MAXSTRING>CompileRtns+282^%occRoutine
ERROR #5002: ObjectScript error: <FUNCTION>DescribePhase2+57^%occSysDe
Anybody out there who is willing to share ObjectScript code for handling file read/write operations stored in SharePoint?
Suggested goal: try to create a common library which will be made available on OpenExchange.
InterSystems announces its second developer preview for the 2023.3 release of InterSystems IRIS® and InterSystems IRIS for HealthTM.
Future preview releases are expected to be updated biweekly and we will add features as they are ready.
Please share your feedback through the Developer Community so we can build a better product together. Initial documentation can be found at these links below.
Are you preparing to use VS code for the first time? Just make sure you have enough privileges.
Have you defined your Iris server in your VS Code settings, and still get the following error?

VS Code accesses Iris/HealthConnect using the web application /api/atelier. If you do not have permission (i.e. you are using an LDAP user to connect and the web application is not configured to support LDAP), this is the reason why you couldn't connect.
you will also notice a 'Login Failure' entry in the audit database, with the reason for it.
Need your company a help developing projects on Intersystems Caché / Iris plataform?
I'm a senior developer, more of 30 years experience in ObjectScript, working as a freelancer for specific projects.
I'm a Spanish citizen, actually located part time in Barcelona Spain, and part time in Phuket Thailand, my work is always 100% remote.
For more information can email: josepzbv@gmail.com
Thanks
Hey Developers,
Watch this video to learn how an InterSystems partner based in Ostfildern, Germany, made a simple switch to InterSystems IRIS and rolled it out to 2,500 end-users by using the in-place conversion:
⏯ Migrating to InterSystems IRIS Made Easy @ Global Summit 2023
Hi,
I want to search for a particular text(Ex : Clinician Code) in the PDF which is in Encoded Base 64 format.
Can it possible to read and filter the text and please provide a sample code for this?
Thanks for your time to help on this!
What's the way to get healthcheck info for an IRIS (container) running without PWS?
Recently @Anastasia Dyubaylo published a post (this one) showing a new IntegratedML functionality for time series predictions that @Thomas Dyar already presented to us at the Global Summit 2023 so, let's go to set up a small workshop to test it!
.png)
For this workshop we have chosen as the topic the prediction of monthly users of the Valencia Metro line by line. To do this, we have monthly data broken down by lines since 2022 as well as annual data by lines since 2017 that we will extrapolate monthly.
Does anyone have experience compacting and truncating IRIS datasets that are greater than 10 TB in size? How long did it take and what was the size? Did you run into any issues?
Thanks.
Diane
I am currently using IKO 3.6 to deploy an irisCluster on EKS, but I am facing some challenges. Firstly, I need assistance in understanding how to connect to the Web Gateway sidecar. If anyone has experience with this, I would greatly appreciate any guidance or advice you can offer. Secondly, I am trying to utilize the 'seed: path' options of irisDatabases, but I am unsure of the best approach. If anyone has successfully implemented this feature, I would love to hear about your approach and any insights you can provide. Thank you in advance for any help you can offer!
Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
⏯ InterSystems Cloud Services - InterSystems IRIS SQL & IntegratedML @ Global Summit 2023
Using the Windows Subsystem for Linux (WSL2), is it possible to install IRIS and run it from there? I am wanting to test IAM, but unable to run Docker Desktop on my VM, and do not have access to a Linux machine to install and test with.
Thanks
Scott
Hi All,
In the below code, How to Add SSLConfiguration and TLS. Please advise.
My sample code.
set s=##class(%Net.SMTP).%New()
;set auth=##class(%Net.Authenticator).%New()
;set auth.UserName=[["myUser"]]
;set auth.Password=[["myPassword"]]
;set s.authenticator=auth
set s.smtpserver="relay.abc.com"
set s.timezone="-0400"
set m=##class(%Net.MailMessage).%New()
set m.From="test@company.com"
do m.To.Insert("kumars@test.com")
do m.To.Insert("test1@another.com")
set m.Subject="Test IRIS mail 1"
do m.TextData.Write("This message has been sent using an SMTP server ")
set status=s.Welcome back to %SYS! If you read the first article in this series, you must have already seen how to manage your users through the Security.Users class programmatically. Today, we will move on to Resources! Many of the classes in this package use a very similar set of methods. That means that the more we cover, the more familiar you will feel about the subject.
Users are a bit complicated and have a lot of options. Resources, on the other hand, are much simpler. They have names that can be chosen from almost anything you can come up with. However, there are a handful of rules to keep in mind.
When we add a new class in VSCode, the name automatically is set to <Folder>.<Filename>.
Because we are doing interoperability, we remove the default and type "interop" to get assistance on creating the class. This works fine on some machines, however on others it generates:
/// Description
Class C:\InterSystems\Training\src\Test.MyProd Extends Ens.Production
{ ...So it uses the full pathname instead of Test.MyProd.
I guess it is a setting somewhere (settings.json?
Hi All,
is there any way how to hide or remove storage "Histogram" section in the file with persistent class definition, but keep the data both in globals and sql table?
The reason is that we use on-premise version control system and since the data is sensitive, it cannot be uploaded along with the files.
.png)
I have already tried "NoExtent" keyword, but that does remove the sql table and just keeps the data only in globals. The only solution I have come up with so far is to remove all the "property" sections from storage in file everytime before committing changes.
Hello Community,
Let us invite you to watch the recording of the webinar:
.png)
Hi Community,
.png)
to learn quickly and in total autonomy on IRIS, I offer you some links which can help you in this beautiful bicycle ride rich in discoveries:
The related package avoids adding %JSONAdaptor to each class but uses instead
SQL functions JSON_OBJECT() to create my JSON objects. With this approach, you can
add JSON to any class - even deployed ones - without any need for change or recompiling.
The trigger was the Export of M:N relationships as JSON objects or arrays.
Hi everyone,
Today I have a simple yet potentially valuable question: How can I begin a new line of text within $$$LOGINFO or $$$TRACE?
For instance, if I need to display a long log message within the visual trace, is it possible to do something like this:
$$$LOGINFO("object: 'This is a try'"
_"this is the second line with an example parameter: "_x
_"this is the third line with an example parameter: "_y
")Does anyone know if such a feature exists? It has the potential to greatly enhance code readability and layout.
Thanks :)
Hello,
I begin to work with VSCode and all is ok but i have just one problem with ObjectscriptQuality plugin. I have no feedback in the problem tab using the objectScriptQuality plugin.
I only have feedback from InterSystems Language Server plugin. Where could the problem come from?
My goal is to use objectscriptQyality with the basic rules at first
I work with iris 22.3
SQL inbound service execute using schedule task it ends up with error when end time occurs.
Normally task run from 10 to 10:30 every day.
Error in Log: ERROR <Ens>ErrException: <INVALID OREF>%OnClose+10^EnsLib.SQL.GatewayResultSet.1 -- logged as '-' number - @''
Please suggest..