Can you get a boolean response in the same way you can with a Business component using ##class(Ens.Director).IsItemEnabled(component).
Or even use this method for getting the adapter state?
Can you get a boolean response in the same way you can with a Business component using ##class(Ens.Director).IsItemEnabled(component).
Or even use this method for getting the adapter state?
Hi Guys,
I've a task scheduler that is stuck in Running is there a way for force stopping it?
.png)
Thanks
Hi Community:
Thought you might be interested in this new partner we just signed in Sydney -- PainChek® Ltd , the Australian-based developer of the world’s first pain assessment and monitoring application for smartphones. Its software-as-a-service, artificial intelligence platform uses smart devices with cameras to accurately evaluate pain levels.
PainChek is using InterSystems IRIS for Health™ and integrating its application with electronic medical record (EMR) systems – including InterSystems TrakCare®.
In Australia, New Zealand, the United Kingdom, and Singapore, PainChek’s application
How do I create recursive classmethod which stop all methods from running when condition are meet?
ClassMethod workpieceUnit(mainArticle As%String, article As%String) As%String
{
&SQL(SELECT unit->unitCode INTO :unitCode FROM production_article.composition WHERE mainArticle = :mainArticle AND article = :article)
IF SQLCODE = 0
{
W !, "Has Value"QUIT unitCode
}
ELSE
{
SET sql = "SELECT article, unit->unitCode, production_article.composition_sqlArticleCode(article, type) AS articleCode FROM production_article.composition WHERE mainArticle = "_mainArticle_" AND tHi Community,
I am working on sending Gmail with error details when any errors occurs in the ensemble production.
I am facing the below issues while doing it
1.I have Ens.Alert (Business process) using the class Ens.Alerting.AlertManager and Emailoperation (Business operation) using the class EnsLib.EMail.AlertOperation. here my business process is not sending the Alarm request to business operation eventhough i am using rule to connect the business operation
2.What are SMTP server details needs to given for Gmail?
Please let me know how to resolve these issues
Thanks,
Smythee
Hi,
I want to know how to add a class to IRIS namespace 'USER' using terminal.
How do I do this?
I know you can add this class using Visual Studio Code with the Intersystems extension installed on my PC and connected to an IRIS instance.
Is it possible to do this with terminal? From this prompt:
BASETC:USER>
I have a class like in this example:
Class ObjectScript.RightTriangle
{
/// Compute area and hypotenuse of a right triangle
ClassMethod Main()
{
write !, "Compute the area and hypotenuse of a right triangle",
!, "given the lengths of its two sides."
....
}
Hi Team,
How InterSystems cache calculate the license count based on process?
How to we determine the product required license count ?
Thanks
Rathinakumar
Hi, I have a laptop with a Core i5 processor, a workstation with AMD Athlon 3000G processor, and another workstation with AMD Ryzen 3900 onboard. I was succeded to install IRIS Health community on the laptop. On both AMD workstations the install process hangs. I've waited for 8 hours but with no avail. What could be wrong with AMD?
This is not an issue in ObjectScript, due to its typeless nature. But it's essential for external programming languages that care a bit more about types of variables.
And in any case, it's still reproducible in ObjectScript. I have table
CREATETABLE some_table (
idINTEGERNOTNULL,
x INTEGER,
y INTEGER,
z VARCHAR(50),
PRIMARY KEY (id)
)And data
INSERTINTO some_table (id, x, y, z) VALUES (1, 1, 2, 'z1');
INSERTINTO some_table (id, x, y, z) VALUES (2, 2, 3, 'z2');
INSERTINTO some_table (id, x, y, z) VALUES (3, 3, 4, 'z3');
INSERTINTO some_table (id, x, y, z) VALUES (4, 4, 5, 'z4');
Hi, devs!
In ObjectScript I can refer to a class parameter as:
write ..#ParameterName
How do I do the same in Embedded Python?
Hi Developers,
This October, you posted 80 new questions on the Developer Community:
Questions

Here are the Key Questions of October chosen by InterSystems Experts:
Hi Developers!
InterSystems continues the Developer Meetup event series. The next one will happen on November 17th from 5:30 pm-8 pm ET in Boston, MA, USA.
At this meetup, you will learn more about Kubernetes, Mirantis Lens tool, and how to run Lens with InterSystems IRIS IKO (InterSystems Kubernetes Operator).
Food and drink will be provided.
Agenda:
Hi,
I would like to use the XML Schema Wizard / %XML.Utils.SchemaReader to generate the Cache classes.
It seems Xerces has trouble with xs:import. XSD Source - DMP_Rheumatoide_Arthritis.xsd
Fehler: FEHLER #5373: Klasse 'DMP.cda.dmpclinicaldocumentheadertyp', von 'DMP.cda.levelone:property:clinicaldocumentheader' benutzt, existiert nicht
Abgeschlossen bei 2022-11-05 22:17:18
Maybe I can solve this problem by enabling this feature in Xerces somehow?
http://apache.org/xml/features/honour-all-schemaLocations
Is there any other way to work around this problem?
Best regards
Ruiyan Yu
Hi,
The IRIS Health Docker image comes with Java 1.8 but I need OpenJDK 11. How could I install that using aptitude or somehow else?
The apt-get command requires elevation but if I rewrite the command with sudo apt-get it won't build with error message /bin/sh: sudo: not found
Is it possible to do what I want?
Hey Developers!
Watch this video to get a brief overview of the InterSystems API Manager (IAM) and a deeper dive into new features of IAM 2.3 and 2.8:
⏯ API Management with InterSystems IRIS @ Global Summit 2022
This article aims to give an introduction to what gRPC is and an example of how to play with the official Hello World using IRIS Embedded Python.
You can find all the code exposed here, in this project repo.
The gRPC (gRPC remote procedure call) is an API architectural style based on the RPC protocol. The project was created by Google in 2015 and is licensed under Apache 2.0. Currently, the project is supported by the Cloud Native Computing Foundation (CNCF).
Successful cases of its use are related to connecting services between backends, such as services in microservices sty
Thank you to everyone who joined our User Group Session yesterday!
It was great showing off the new Deltanji Production Component driver that facilitates source control of interoperability productions, and we had some really insightful discussions as well.
If you missed out on the session and would like a copy of the recording, feel free to drop me a message.
Hi
I have a Zen Page with tablepane which has a datasource in a different namespace to that of the Zen Page. When the page is run, no data is returned and the tablepane is not populate, even though the rerferenced table contains dat.
The tablePane code is as follows:
<tablePaneid="DataExtractionCurrent"showZebra="true"cellSpacing="2px"OnCreateResultSet="DataExtractionCurrent"></tablePane>The OnCreateResultSet points to the following method:
Method DataExtractionCurrent(Output tSC As%Status, pInfo As%ZEN.Auxiliary.QueryInfo) As%ResultSet [ ZenMethod ]
{
new$namespaIn this article, I would show how you can upload and download files from InterSystems products via http.
The questions about working with files over http arise fairly often on community and I'm usually linking to my FileServer project which demonstrates file upload/download but I'd like to talk a bit more on how we can serve and receive files from InterSystems products.
If you have a file in on a file system and you know the path you can serve it from REST or CSP context by calling this method:
ClassMethod serve(name As %String) As %Status
{
#dim sc As %Status = $$I was able to run the Cache terminal from the command prompt with the following command, in the namespace that I provided in the brackets:
cterm /console=cn_ap:ENSEMBLE[TEST_1]
But the command suddenly stopped opening the terminal in the correct namespace. It just opens it in the default namespace. I tried it with different namespaces or invalid namespaces, it always opens the terminal in the default namespace now.
I cannot figure out what is causing this behaviour.
I have looked through the documentation and can't seem to find anything on usage of adapters by service but not by operation and vice versa.
Any help would be great! Thanks :)
Hi,
I'm often required to copy the database from production to test.
This is to 'refresh' the database on test.
To achieve this I copy all required IRIS.DAT files from production to test.
The nodes are mirrored on production.
The nodes are not mirrored on test.
Each of the database files IRIS.DAT has a mirror attribute.
Is there a way of checking if the mirror attribute is set for the database file? eg. an objectScript program
We need to resize existing images already in %GlobalBinaryStream to create thumbnails.
The requirement is also to use the method to resize new images that are uploaded.
Does anyone have a solution for this ?
Hello Community,
We're happy to announce that the InterSystems IRIS, IRIS for Health, HealthShare Health Connect, & InterSystems IRIS Studio 2022.2 is out now!
And to discuss all the new and enhanced features of it we'd like to invite you to our webinar What’s New in InterSystems IRIS 2022.2.

Is there a way for web application to set its session timeout value according to the user role or other criteria?
In this case, I have a custom production monitor page, and I want to set 5 minutes for most users but allow managers a longer time or those displaying pages on a monitor a longer time.
Hello community! I'm working on an internal innovation effort at InterSystems considering our documentation/resources around upgrades. As part of this, I'd love to have your answers to any/all of the following questions, either via comment or (if you prefer your answers to be more private) direct message.
Thanks in advance!
What InterSystems products + versions are you running? ($zv is ideal.)
What makes you decide to upgrade?
What are your blockers to upgrading?
What is your process for evaluating and planning a possible upgrade?
What documentation resources do you use?
What gaps/is
Is there a way of passing in the name of a category used in the production and returning a list of business components associated with them?
I want to be able to do this in code.
How can I retrive the values present in the Category dropdown at the top of the production in code?
.png)
I use the following code to check the last modified date of file which is on a network shared folder (eg: "\\someserver\subfolder\foobar.txt")
set file = ##class(%File).%New(filePath)
set lastModifiedDate = file.DateModified //might hang up for a very long time set file = "" //close fileif the file is not available or does not exists, DateModified property return a negative value (which is fine). I use that property to quickly check if file has been modified and need to be imported.
Here is the issue: sometimes, accessing DateModified property will hang up for a long time (about 5 minut