Hello,
Is there a built-in Set class in IRIS? A set is an array-like collection where each value in the set is guaranteed to only appear once.
Hello,
Is there a built-in Set class in IRIS? A set is an array-like collection where each value in the set is guaranteed to only appear once.
Among the numerous authors present on the InterSystems Developer Community, there are unsung heroes who leave a lasting impact through their dedication and contributions. One such member is @Ben Spead, whose experiences and milestones have greatly shaped our Developer Community. He has consistently championed the communities, starting with Zen Community in 2008 to being an early participant in the Developer Community's beta phase in 2015.
🤩 Let's take a closer look at Ben's journey with InterSystems technology and our Developer Community...
.jpg)
Hello,
Recently I have been tinkering with VSCode and ObjectScript extension to connect to my dockerized IRIS instance. I have configured the instance to use Apache as a Web Gateway as per instructions and it has been working well. Currently I'm using a self-signed certificate for the SSL part of the connection. The browser nags about insecure certs when connecting to Management Portal but that's expected.
However when I try to connect to the instance with VSCode it simply fails with the following error message
.png)
Invoking the Atelier API with a REST Client (Insecure = true) the API responds 200
Hi Team,
My SOAP functions were working perfectly before enabling basic authentication. To set up basic authentication, I created web applications for the SOAP service, checked the password option, and assigned a user to this web application. However, after enabling basic authentication, the SOAP service stopped working.
Started some work using WorkMgr, but then I noticed, that it stuck and does not get any responses from workers anymore
And I found that messages log contains logs about dead processes, why WorkMgr daemon did not restart died processes?
How to restart them without restarting IRIS
07/29/24-15:10:59:589 (856) 2 [Generic.Event] Process terminated abnormally (pid 949, jobid 0x0002001d) 07/29/24-15:10:59:603 (856) 0 [Generic.Event] cleaned dead job, pid: 949, jobid 0x0002001d 07/29/24-15:10:59:603 (856) 2 [Generic.Event] Process terminated abnormally (pid 951, jobid 0x0001001f)
Hi Community,
We are pleased to invite you to the next InterSystems online programming contest, which is focused on Python!
🏆 InterSystems Python Contest 🏆
Duration: July 15 - August 4, 2024
Prize pool: $14,000
.jpg)
Since my initial question on ordering json properties a few things have happened.
Let me recap the issue at hand:
For me as a developer, this is annoying, even though I
Not so while ago GitHub introduced, ability to very quickly run VSCode in the browser for any repository hosted there. Press the . key on any repository or pull request, or swap .com with .dev in the URL, to go directly to a VS Code environment in your browser.

