Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in October 2022:
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in October 2022:
Hi,
I have installed Visual Studio on my PC and connecting to IRIS on my Linux server.
I have installed the InterSystems extensions.
I click on the InterSystems icon on left->Click on "Choose Server and Namespace" -> Pick my server myTrak.
However I get this error:
request to https://mytrak:52773/api/atelier/ failed,
reason: write EPROTO 18648712:error:100000f7:SSL routines:OPENSSL_internal: WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:
Does anyone know how to fix this?
----
Visual Studio 1.69.2
Extensions
==========
InterSystems Language Server 2.1.3
I
Hello DC Members,
Please welcome the new video on InterSystems Developers YouTube:
⏯ Ten Times Faster Queries with Columnar Storage @ Global Summit 2022
HealthShare Patient Index November 29-December 1, 2022 9:00am-5:00 US-Eastern Time (EST)
Building and Managing HL7 Integrations November 28-December 2, 2022 9:00am-5:00 US-Eastern Time (EST)
Hi
Can anyone explain how to display custom icons in a TablePane?
Andy
Recently there was an internal email thread on which SMTP server to use in demos. I thought I'd share the comments from that thread:
Person 2: I use https://www.hmailserver.com
Person 3: I, too, use hMailServer as a local SMTP server on my demo VMs, with a mail client (usually Outlook) also on the VM. So no need to connect out to an SMTP server on the Internet. Save
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