Hi Community,
It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of March chosen by InterSystems Experts within all Communities:
Hi Community,
It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of March chosen by InterSystems Experts within all Communities:
I though this is a pretty cool way of installing webterminal in an environment where I had Management Portal / Visual code access, but I had no terminal access. zpm was already present. otherwise you could add it in the same class.
Class Theo.Util.Webterminal Extends %RegisteredObject
{
/// Description
ClassMethod install() As %Status [ CodeMode = objectgenerator ]
{
zpm "install webterminal"
}
}
It is probably somewhere in the doc. So hard to search. Hope InterSystems going to AI on their community/support data.
How to see a meaningful value in management portal - sql explorer. For instance
Class MySetting Extends %Persistent{
Property Name As %String;
Class MyObj Extends %Persistent{
Property Setting As MySetting;
When browsing MyObj in management portal (just select * from MyObj - lazy to do a join), I will see 1,2.. values in the Setting column. I would like to see the Name. I do not want index MySetting with Name as primary as the name can change
Thank for your comment.
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in March 2024:
Hi Community,
We'll show you the recent changes to InterSystems HealthShare Clinical Viewer and what is coming next:
I recently had the need to monitor from HealthConnect the records present in a NoSQL database in the Cloud, more specifically Cloud Firestore, deployed in Firebase. With a quick glance I could see how easy it would be to create an ad-hoc Adapter to make the connection taking advantage of the capabilities of Embedded Python, so I got to work.
To start, we need an instance of the database on which we can perform the tests. By accessing the Firebase console, we have created a new project to which we have added the Firestore database.
.png)
Hey Community,
Watch the latest video on InterSystems Developers YouTube:
in which Community Docker package can I find
HS.Gateway.Access.RemoteOperations.cls
Hi all,
I have a situation where I am writing to global from different processes - let's call it an Event Queue.
There is then a different process that uses $order to read through the data - the PubSub processing BP.
Sometimes the writing of this global will form part of a transaction that also insert data into other tables, using tstart and tcommit.
If there is some issue, it will roll back, and the entry written to the global will also roll back.
Updated Jan 19th, 2023.
Hi all,
I want to share a quick little method you can use to enable ssl with a self signed certificate on your local development instance of IRIS/HealthShare. This enables you to test https-specific features such as OAuth without a huge lift.
1. Install OpenSSL
Windows : Download from https://www.openssl.org or other built OpenSSL Binary. Debian Linux: $ sudo apt-get -y install openssl RHEL : $ sudo yum install openssl
2. Create a self-signed certificate pair.
Say I've been developing a web application that uses IRIS as the back end. I've been working on it with unauthenticated access. It's getting to the point where I would like to deploy it to users, but first I need to add authentication. Rather than using the default IRIS password authentication, I'd like users to sign in with my organization's Single Sign On, or some other popular identity provider like Google or GitHub. I've read that OpenID Connect is a common authentication standard, and it's supported by IRIS. What is the simplest way to get up and running?
There is a Link Procedure Wizard option within the Management Portal (System > SQL >Wizards > Link Procedure) which I had reliability issues with so I decided to use this solution instead.
You need to query an external SQL database to use the response within a namespace. This guide is assuming that you already have a working stored procedure in SSMS although you could instead use a SQL block within the operation. Stored procedures in SSMS are preferred to maintain integrity, Embedded SQL can get very confusing if you have a complicated SQL statement.
Visual Studio Code releases new updates every month with new features and bug fixes, and the March 2024 release is now available.
Version 1.88 includes:
I am currently adding a field to our Existing messaging from Epic, however there might be a possibility I need to back load data into the Ancillary system. While I have the previous messages that can be sent, they do not have this additional field that I am adding to the message.
I can do a lookup against Epic Clarity SQL Database; however, I don't want to throw a wrench into the workflow if the system cannot connect to the Epic Clarity SQL Database.
Hi,
I am trying to connect to another server using %Net.HttpRequest.
I keep getting this error : SSL23_GET_SERVER_HELLO:unsupported protocol.
My guess is that the site I am reaching for uses TLS1.3 which is not supported in 2016, But I cant right now ask my client to upgrade.
Is it possible to override this ? install some kind of a patch or a more recent version of openssl on the server ?
Thanks
Amiram
The Web/CSP Gateway management page is typically configured so that it cannot be accessed from client machines.
To access from any client, do the following:
For example, I have two timestamp values ('2024-04-01 10:00:00', '2024-04-01 11:30:30'). I would like to find the difference between these two timestamps, and I need the result in hours:minutes:seconds (hh:mm:ss) format.
Expected Output: 01:30:30
Note: I need an SQL query command. I should not use ClassMethod, Function, or Stored Procedure.
Could anyone please provide me with an SQL query for my question?
Hi Guys,
I'm converting our system from Ensemble 2014 to 2018 and we do have Security package of classes in deployed mode in our 2014 (eg. Users, Role, ...etc) which doesn't exist in our newly installed 2018, so how can I include those classes in 2018?
Thanks
Hi Community,
Watch this video to learn about InterSystems Startup Program and hear lightning pitches from startups innovating with InterSystems technology:
A report that I need to create - I need to write a class method that will execute a few queries and save the data to a class and then return the data in a result set that can be used in the Logi report as a Stored procedure.
I can create the class method that is a Stored procedure and do the queries and manipulate the data, however I am having an issue at the end of the method to return the fields back as a result set.
Hi Guys,
After converting from Ensemble 2014 to 2018 and ran my application I get the below error message:
.png)
MSDS.ZEN.Component.imageclickbuttom exits and compiles fine and also compiled the Zen page extending the class successfully but still getting the error so not sure why I'm still getting the error!?
.png)
Thanks
Hi Community!
It's time to celebrate our 19 fellow members who took part in the latest Technical Article Contest: InterSystems IRIS Tutorials and wrote
Our judges mentioned that it was a very tough challenge to choose only three articles each because more deserved points. Despite it all, they persevered and now it's time to announce the winners!
.jpg)
Let's meet the winners and look at their articles:
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 made a major change and expect a changed review just let me know.
Hi Guys,
I've upgraded from Ensemble 2014 to 2018 and copied all classes across, ran Upgrade & CompileAll and looks fine, but when trying to search on dataCombo I get the below error
.png)
here is the definition of the Combo
<dataCombo id="dcLoc" enclosingStyle="font-size:14px;padding-bottom:5px;" placeholder="Choose Locations" controlClass="textLogin" valign="middle" buttonImage="images/expand-v2.png" buttonImageDown="images/expand-v2.
After running many tests to kick the tires calling Python from COS (which worked fine) in any directory, I encountered problems when trying to access Python libraries like Numpy from any OTHER namespace. I saw some other posts about this but the resolution seems unclear. When I run the test program method numpytest below in %SYS it works just fine. If i run the Python method in any other namespace I get:
PITT>do ##class(test.python).numpytest()
DO ##CLASS(test.python).
Hello,
I am trying to find or locate all Intersystems business components using a particular class. Like I want to find component is using abc.test.cls class.
I know that you can use Do $SYSTEM.SQL.Schema.ImportDDL() to insert sql files into IRIS however I was wondering if there is a way that I can upload .sqlite files into iris? I have about 20 .sqlite files that I need to get into my database. I tried using the ImportDDL method but it said "SKIPPING non-SQL SOURCE:"
In The Business Process and the Business Operation, I am using the following code to get the value of TimeCreated and TimeProcessed
BP:
%Ensemble("Process").%PrimaryRequestHeader.TimeCreated
%Ensemble("Process").%PrimaryRequestHeader.TimeProcessed
BO:
..%RequestHeader.TimeCreated
..%RequestHeader.TimeProcessed
But I am trying to use ..%RequestHeader.TimeCreated in Business Service it is not storing any value.
How to get the value of TimeCreated and TimeProcessed in Business Service?
Hello
I am trying to convert some old rest classes using the OpenApi spec (e.g. %REST.Impl)
Say I want to return a 401 in my impl.cls for api and I can define the status code as follows, e.g.
Do ..%SetStatusCode("401")
Do ..%SetContentType("application/json")However the api client will see this as 401 OK which is not right.
In the past, I could just create a rest class that extends from %CSP.REST and return as follows:
Set%response.Status = ..#HTTP401UNAUTHORIZEDThis will return 401 Unauthorized, which what I expect to see reported in the api