Article Daniel Aguilar · Oct 12, 2022 2m read

Hi Developers!!,

I know what you are thinking... a new feature for ZEN.proxyObject...? NOW..???

In Spain we say that better late than never  ;-)

Have you ever need to send a numeric attribue of a Json in String format?

Did you go crazy casting class objects with fixed typed properties?

Lucky you!!

With this new feature I propose a way to continue working with our loved dynamic object %ZEN.proxyObject, being able to choose whether or not we want to send numeric attributes in String format.

You: "That's great!! but come on, stop rambling and explain to me how it works!!!."

Me:"That's the best part,

1
0 469
Discussion Scott Roth · Oct 13, 2022

I do not know about others, but Docker and the intro of Docker was not a forte of mine coming into trying out new components of InterSystems IRIS. We are moving to IRIS and with that we want to incorporate into our upgrade. I have been struggling with trying to understand Docker. I know it is not an InterSystems product but the assumption that everyone knows Docker and is using Docker has caused me a great deal of time.

What is everyone's thoughts about getting some kind of docker help like a basic understanding within InterSystems documentation.

I submitted an Idea to the Idea a thon...

2
0 264
Question Evgeny Shvarov · Oct 8, 2022

Folks!

Could you please share any best practices on how to debug Embedded Python code?

Given I have the following class method:

ClassMethod HideShip() As %Status [ Language = python ]
{
    import iris
    shipsgl=iris.gref(iris.cls(__name__)._GetParameter("BoardStorage"))
    shipsgl.kill()
    from random import Random
    board=iris.cls(__name__)._GetParameter("BoardRange")
    x=random.randint(0,board+1)
    y=random.randint(0,board+1)
    shipsgl.set([x,y],1)
}

And when I run it shows the following error:

USER>d ##class(eshvarov.sample.SeaBattle.GamePython).HideShip()

D
5
0 1000
Announcement Laurel James (GJS) · Sep 20, 2021

Hi developers, 

We're excited to let you know about the latest release of Serenji, your on-the-spot debugger from George James Software. Version 3.2.0 focuses on the debug experience and introduces zero configuration for users. No matter where you are or what you're doing, Serenji is always ready to go in just one click, so you won't lose focus by spending time setting up a launch configuration. 

This enhanced debugger also takes advantage of the latest features of VS Code itself. With this powerful combination you'll be able to smoothly identify and quickly fix errors in your code, contributing to the production of quality, maintainable code... and isn't that what everyone wants?! 

   

In this latest release you will experience: 

  • Debugging in just one click with zero configuration. 
  • Navigation directly to the source of an error using our gj :: locate technology.
  • Intuitive prompting for entrypoint and arguments.
  • Configurable break on error.
  • Program output in debug console. 
  • Run and Debug CodeLenses.
  • Run multiple concurrent debug sessions and consoles. 
  • Shaded background for read-only documents. 

If you're a new user, it's now easier for you to get started. The introduction of a welcome page Walkthrough and guidance on the Explorer and Run and Debug views means you can effortlessly create your initial workspace and start debugging. 

Download Serenji directly from the VS Code marketplace and take a look at our release notes to find out more about these new features and how to use them. 

We offer a free 30 day trial so if you're not yet a user of Serenji but you're interested in how it can help you, drop me a message through the Developer Community or email us at info@georgejames.com.

Happy debugging! 

1
4 408
Question Edmara Francisco · Oct 13, 2022

Hello!

I used %Projection.Java to generate the java proxy classes. Follows the projected class image.

Note that "import com.intersystems.binding.Database" was added but it displays the error cannot find symbol.

Has anyone had this problem, how was it resolved?

4
0 298
Announcement Anastasia Dyubaylo · Oct 14, 2022

Hi Community,

We're super excited to announce the 1st meetup of the Developer Community in Valencia, Spain! 🎉

It will take place on November 16 in the afternoon, from 12 to 14 PM, at the Westin Valencia hotel – the same place and day as the InterSystems Iberia Summit, which will be held there during days 16 and 17. 

Announcing ArangoDB Online Meetup and the Upcoming Webinar

The Developer Meetup is the perfect event to meet other members of the Community in person, share experiences, solve doubts, learn tips & tricks, tools, and resources... and talk face-to-face with InterSystems experts!

The Meetup is open and informal. So, it is open to suggestions and to any member of the Developer Community in Spanish. And it is free, of course. All the Meetup attendees will have a present, as a keepsake from the day. And at the end of the Meetup, we will do a Kahoot quiz, with great prizes for the winners. Ah, we'll also have some pizza and drinks, the developers' food 😉

The goal of the Meetup is to make the most of the networking, but you can also participate in the event by doing a presentation.

