Hi,
How can I define composite primary key in Cache?
Thanks
Hi,
How can I define composite primary key in Cache?
Thanks
Hi Community,
Did you know about OWASP and Top Ten Web Application security risks to your Web API or Web Apps?
OWASP is a community foundation created to help us to improve the security of web apps/web APIs. OWASP do the web apps more secure through its community-led open source software projects, hundreds of chapters worldwide, tens of thousands of members, and by hosting local and global conferences.
To summarize the top procedures to do your web app/web api more secure OWASP published the "Top 10 Web Application Security Risks" recomendations, see (source: https://owasp.
Hey Community,
Facing unnecessary architectural complexity? Too many moving parts? If these are problems you’re facing, then this calls for architectural simplification.
Don't miss the InterSystems free on-demand webinar by @Jeff Fried or read his recent blog to discover InterSystems resources which will help you simplify your data architecture.
Want more? Visit our landing page to find out more about the different pathways you could adopt to simplify your data architecture with InterSystems.

Details below.
I'm glad to announce we have recently released our second Starter Pack. This one is for the Mining Industry, and the first was for Industrial IoT (OEE).
But what does it exactly mean?
InterSystems IRIS Starter Packs (thanks to Joe Lichtenberg that helped with this text)
InterSystems IRIS Starter Packs are codebases built by an InterSystems partner using InterSystems IRIS Data Platform that shortens the time to develop a complete application that addresses a specific industry or technology challenge. It is not a completed application.
Hello everyone,
I'm facing an issue i would like to resolve :).
I have a BPL which throw a DTL. My DTL has many reasons to raise an Exception.
I would like to catch this exception within my BP with a SCOPE but it does not work.
The BP seems to catch its own Exception but does not care at all of my DTL Exception.
So, is it possible to use the SCOPE in my case ? Otherwise, how can I handle the exception in my DTL ?
Thanks a lot for your reply.
Matt.
Hello All,
I am exploring Ens.Alert to generate alerts for Server exceptions.
I noticed that in the business operation, if you have your code inside try/catch and if your catch doesn't explicitly invoke $$$systemerror then Ens.Alert is not invoked.
Similarly, in the Business process if you have <catchall> then Ens.Alert is not invoked on error. How can I invoke Ens.Alert from <catchall> ?
Another thing I noticed is, if I dont catch exceptions in BO and BP and have "Alert on error" ON for both, if there is an error in BO, 2 alerts are generated for same error, one from BO and one from BP.
Hi Developers!
Here're the technology bonuses for the InterSystems IRIS AI contest that will give you extra points in the voting.
Use InterSystems IntegratedML in you AI/ML solution. Here is the template that uses it.
Be sure that the IRIS version is not less than 2021. The latest ML images with ZPM are:
intersystemsdc/iris-ml-community:2021.1.0.215.0-zpm
intersystemsdc/irishealth-ml-community:2021.1.0.215.0-zpm
R Gateway and Python gateway usage - 4 points
InterSystems IRIS 2021 release contains two new features - R gateway and Python gateway. Here is the template on how to use the R gateway. Here is a short demo of how to use it.
Embedded Python usage - 4 points
Embedded Python is a very new feature of InterSystems IRIS that gives you the option to use python as a "first-class citizen" in backend business logic development with InterSystems classes. Short demo of Embedded Python.
Embedded python could be used in "on-demand" images that could be delivered via InterSystems Early Access Program (EAP) if you refer to python-interest@intersystems.com.
Here is the template package on how to use Embedded Python deployable with ZPM. Don't forget to change the image to the one you get from the Early Access program.
PMML usage - 4 points
PMML - Predictive Modelling Markup Language - can be used to build AI/ML solutions with InterSystems IRIS. Check with documentation.
There is an example in Open Exchange on how to use PMML.
Hey Developers,
We have some good news for you:
💥 InterSystems AI contest participants can use Embedded Python in their solutions! So if you are not yet a member of the Embedded Python Early Access Program (EAP), now is the time!
Refer to python-interest@intersystems.com and you'll get FREE access to the InterSystems IRIS Embedded Python features.
In addition, we invite all EAP participants to the special Embedded Python kick-off webinar tomorrow, July 6 at 10:00 AM EDT – an easy start on how to use Embedded Python! Demonstration of the new features of the data platform, examples applications, and of course rewards.
After you become an EAP member, you will receive a special link to join the kick-off webinar:
➡️ RSVP: python-interest@intersystems.com
Hi All,
I have to do intersystems iris objectscript code vulnerability scan. I tried in synck vulnerabilities but it's not supported for the xml file. Can someone guide me? Anyother tools are there to do this?
I create a object.
SET nlsoref=##class(%SYS.NLS.Locale).%New()So I want to verify if the attribute 'test' exists in the object, I tryied use $data
write $data(nlsoref.test)
But show this message:
<PROPERTY DOES NOT EXIST> *test,%SYS.NLS.LocaleSomeone can help?
Best regards, Flávio.
I am calling a business rule from one of my business processes and I noticed that when the business rule reports an error that the business process calling that rule just stops without any errors. Resultingly it fails to trigger the scope - catch-all construction that is surrounding the business rule. I know that it is possible to view the errors in business rules in the business rules log, but I really like to push an error message to Ens.Alert or something similar when my business rules report an error. How do I achieve that?
Hi,
Every time I have to enter password in Visual Studio Code. Is there any why to save the password in VSCode?
Thanks
Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in June 2021:
Title.
I've searched the forum and documentation with no luck. Thanks!
Hi,
I am getting following error while executing the below command in terminal
>install iris-analytics-sample
ERROR #5001: 'iris-analytics-sample' not found in any repository.
However if I type full command then it is working fine.
Thanks
Hello,
I work with IRIS for Health 2020.1 and I attempted to set up Enterprise Systems to populate Message Bank. I see entries in Message Bank Event Log from the defined Enterprise Systems. I can browse Messages going back before I set up Enterprise Systems using Enterprise Message Viewer. However, I find no messages in Message Bank Viewer. Do I need anything extra to archive messages?
Hi.
Is it possible to convert the object of type %SerialObject to $List form? I'm using embedded class in unique index and I want to use autogenerated method Open to access the object - parameter should be in $List form...
Tnx.
Regards,
Matjaž
Hi, I need to assert that a string is a certain value.
When running this I get an INVALID OREF error.
Is there any Assertion method I can use where the first parameter can be string like above, rather than an instance of a class as I can see on the documentation?
Thanks,
Andy.
I want to add time slot and category metadata to complete my cinema application.
I am following the documentation of the cinema application "https://docs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=TWEB2…" and in that,
I was trying to add theater and time slot. But I was not able to do that.
I was also trying to filter the records as per the ratings and category selection on the search bar. but this is showing some error.
I also want to know that how to add bootstrap in cps page?
Thank you
.png)
Hi Community,
This post is to introduce one of my first project in COS, I created when started to learn the language and until today I'm keeping improve it.
The CosFaker(here on Github) is a pure COS library for generating fake data.
cosFaker vs Populate Utils
So why use cosFaker if caché has the populate data utility?
Ok the populate utility has great things, like the SSN Generator for example, but what to do when you have a field with a long description of a product? How to check if that table will list the emails or if that calculated property will count the days of the last user interaction.
Hi Community,
Please welcome the new video on InterSystems Developers YouTube:
Hi all.
I'm currently working with a system needing results from a lab system, and they can only accept a single OBR per R01 message.
The R01s from the source have multiple OBRs, so I need to be able to send a message per OBR.
I found a similar post where the example was using a BPL, however there's some additional trickery processing that I already have working within an ObjectScript Business Process and would like to avoid trying to recreate in a BPL.
Any sample code will be greatly received ![]()
As you know the $ZUTIL method is deprecated and I'd like to replace this calls for the corresponding ones.
In my case I'm looking to replase $ZUTIL(12) by
But the response is not the same while $ZUTIL points to mgr folder NormalizeDirectory points to my Logic Databse Folder.
Is there a way to proper do this replacement?
Thanks a lot
Productions often need to receive REST requests.
Here's how to do that.
1. Create proxy Service:
/// Empty BS we would use to send Produciton requests
Class production.ProxyService Extends Ens.BusinessService
{
}2. Add it to production as RESTService (or any other name).
3. Write your rest broker (docs, more docs)
4. In your handler method create the message and call target BP/BO like this
Include Ensemble
Class test.REST Extends %CSP.REST
{
XData UrlMap [ XMLNamespace = "http://www.intersystems.Hi, I think it's a simple question this at the end of something fairly complex
I've a DTL to go to a target class in context
.png)
I get the error CLASS DOES NOT callrequest=##class(context.ConnectDocumentRequest).%New()'
I attempted to add code to initate the context with
set context.ConnectDocumentRequest =##class(Penn.EDT.Messages.ConnectDocumentRequest).%New()
I know there is something basic i am missing but have not seen covered in any tutorials i have done.
I see an example using Assign I tried assigning my context as
$CLASSMETHOD("Penn.EDT.Messages.
Hello, first of all thanks for your time reading this question,
We would need some help, we would need to delete a %GlobalBinaryStream which is a variable called "pOutput" which is being sent from a REST Service to POSTMAN
Currently we have tried:
set pOutput = ##class(%GlobalBinaryStream).%New()
//set pOutput = msg
while(msg.AtEnd=0){
do pOutput.Write(msg.Read())
}
do msg.Clear()
Quit $$$OK
do pOutput.