This VSCode is a light version of the Desktop version but works entirely in Browser. And due to this, it has a limitation for extensions which was allowed to work this way. And let me introduce the new version 1.2.1 of VSCode-ObjectScript extension which now supports running in Browser mode.
Hi Community,
What are the advantages of using multiple namespaces for your code? Learn some of the benefits in this discussion with @Derek Robinson, Senior Online Course Developer, and @Scott Clark, Implementation Specialist:
I receive response from Business Operation(HTTP GET) as below :
<response>
<message_code>202</message_code>
<message_string>Success/message_string>
</response>
I am not able to read the "message_code" as response.message_code ?
is it because of underscore ?
Is there a way to read it ?
Hi,
I'm new with writing Caché Objectscript so I need some assistance. I have XML which contains information like this:
<?xml version="1.0" encoding="UTF-8"?> <session> <sessionId>124364</sessionId> <cabinet>demo</cabinet> <eventType>IN</eventType> <eventTime>20161006160154</eventTime> <login>test</login> <loginFirstName>test</loginFirstName> <loginLastName>test</loginLastName> </session>
I have a class representing this object as follows:
Class Testing.Messages.Session Extends (%RegisteredObject, %XML.Adaptor, Ens.Request){Parameter XMLNAME = "session";///Hi, Community!
Need to learn how to write better prompts for GenAI? This video from Learning Services introduces six key strategies:
Hello Intersystems Community,
I'm currently facing an issue with message purging in my Healthcare environment, and I'm seeking your valuable insights and guidance to resolve it.
I've configured a purge task to delete messages older than 30 days, and when I run this task immediately, it doesn't delete anything,
I changed the 'Run task as this user:...', I thought it could be an access issue.. But nothing happened, I even changed the priority, same thing..
however when I uncheck the "Keep Integrity" option, it cleared all messages, regardless of the retention period!!..
Hi Guys,
I'm getting ERROR #6237: Unexpected tag in XML input: imageclickbutton when running Build All for all existing classes, imageclickbutton is one of custom components we use in our application and I can actually compile imageclickbutton.cls class with no issues and also I can compile the class containing the imageclickbutton tag with not issues but I get the errors when running the Build All not sure why?
BTW in was a part of conversion where I'm converting our legacy Ensemble 2014 to 2018 and all classes are compiling fine only classes that have those custom components in them
.png)
An effective source control solution allows organizations to manage complex codebases, facilitate seamless collaboration within development teams, and streamline deployment processes.
Sonic Healthcare, a leading provider of pathology, radiology, general practice, and corporate medical services, has significantly enhanced visibility and control over its complex environment by implementing Deltanji source control. The tight integration Deltanji provides with InterSystems IRIS and IRIS for Health has been central in achieving these improvements.
Sonic Healthcare's Set Up
Sonic Healthcare
I am trying to log certain program data in my ObjectScript REST class, to track down a bug I have.I am comparing two values at runtime, and one result does one thing, and another a different thing.Since this is a REST API class, I have no way of seeing in real time what the value is to debug.I cannot simply run the method in debug in Studio as it will not run properly being a REST class method, nor have the correct incoming header data to correctly replicate what is happening in the API at runtime when being hit by client apps.
I encountered this quirk when investigating an unrelated issue affecting how Studio projects are handled in VS Code.
When you add the top level of the webapp to a %Studio.Project this inserts a %Studio.ProjectItem with a .DIR suffix. For example, if Studio or VS Code is connected to the USER namespace and you add the /csp/user webapp to a project the new ProjectItem name is "csp/user.DIR".
When you export this project to XML from the project's context menu in Studio, or by calling the %Studio.Project.Export classmethod, the file contains the project definition plus all of the files in the
As I was trying to create a routine search query via RoutineList, I discovered that documentation both for Cache and Iris offers only ABC* and ABC? syntax for including routine names and, unlike %RO, does not offer name ranges. Is that indeed so?
After some system files reading, I discovered that you can EXCLUDE certain routines with ', by using the 'ABC or 'ABC* syntax. That is not documented but it should be. Any other non-documented RoutineList syntax capabilities?
Example:
S list="ABC*,'ABCD*,XYZ"
;Iterate through routine list
s rs=##class(%ResultSet).%New("%Routine:RoutineList")
s x=rs.Execut
Hi,
I'm making a request to an API that works perfectly with Postman, you can see it here:.png)
The URL is https://testcds.esriguide.org/v2/session/3189981 where the last part is the ID's session I want to get back.
When I try to make the same request in IRIS I always get a "Bad request" error.
I'm creating the request which all the information needed (or at least that I know):
Method TornaRequestGET() As %Net.HttpRequest
{
Set request = ##class(%Net.HttpRequest).%New()
Set request.SSLConfiguration = "iGUIDE"
Do request.SetHeader("Authentication",..#AuthenticationAPIKEY)
Do request.SetHeader("Accept","appl
Is there documentation that shows the mapping between the management portal components and object script package.class.methods?
I am searching on-line documentation but have not been successful.
For example, in the management portal SystemOperation > TaskManager > TaskSchedule can map to the method: class(Monitors.Tasks).ListSuspendedTasks().
What would be a similar mapping for SystemOperation > TaskManager > TaskHistory?
I initially thought it would be something similar to class(Monitors.Tasks).ListTaskHistory().
Best Regards,
Hi, I am considering making my own swagger json generation based on my rest api implementing the %CSP.REST class.
Before I begin, I was wondering if there is already some kind of support, perhaps in IRIS already, or some tools that might help me.
Hi Community!
It's been a month since the end of the Global Summit 2024 (here is a brief reminder of how it went: part 1 and part 2), and you may want to relieve the excitement or, maybe, wish to see the sessions. This is your chance to influence the order in which the sessions are published here, on the Developer Community.
Please vote for your favorite topic and we will use YOUR votes to plan our announcements! 😉
Hi Developers!
Welcome to the 15th edition of the InterSystems Ideas news! We dedicate this news bulletin to:
✓ Idea Leaders of 2024
✓ Voting for ideas on Open Exchange
✓ Recently posted ideas waiting to be implemented by the Developer Community
When I try to run my app as a Docker Container locally it works fine, but I attempted to create a Hugging Face Space to try to deploy my app to and when I run with the Docker SDK selected I run into the following IRIS error report.
Has anyone seen something like this before?
Starting Control Process
Global buffer setting requires attention. Auto-selected 25% of total memory.
Allocated 105698MB shared memory 95166MB global buffers, 1020MB routine buffers
This copy of InterSystems IRIS has been licensed for use exclusively by:
Too many Cores (24) for InterSystems IRIS Community License.Hey Community,
Play the new video on InterSystems Developers YouTube:
⏯ Optimizing Supply Chains with InterSystems Supply Chain Orchestrator @ Global Summit 2023
Hi folks,
We are in the process of migrating from Ensemble to IRIS.
After the migration I would like to find all usages of deprecated classes and methods in all of our code. This is to align with the changes in package like %SYSTEM.SQL for example.
Is there an easy way to do this, or maybe a tool that can assist?
Thanks.
I am creating a new HL7 DTL item. I put the from as HL7 and the to as XML, hence, those Ens classes were loaded into the new DTL. However, on the map screen, both the left and the right column only show 'source' and 'target', and no other fields. I pictured that when I included these classes, both columns would pull the corresponding 'schema' to show all the to/from fields, but, they did not. Is that right?.png)
Hi Guys,
Is there a way to import /export Web Applications? I can see that those web application that I created are also showing in Studio under CSP Files folder and I tried right clicking on some on the folders that seems to be representing my web application then export but didn't work.
Thanks
I'm trying to leverage the workflow from this repo so I can create an online demo for my project: https://github.com/intersystems-community/iris-google-run-deploy-templa….
I saw that we need to ask for the service account token because I mistakenly tried to obtain my own and obviously was getting permission errors.
So how should I go about getting the token? Thanks!
One good thing about COVID-19 is that it taught people that online work and study are possible. I remember a week before the lockdown started, everyone said that working online was impossible, not secure, etc. And what do you know, it all became possible and "secure" in the blink of an eye. As with everything, it depends on whether a person is capable of organizing his or her day and their work or study attitude. Thus, I became a great believer in online education. As an associate professor who teaches databases, I find it beneficial to my schedule and students. One thing that studying online brings is flexibility. Another one is accepting third-party courses to grant credits to my students 😉
Considering that I'm teaching the basics of IRIS, I thought a new course, Getting Started with InterSystems IRIS for Coders, could be a relevant addition to my course. Therefore, I decided to follow the new Learning Path and see how it corresponds to my Syllabus and how many ECTS credits I can give for finishing it.
