Dear experts,
Please, what's best prasctices to setup and configure gmheap and locksiz parameters?
Thank you so much!
Dear experts,
Please, what's best prasctices to setup and configure gmheap and locksiz parameters?
Thank you so much!
Hi, Developers!
I wonder if it is possible to use class parameters in DTL XData?
E.g. in an example below of the DTL I'd prefer to setup ChatGPT prompts in parameters (GPTPrompt1) of DTL rather than quotes inside the XData XML:

If possible, how can I refer to a class parameter from XData?
Thanks in advance!
Countermeasures against SQL injection have been published on various websites, but we believe that it is possible to prevent SQL injection in applications using InterSystems SQL as well as other RDBMS by implementing these countermeasures appropriately. In addition, InterSystems Data Platform (hereinafter referred to as IRIS) incorporates several measures that make SQL injection more difficult than general RDBMS.
Sorry, somewhat of novice here, but how is a mac or a routine created into a binary or is there a way to hide your routines so that no other user can edit them? Like remove source code and have an executable?
I would like to do this MAC and CSP pages
what happened is, I selected a user to investigate their entries. I didn't enter a start date.
After hitting search, the query timed out, (or i cancelled it, I don't recall).
Now, when I go to that page, the browser processes and nothing is displayed.
I cleared my browser's cache, and I still get a blank page.
I'm running on Win10.
I use Chrome as my default browser. The problem also happens in Fire Fox.
i can log in as a different user and the page displays as expected.
How can I correct this situation?
Thanks!
Hi folks!
I have an example where I want to write a string into a file.
I have a message with string and I want to write the string down into a file.
I took EnsLib.FilePathThrough.Operation which expects Ens.StreamContainer message.
So I perform a data transformation where I need to transfer string to a stream. Here is the DataTransformation:

How Job command can be used with Embedded Python code?
InterSystems announces its fourth preview, as part of the developer preview program for the 2023.2 release. This release will include InterSystems IRIS and InterSystems IRIS for Health.
Many updates and enhancements have been added in 2023.2 and there are also brand-new capabilities, such as Time-Aware Modeling, enhancements of Foreign Tables, and the ability to use Ready-Only Federated Tables. Note that some of these features or improvements may not be available in this current developer preview.
In this article, I will share the theme we presented at the Global Summit 2023, in the Tech Exchange room. Me and @Rochael.
The Telegram Adapter for InterSystems IRIS serves as a bridge between the popular Telegram messaging platform and InterSystems IRIS, facilitating seamless communication and data exchange. By leveraging the capabilities of the Telegram API, the adapter allows developers to build robust chatbots, automate tasks, and integrate Telegram with InterSystems IRIS applications.
The most common scenarios where the Telegram Adapter can be used include:
Unable to run iris terminal as well as on management portal I am getting permission error.
ERROR in page definition:
Error #940: Insufficient privilege for operation
I already have created a User - irisusr and group - irisusr
if I am running sudo iris terminal IRIS command then it open terminal But earlier it was working fine.
Had an issue on Friday where a vendor added an additional field in the middle of a row of one of our record maps. This threw the mapping off when I take the record and try to map it into HL7 and caused massive amounts of errors in our EMR because the data was wrong.
Is there a way that I can add validation on the Business Service to say if the fields are off to fail, stop, and alert on the Business Service?
Hey Developers,
Watch this video to learn how to leverage InterSystems IRIS Natural Language Processing to analyze patient portal messages and improve patient engagement:
⏯ Use Natural Language Processing to Drive Patient Engagement @ Global Summit 2022
Excuse if this is obvious to Python programmers but for those crossing over from ObjectScript this may be a useful tip.
The scenario is developing some Embedded python commands.
Testing out functionality is being confirmed via the shell:
$SYSTEM.Python.Shell() Python 3.9.5 (default, Mar 14 2023, 06:58:44) [MSC v.1927 64 bit (AMD64)] on win32 Type quit() or Ctrl-D to exit this shell. >>>
When Python evaluates an expression in the shell, it prints the result of the expression to the terminal.
>>> 1 + 2 3
It is quite easy to accidentally evaluate and print out values
>>> iris.cls("%Dictionary.As the announcement of Studio's deprecation has been made, users may be wondering about making a smooth transition to VS Code.
George James Software has extensive experience in VS Code, through regularly contributing to VS Code itself and building and maintaining a number of Extensions. This, combined with our expert knowledge of InterSystems technologies, gives us an in-depth understanding of what the process involves and means we have the unique capabilities to ensure a smooth migration from InterSystems Studio to VS Code.
We offer bespoke consultation, with recommendations that are tailored to your organization's specific needs. Alternatively, we will be hosting a monthly public webinar that is designed specifically for users migrating from Studio to VS Code.
If you're ready to make the switch and would like to find out more, please come and speak to us at the Global Summit next week - you'll be able to find George James Software in the Partner Pavilion. Our team will be happy to chat with you about how you can ensure your migration is seamless.
Alternatively, you can send me a direct message here on the Developer Community, or email us at info@georgejames.com.
Dive into the details of InterSystems technologies with long-term online programs and classroom courses. Then, show off your skills with program and certification badges! Find all the details in this month's Learning newsletter. Don't forget to subscribe to receive the newsletter in your inbox!
I am unable to connect to InterSystems ODBC client. I am seeing the following error:
[Cache ODBC][State : S1000][Native Code 417] Access denied.
$cnx = new PDO("odbc:Driver={InterSystems ODBC};Server=<IP>;Uid=<id>;Pwd=<password>;");
Am i doing anything wrong?
Although, I can successfully connect and retrieve data in MS Excel using ODBC connection where I have configured my DSN and all
Hi,
i got 2 server with iris instances on them:
srv1
irisinstance1 port 51773/52773
irisinstance2 port 51774/52774
srv2
irisinstance3 port 51773/52773
irisinstance4 port 51774/52774
Both of them have apps published on an external apache on port 443 and i would like to publish irisinstance1 and irisinstance2 on port 443 of srv2.
Something like https://srv2/mgmt1/csp/sys/UtilHome.csp and similar to mgmt2.
I've tried with proxypass without luck.
How can i do that? Is there a guide?
Thanks!
How do I determine the size of an X12 message within the Rule Editor? I should add this is for HealthConnect or Ensemble.
The FullSize property always shows 122, and the FullSizeGet method isn't available within the Rule Editor.
Our vendor can't handle messages over 500,000 characters, so I need to write those to another queue for later processing, and to get the interface into they're system from crashing.
Thanks,
getting an error while installing git-source-control
Log of error
zpm "install git-source-control"
[TTN|git-source-control] Reload START (/Users/irisusr/mgr/.modules/TTN/git-source-control/2.2.0/)
[TTN|git-source-control] Reload SUCCESS
[git-source-control] Module object refreshed.
[TTN|git-source-control] Validate START
[TTN|git-source-control] Validate SUCCESS
[TTN|git-source-control] Compile START
[git-source-control] Compile FAILURE
ERROR! Error registering reference '^Studio.SourceControl.ChangeI("$Change")' for use by 'SourceControl.Git.Change.
If one of your packages on OEX receives a review you get notified by OEX only of YOUR own package.
The rating reflects the experience of the reviewer with the status found at the time of review.
It is kind of a snapshot and might have changed meanwhile.
Reviews by other members of the community are marked by * in the last column.
I also placed a bunch of Pull Requests on GitHub when I found a problem I could fix.
Some were accepted and merged, and some were just ignored.
So if you did a major change and expect a changed review just let me know.
Hi Community,
Watch this video to learn how to manage your HealthShare HealthConnect Cloud deployments using the InterSystems CloudServices Portal. Inspect the details of your deployment, create users and productions in Health Connect Cloud, and access the System Management Portal for a given deployment:
I want to connect IRIS system as it has all the database tables. on top of that I am creating a REST API in python. How can I connect to IRIS DB. here is my example code for connection
def connect():
connection_string = "localhost:1972/USER"
username = "_SYSTEM"
password = "SYS"
conn = iris.connect(connection_string, username, password)
after this connection is created but how can I get tables data. Please let me know more about how we can integrate IRIS database into a python REST API.
I am working with a REST API JSON Response that contains a list of integers (departmentids).
JSON Response:
{
"status":"ACTIVE",
"departmentids":[
72
],
"subscriptions":[
{
"eventname":"LabResultAdd"
},
{
"eventname":"LabResultUpdate"
},
{
"eventname":"LabResultClose"
}
]
}
I am having trouble getting that to parse into my custom message structure using the %JSONImport method.
do pResponse.%JSONImport(tHttpResponse.Data.Read())
Here is my custom message class (pResponse):
Class AH.AHLIB.Custom.Athena.Message.GetEventsSubscribedResponse Extends (Ens.Response, %JSON.I am trying to set up VS Code so that it will connect to a new server running IRIS 2023.1, and I can't seem to get the setup to accept my errors. I enter all the requested information, and at the end I receive a message:
Failed to store server '$(name)' definition.
Source: InterSystems Server Manager (Extension)
I've submitted a bug log with VSCode, but then I noticed the source, and figured it might be related to the extension instead of the program, and was wondering if others have received this message. The VSCode is 1.79.1, for the record.
Thanks as always.
This spring we've had a lot of online and offline activities in the InterSystems Developer Ecosystem. In case you missed something, we've prepared for you a selection of the hottest news and topics to catch up on!
Hi, I spend most of my time on VsCode and I love the dark theme.
But when I go to the InterSystems Community it's all white and I can't read anything.
Is it possible to have a dark theme for the community?
.png)
An interim idea to bring more dark to the docs with different font.
Process:
Content of file:
@-moz-document domain(docs.intersystems.com) {
:root {
--iscbluelightest:#0c0405 !important;
--iscbluelight:#91331f !important;
--iscblue:#ccc96a !important;
--iscbluedark:#c6bbb1 !important;
--iscbluedarker:#dddacc !important;
--iscbluedarkest:#e5e3d8 !One of the most common needs of our clients is the creation of REST services that allow access to the information present in IRIS / HealthConnect. The advantage of these REST services is that it allows the development of custom user interfaces with the most current technologies taking advantage of the reliability and performance of IRIS in the back-end.
In today's article we are going to create a web service step by step that will allow us to both store data in our database and later consult them.