➡️ Do you want to present your work at the Meetup?

💻 email david.reche@intersystems.com and indicate your name, company, and the topic you want to talk about

0
0 274
Question Nezla · Oct 13, 2022

Hi Guys,

I'm really not that familiar with Rest APIs in Ensemble and came across one while investigating some issues.

I got the below code which I'm guessing that is a Rest API that provide services that can be accessed providing url and would like to understand it and my question is, does this url http://52.24.106.151:80/Csp/Upload/CreateRoute/Bmc   means that someone use it to run cmCreateRouteBmcDev classmethod for example and does POST means we can send a request or we can receive a request (a post), this MSDS.BluMicello.InterfaceServices class has a list of class methods and cmCreateRouteB

4
0 859
Question Nezla · Oct 13, 2022

Hi Guys,

I'm exporting a Zen report to excel using the following : SET Status=rpt1.GenerateReport("c:\temp\Intruments.xls",10)

and it's working ok but I'm getting extra fields that they shouldn't be there.

here is the correct html format :

4
0 540
Announcement Anastasia Dyubaylo · Sep 21, 2022

Hello Community!

We're thrilled to announce yet another type of contest - the contest for the brightest idea! Please welcome: 

💡 InterSystems Idea-A-Thon 💡

Suggest an idea related to InterSystems Products and Services between September 26 and October 16and receive a guaranteed prize.

Moreover, both InterSystems employees and Community Members can participate!

>> Submit your ideas here <<


5
3 1210
Announcement Laurel James (GJS) · Oct 13, 2022

We’ll be hosting our bi-annual virtual User Group Session on Thursday, November 3rdat 3pm (GMT). We will demonstrate the new Production component driver for Deltanji - it enables highly granular management of Interoperability Productions with tight integration into the management portal. 

The session is also an opportunity for us to help to problem-solve any issues you're having, and a chance for you to offer your feedback on our tools.

Those interested in finding out more about Deltanji source control are welcome to join us too.

Sign up for free on Eventbrite >> https://bit.ly/3yBVYVO

0
0 308
Question Alfredo Neto · Jul 15, 2022

Hello.

Our scenarios need to persist messages in the orchestrator. Our Iris Orchestrator is an ephemeral pod with no persistent disks running on AWS EKS in multiple AZ.

We want to know if the iris orchestrator has:

- AWS EFS Support
- Integration with AWS SQS
- Sharing to the same AWS EBS.

2
0 351
Article Steve Wilson · Oct 13, 2022 3m read

I have recently come across a problem saving TrakCare reports as PDF files while using the MS Edge browser on a Windows 10 PC. Whenever a user selected the Save to PDF option the window Tab would crash and reset. The event was trapped and viewable in the Windows Events Viewer and showed a Fault in the AcroPDFImpl64.dll. Even a little research on the Internet showed me that this has been an issue for many and for quite some time – not just in TrakCare, but many other non-InterSystems applications.

The root cause seems to be with a security update that Adobe applied to all their document

0
0 2209
Question Maarten Van den Vreken · Nov 10, 2017

Hi everyone,

I'm having trouble parsing XML containing unicode characters which I receive from an external webservice. I believe my file is saved properly with UTF-8 encoding but the SAX Parser still throws me an error.

I have 2 classmethods: 1 general one (get) to make a request to a webservice and return the date, and 1 (getSportsPerDate) to make a specific call and then parse the data.

