検索

Article
· 4 hr ago 1m read

Convert Python %SYS.Python List to %Library.DynamicArray in Objectscript

As part of a recent documentation technical project to optimize the search, I needed to use Embedded Python in my ObjectScript code. The main blocker was passing a Python list from a Python class method to a ObjectScript method. Sending the list by reference to the python method, populating it with the Insert() method, and returning the reference to the ObjectScript method resulted in an list with type %SYS.Python, a process that was straightforward but not efficient.

I explored an alternative method: converting a Python list to an ObjectScript list using JSON as the intermediary format. This approach appears to require less code and offers improved runtime performance.

 

 

Inside the python code:

list = ["a", "b", "c", "d"]

jsonExport = json.dumps(list)

 

 

Inside the ObjectScript code:

jsonExport = ##class(Example.Case).GetPythonList()

set list = ##class(%DynamicAbstractObject).%FromJSON(jsonExport)

Discussion (0)1
Log in or sign up to continue
Question
· 4 hr ago

Find In Files fails with WIDE CHAR

Studio's Find In Files finds nothing if CLS routines are included. The error is WIDE CHAR. After using ##class(%Studio.Project).FindInFiles programmatically and then ZW after the same error I strongly suspect that CodeWalkopdatecopyopt in EnsLib.InteropTools.HL7.Cloverleaf.Parser.cls  is to blame. I cannot even open this class, unlike other classes from EnsLib.InteropTools.HL7. This error prevents searching even if System Items are excluded and I would peg EnsLib as System. Any remedy besides updating IRIS? Assuming this is fixed in later IRIS versions.

1 new Comment
Discussion (1)1
Log in or sign up to continue
Announcement
· 6 hr ago

[Demo Video] Autonomous Business intelligent Clerk (ABiC) - Combining InterSystems BI and Generative AI

#InterSystems Demo Games entry


⏯️ Autonomous Business Intelligent Clerk (ABiC) - Combining InterSystems BI and Generative AI

Our Autonomous Business Intelligent Clerk, or ABiC for short, is a prototype revolutionizing how companies process data and make decisions. Normally, to get insights from data, you’d need IT knowledge or expertise in statistics. But with ABiC, that’s no longer necessary. All you have to do is ask your question in plain language. ABiC understands your interests and intentions, then shows a clear dashboard to guide your decisions. With ABiC, complex data is autonomously analyzed and turned into answers that support users, helping to accelerate business processes. This demo sends the metadata of InterSystems BI cubes to LLM. How does it work? Check out the video for more details!

Presenters:
🗣 @Tomo Okuyama, Sales Engineer, InterSystems
🗣 @Nobuyuki Hata, Sales Engineer, InterSystems
🗣 @Tomoko Furuzono, Sales Engineer, InterSystems
🗣 @Mihoko Iijima, Training Sales Engineer, InterSystems

🔗  Check out the related app: ABiC

👉 Like this demo? Support the team by voting for it in the Demo Games!

Discussion (0)1
Log in or sign up to continue
Discussion
· 10 hr ago

Verão 2025 comGlobal Masters

O verão está acabando, e temos certeza de que você teve muitos momentos especiais!  ✨

Talvez você tenha aprendido algo valioso, resgatado uma recompensa no Global Masters, ou até mesmo se juntado ao READY 2025 🎉

Aqui está uma lista rápida, mas, claro, você pode compartilhar qualquer outra coisa sobre seu verão nos comentários. Fotos são mais do que bem-vindas 📸

  • Fui para o mar ou um lago
  • Fiz trilha/apreciei a natureza
  • Viajei para um lugar novo
  • Fui a um show ou festival
  • Assisti a um filme ou série
  • Li um livro
  • Ganhei pontos e resgatei uma recompensa no Global Masters 🏆
  • Participei do READY 2025 🎉
  • Passei tempo com a família ou amigos

Esperamos que seu verão tenha sido incrível. Mal podemos esperar para ver suas histórias e fotos, se quiser compartilhar. Nós começamos primeiro! 🌟



P.S. Seu comentário será premiado automaticamente com 30 pontos no Global Masters.

Discussion (0)1
Log in or sign up to continue
Article
· 10 hr ago 4m read

How to install Third Party Components for Documents App in Clinical Viewer

Disclaimer: the following tutorial attempts to install qpdf-12.2.0 and libreoffice-25.2.5 for HSCV2025.2

Discussion (0)1
Log in or sign up to continue