Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in April 2021:
Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in April 2021:
Over the last couple of weeks the Solution Architecture team has been working to finish off our 2019 workload: this included open-sourcing the Readmission Demo that was brought to HIMSS last year, so we could make it available to anyone looking for an interactive-way of exploring the tooling provided by IRIS.
While in the process of open sourcing the demo we were immediately hit hard with a showstopper.
Hi,
I'm getting thousands of errors like the ones below:
2021-05-03 14:11:44 [SQLCODE: <-400>:<Ocorreu um erro fatal>] [Cache Error: <<READ>Dispatch+14^%SYS.BINDSRV>] [Location: <ServerLoop>] [Client info: <Username: KIORAS, Node Name: 3IK0VLS5UU, IP Address: 192.168.1.223, Executable Name: EXTRService.exe, Internal Function: B0>] [%protocol: <52>] $Id: //ce/2018.1.2/kernel/common/src/aclass.c#1 $ 23468 104
2021-05-03 14:35:39 [SQLCODE: <-400>:<Ocorreu um erro fatal>] [Cache Error: <<READ>ServerLoop+16^%SYS.
Preview releases are now available for the 2021.1 version of InterSystems IRIS, IRIS for Health and HealthShare Health Connect.
As this is a preview release, we are eager to learn from your experiences with this new release ahead of its General Availability release next month. Please share your feedback through the Developer Community so we can build a better product together.
InterSystems IRIS Data Platform 2021.1 is an extended maintenance (EM) release. Many important new capabilities and enhancements have been added in continuous delivery (CD) releases since 2020.1, the previous EM release.
Hello everybody,
I am creating a WS as a server, but when I ask for the WSDL it is giving me an error because it cannot find the class.
I have added the following instructions:
set ^SYS("Security","CSP","AllowClass","MiProyecto.MiClaseWS","%SOAP.WebServiceInfo")=1
set ^SYS("Security","CSP","AllowClass","MiProyecto.MiClaseWS","%SOAP.objects in javascript :
var oM = new Object;
var mMode=["down","up","click"] ;
var key,val ;
for (key in mMode)
{
val = mMode[key] ;
oM[val]={} ;
oM[val].id ="" ;
oM[val].type ="" ;
...
}
so I can access the .type directly as :
oM.down.type
or:
oM["down"].type
what is the syntax in CACHE or IRIS, to achieve such approach via class/key/property...?
acctually: class/object/key/property anlaogue to ^GLOBAL(key,"property")=val
in CSP what is the difference between OnPreHTTPafter and OnPreHTTP.
And how code execution is different if written in above mentioned TAGS and <script language="cache" runat="server"></script>
If you do not have direct access to the server that runs your IRIS Docker container
you still may require access to the container outside "iris session" or "WebTerminal".
With an SSH terminal (PuTTY, KiTTY,.. ) you get access inside Docker, and then, depending
on your needs you run "iris session iris" or display/manipulate files directly.
This is iris-key-uploader a frontend in Angular with it's rest API.
The aim of this project is to easily import key file to Iris from a web ui.
Unfortunatly the IRIS panel to change key doesn't give the opportunity to upload the license.

As you can see, you can only browse from the server side.
What if, you don't have a direct access to it ?
You would like to have a simple web page to upload the new key and activate it.
This is the purpose of this project.

http://localhost:52773/keyuploader/index.Let's say I have a persistent class Sales.
I need to create a report that shows the amount of sales for each branch.
By simply using the class Sales for the source of the cube, I can show what I want with one little exception - the branches that did not have any sales are not shown.
Is there a way around that that does not involve creating a whole new table just for this cube or using a Data connector (they have horrible documentation and I am unable to figure out how to use them properly)?
Earlier this year, the AppS.REST package was released. AppS.REST is a framework for easily exposing existing persistent classes in IRIS as REST resources. AppS.REST-enabled classes support CRUD operations with little effort from the developer, bridging the gap between persistent data in IRIS and data consumers, such as an Angular front end application.
But IRIS classes are much more than just a definition for loading and saving individual records! This article aims to highlight a few ways to leverage the power of IRIS in your REST applications. Using the Phone.Contact sample app, we'll look at out-of-the-box query support, use of class queries and finally ObjectScript methods.
I'm attempting a first-time installation of IRIS for Health on my home Mac for eval purposes. I want to be able to install IRIS and Ensemble. I downloaded the package but it doesn't come with instructions, and I'm running into issues. Is there a straightforward install instruction set online, or does anyone have one you can pass along?
Thanks, Jim Winski
Hi Developers,
A new video is already on InterSystems Developers YouTube:
Like hardware hosts, virtual hosts in public and private clouds can develop resource bottlenecks as workloads increase. If you are using and managing InterSystems IRIS instances deployed in public or private clouds, you may have encountered a situation in which addressing performance or other issues requires increasing the capacity of an instance's host (that is, vertically scaling).
One common reason to scale is insufficient memory.
How are others deploying API Manager services, routes and plugins from one environment to another? We plan to use cache object code to deploy. Is it best to embed curl or is there a better way?
Hi Community,
Please welcome the new video on InterSystems Developers YouTube:
Hi all,
I'm wondering if is possible to get the values of itself to run a query.
I want to create some query to find a value into a %Persistent class but each one use diferent values.
Class Kurro.
According to IDC, more than 80% of information it is NoSQL, especially text into documents. When the digital services or applications not process all this information, the business lose. To face this challenge, it is possible use OCR technology. OCR uses machine learning and/or trained image patterns to transform image pixels into text. This is important, because many documents are scanned into images inside PDF, or many documents contains images with text inside. So OCR are an important step to get all possible data from a document.
I am getting the below error while navigating a next page from the list in Management Portal
Must have Java Enabled to use hyperevent call
Unable to locate CacheCSPBroker applet!
I have already enabled Java in Java Control Panel
Any help is much appreciated
Thanks & Regards,
Sadagopan TS
The boss (reasonable intelligent ;-) wants to connect to the cache database through Excel, but unless I explain what he's looking for (field names DB names etc) then I can see him continually coming back for "what's the link here and how do I get the delivery company name etc etc"
is there a SAFE way I can give him access to our database using an intelligent visual user interface.
I had thought about the SQL Query Builder within the management portal, but the thought of giving him access to all of the other functionality of the management portal.
Hello! I have a question how to parse Library.
Hello all,
I'm a newcomer in ObjectScript and Ensemble and I would like to ask for any help.
I have a method which is called inside a BPL in order to create or append some data in a file by an operation. This is the current code:
{
quit .
Someone have experiences interconecting NonStop SQLMP with Iris ?
I need if possible some references or tips, actually connected with JDBC driver to interconnect and take many assorted problems, like :
Some queries, not to much, have null fetch, works fine but have no content to fetch, and i'm sure select sentence is not the problem.
Hi Community,
Enjoy watching the new video on InterSystems Developers YouTube:
Hello,
Am curious if anyone has a working example of IRIS/Ensemble consuming a CDS file and one or two sample CDS files for reference.
Thanks in advance.
I want to consume external websocket api, URL looks like this:
wss://site.com/ws/v2/?&token=<token>
Checked with external tool (Simple WebSocket Client) that websocket works and I can consume the data.
In Cache the relevant functionality is offered by %IO.Socket class.
set sock = ##class(%IO.Socket).%New()
set sock.SSLConfig = "MyEmptySSLConfig"
set sock.TranslationTable="UTF8"
do sock.Open("site.com/ws/v2/?&token=<token>","443", 10,.sc)
However I get this error:
ERROR #7109: Timed out after 10 seconds trying to open stream '|TCP|443|42881' [zOpen+41^%IO.Socket.Hello Community,
I need to create a new menu in the inside viewer to create a ZEN screen to make an external call outside the SDA, how can I do this or configure a new menu by calling a .cls?
Are there any BDD testing automation implementations within Mumps/Cache Objects already in existence?
We are looking at using Cucumber for our Java regression test automation and would like to use similar feature file testing with the Cache code.
Looking to use something existing before building it.
Regards,
-Karl