ClassMethod getSportsPerDate(language As %String, date As %String){
    #dim cResponse As betradar.uof.api.descriptions.schedule.scheduleEndpoint    #dim res As %Stream.FileCharacterres=..get("spo
5
0 2605
Article Timothy Leavitt · Oct 12, 2022 1m read

I just wrote up a quick sample to help a colleague load data into IRIS from R using RJDBC, and figured it's worth sharing here for future reference.

Ultimately it was pretty simple, aside from IRIS not liking "." in column names; the workaround is to just rename the columns. Someone better at R than me could probably provide some generic approach. smiley

# Need a valid value for JAVA_HOME prior to calling library(RJDBC)
Sys.setenv(JAVA_HOME="C:\\Java\\jdk-8.0.322.6-hotspot\\jre")
library(RJDBC)
library(dplyr)
# Connect to IRIS – needs path to InterSystems JDBC JAR in your installation
drv <-
2
2 350
Question Chip Gore · Sep 20, 2022

Hi -

I'm looking for some help in getting an OS level application on my server to startup from a csp page and I'm just missing something.

I have a routine (and I've tried the same code from an instance method, with the same results) that will launch an application at the OS level using the $zf(-100,keywords,program,parms) from a terminal session, but it won't/doesn't seem to work when I call the code from a #server() call from my webpage. I don't know if there is some combination of keywords or perhaps a different version of the $zf() call that should/would work.

I am open to any suggestions at

7
1 406
Discussion Yone Moreno · Oct 4, 2022

Hello,

First of all thanks for reading this post and thanks for replying:

I think it could be obvious or a little bit naive but I was wondering if a software developer needs as a must or should get his/her own personal laptop or computer, appart the one from their own bussiness or company?

What laptop or computer would you recommend for personal use? For general purpose: programming, leisure, surfing the net, etc.

Thanks for your replies.

Greetings.

5
0 330
Question Fedor Bazyk · Oct 10, 2022

Hi!

I've encountered a peculiar behavior of $ListNext in Intersystems Cache, where I'm not sure whether I'm doing something wrong, or is it an intended behaviour.

First I am creating a ListOfDT from a string delimited with underscores:

Set tempList = $ListFromString(String, "_")

Then I'm saving the tempList as a property of Persistent object

Do DataObj.Services.InsertList(tempList) (Note that Set DataObj.Services = tempList suggested by the manual didn't work at all)
Do DataObj.%Save(1)

Then I'm trying to iterate over the saved list with $ListNext objectscript function:

WHILE $LISTNEXT(DataObj.Serv

4
0 408
Question Nicki Vallentgoed · Oct 11, 2022

I am creating a soap service according to a wsdl that the client has already coded against.
In their operation they have a fault element Exception:

<operationname="query"><soap:operationsoapAction=""/><input><soap:bodyuse="literal"/></input><output><soap:bodyuse="literal"/></output><faultname="Exception"><soap:faultname="Exception"use="literal"/></fault></operation>

which is:

<xsd:complexTypename="Exception"><xsd:sequence><xsd:elementname="message"type="xsd:string"minOccurs="0"/></xsd:sequence></xsd:complexType>

I

2
0 264
Question Nezla · Oct 9, 2022

Hi Guys,

This link (https://github.com/CassiaNetworks/CassiaSDKGuide/blob/master/node_examp…)   uses Javascript request to open a a steam and collect data in an array  (screenshot below) and I'm trying to replicate this with Cache script with HTTP request which is connecting Ok but don't know how can I collect data because the code is hanging at Set tSc=Httprequest.Get(HttpURL) and cannot execute BLEConnect=Httprequest.HttpResponse.StatusLine or any line after it.

9
0 581
Question Nael Nasereldeen · Oct 27, 2019

Hi,

We wanted to use the MD5Hash function,

And had trouble understanding it's return value , as documented:

"Return value: 16-byte MD5 hash."

The value we wanted should have been a simple string, and we did not know how to convert the output to string.

Searching for a solution we found this article:

https://groups.google.com/forum/#!msg/intersystems-public-cache/FdkHIgS9PkQ/P7s-92kN70UJ

That had this solution that works:

"If you know what this gibberish stuff is about, it can be very simple ;)

USER> s h = ##class(%SYSTEM.Encryption).MD5Hash("f...@baz.com")
USER> s h0x = ""
USER> f i=1:1:$l(h) {s chr =

8
0 1699
Question Scott Roth · Oct 11, 2022

I am trying to get the Apache Web Gateway with Docker running on a development RHEL 8 machine so I do not have to config the Web Gateway and Apache apart from each other. I noticed the Apache Web Gateway docker image is using IRIS Community Edition. However when I try to run the docker image with podman I am running into issues with the IRIS setup. I was wondering if someone could help me. When I get the image to run I am seeing the following errors...

[iris]       | [ERROR] Required Linux capability cap_setuid is missing.
[iris]       | [ERROR] Required Linux capability cap_dac_override is

2
1 366
Question Patty Aguirre-Romero · Jan 4, 2022

We will receive an ORM message in Business Service in Iris. From that ORM, an ADT^A31 message will be generated and sent out to the EMR before the ORM message is sent out. The ORM message has to wait until Iris receives an acknowledgement from the EMR indicating the ADT message was received. Then, the ORM message will be sent to the EMR. What do I need to set up to hold the ORM message until the acknowledgement is received? 

Thank you!

Patty Aguirre-Romero

11
0 875
Article Aya Heshmat · Oct 11, 2022 3m read

Watch the session here: HealthShare Health Connect: Tips & Tricks

Enhanced HL7 V2 Productions

1. Review of Interface Settings: Ensure these are set purposefully! (Documentation linked)

Review of Recent Product Features 

(Documentation Linked)

1. HL7 V2 Schema Editor

  • Drag & Drop tooling for faster schema editing!
  • Note: Add-on segments may be made optional if starting from a generic schema.

2. DTL Editor Enhancements

  • Improved UI and functionality
0
0 318