Announcement Evgeny Shvarov · Nov 12, 2022 Technology Bonuses for InterSystems IRIS for (Women's) Health Contest 2022 Hi Developers! Here're the technology bonuses for the InterSystems Women’s Health FHIR Contest 2022 that will give you extra points in the voting: Women’s Health Topic Women’s Health Dataset IRIS For Health FHIR or FHIR Cloud Server Usage Healthcare Interoperability Embedded Python usage Docker container usage ZPM Package Deployment Online Demo Code Quality pass Article on Developer Community The second article on Developer Community Video on YouTube First Time Contribution See the details below. #InterSystems IRIS for Health #IRIS contest 3 0 0 323
Article Evgeny Shvarov · Oct 24, 2022 4m read Embedded Python Template Hi developers! Let me share with you a minimal embedded python template, that I can recommend as a starting point for any general project with InterSystems IRIS that will use embedded python. Features: Embedded Python ready; Examples of 3 ways of Embedded python development; VSCode development ready; Docker enabled; Online demo enabled; ZPM First development ready. Let's discuss the features below! #Development Environment #Embedded Python #InterSystems IRIS #VSCode Open Exchange app 6 0 0 981
Question Evgeny Shvarov · Oct 21, 2022 What is The Global With Persistence Data For A Class? Hi Devs! Is there a way to get a Global that contains pesistence data for a class? In early versions of IRIS it was classname_"D", like ^Sample.PersonD. Now, at least in IRIS 2022.1 it is something random. #Databases #Globals #InterSystems IRIS 0 8 0 297
Question Evgeny Shvarov · Oct 21, 2022 What is The Way to Open IRIS Management Portal While Coding Embedded Python in VSCode? Hi developers! Those who code IRIS solutions in VSCode using Docker often use the convenient ObjectScript menu, which contains links to Management Portal, Class Reference, Unittest portal, Productions, etc. While drilling down to a Dev Container to code Embedded Python there is no such option, at least within my settings: So I don't know how to connect to it. Thoughts? #Docker #Embedded Python #InterSystems IRIS #VSCode 0 6 0 319
Question Evgeny Shvarov · Oct 20, 2022 Calling Embedded Python in Docker Container - Access Denied Hi folks! I'm playing with Embedded python with IRIS trying to do some 'hello-world' exercises. I'm running IRIS in container and have the following python code: #Docker #Embedded Python #InterSystems IRIS #VSCode 1 5 0 518
Question Evgeny Shvarov · Oct 20, 2022 How Can I Call %SYSTEM class methods from Embedded Python? Hi, devs! What's the way to call the methods of %SYSTEM class from python? I tried this way: print(iris.cls('_SYSTEM.OBJ').Version()) and getting an error: Traceback (most recent call last): File "<input>", line 1, in <module> RuntimeError: iris.class: error finding class Here is how it works in ObjectScript: #Embedded Python #InterSystems IRIS 0 4 0 311
Article Evgeny Shvarov · Oct 15, 2022 1m read Running ObjectScript classmethod in VSCode Terminal in One Click Hi Devs! For me, one of the most painful things about ObjectScript is ##class(Class).Method() typing to call a class method in code or in a terminal. I even submitted an idea to simplify it in ObjectScript. But! There is a new feature in VSCode ObjectScript that was just introduced to the plugin - Copy Invocation! #ObjectScript #Terminal #Tips & Tricks #InterSystems IRIS #VSCode Open Exchange app 10 7 2 645
Question Evgeny Shvarov · Oct 8, 2022 How to Print Out an Arbitrary Global via Embedded Python ? Hi, devs! Consider you have an arbitrary global with an unknown amount of indexes. How to print all the values to the terminal with Embedded Python? #Embedded Python #Globals #ObjectScript #InterSystems IRIS 0 3 0 246
Question Evgeny Shvarov · Oct 8, 2022 How to Debug Embedded Python? Folks! Could you please share any best practices on how to debug Embedded Python code? Given I have the following class method: #Debugging #Embedded Python #InterSystems IRIS #VSCode 0 5 0 809
Question Evgeny Shvarov · Oct 6, 2022 What is the Analog of $DATA for Embedded Python? Hi folks! I'm working with a global via Embedded Python as a class method. I init the handler for a global via: gl=iris.gref("^Global") What is the way to check the value at index ^Global("x","y")? E.g.: In ObjectScript I'd do the following: #Embedded Python #Globals #ObjectScript #InterSystems IRIS 2 4 0 238
Question Evgeny Shvarov · Oct 2, 2022 Are there auto-generated getter methods for class parameters in ObjectScript? Hi, ObjectScript experts! I know that there are auto-generated getter and setter methods for class properties in ObjectScript. Are there auto-generated getter methods for class parameters? #ObjectScript #InterSystems IRIS 0 7 0 223
Question Evgeny Shvarov · Oct 2, 2022 How to Refer to a Class Parameter in Embedded Python? Hi, devs! In ObjectScript I can refer to a class parameter as: write ..#ParameterName How do I do the same in Embedded Python? #Embedded Python #Key Question #ObjectScript #InterSystems IRIS 1 11 1 513
Question Evgeny Shvarov · Oct 2, 2022 How to refer to a Classmethod of the same Class using Embedded Python? Hi folks! How can I refer to a classmethod of the same class while coding another classmethod with Embedded python? I know that I can call it with iris.cls(classname).MethodName(), but it's more cumbersome even comparing with ObjectScript, where I can call ..MethodName(). Compare ObjectScript: do ..SetupGame() and the same call in EmbeddedPython: iris.cls('eshvarov.sample.SeaBattle.GamePython').SetupGame() Thoughts? #Embedded Python #ObjectScript #Python #InterSystems IRIS 0 6 0 313
Discussion Evgeny Shvarov · Sep 25, 2022 Developing IRIS applications with Docker and VSCode Hi folks! We have a bunch of templates on OEX that provide a handy foundation for building a particular application with IRIS. And the basic principle of each and every template is that we take vanilla IRIS images, load code, and files into the image using Dockerfile, and create a new docker image as a solution. And then we develop running this image and rebuilding it when returning to development. Some developers ask me why we need to build the docker image to work with the code. Indeed, if at the end of the day I need to develop a ZPM package and not a docker image why don't run the vanilla image and load the code and everything in it? The problem I have with the building image approach is that often I can wait a lot to build an image and it fails on some Objectscript problem in the source that I cannot fix as the image is not building. and Any thoughts? How do you develop with docker? #Development Environment #Docker #ObjectScript #InterSystems IRIS #VSCode 1 4 1 413
Announcement Evgeny Shvarov · Sep 15, 2022 Technical Bonuses Results for InterSystems Interoperability Contest: Building Sustainable Solutions 2022 Hi developers! Here is the score of technical bonuses for participants' applications in the InterSystems Interoperability Contest: Building Sustainable Solutions 2022! #Contest #Docker #Interoperability #InterSystems IRIS 0 7 0 199
Question Evgeny Shvarov · Sep 10, 2022 How to Export Interoperability Production Components to Source Control Folder Programmatically? Hi folks! Suppose I have a production in which I added a few components and I want to export its components into files for source control. How do I do that? I know that there is an option for manual export in VSCode. But how can I make it programmatically? Thanks! #Development Environment #Git #Interoperability #InterSystems IRIS 0 3 1 330
Article Evgeny Shvarov · Aug 30, 2022 1m read Standard "custom" Error Page For CSP Web Application Hi folks! It's not an innovation, but often I saw not a very informative Error page for CSP apps and got it for myself. Something like that: #CSP #Error Handling #InterSystems IRIS 8 3 2 346
Announcement Evgeny Shvarov · Aug 29, 2022 Technology Bonuses for InterSystems "Sustainability" InterOperability Contest 2022 Hi Developers! Here're the technology bonuses for the InterSystems "Sustainability" Interoperability Contest 2022 that will give you extra points in the voting: Sustainability Topic Sustainability Dataset Business Process BPL or Business Rule DTL Usage Custom Interoperability Adapter Production EXtension(PEX) Python, Java, or .NET usage Embedded Python usage Docker container usage ZPM Package Deployment Online Demo Code Quality pass Article on Developer Community The second article on Developer Community Video on YouTube See the details below. #Contest #Docker #Embedded Python #Interoperability #InterSystems IRIS 0 1 0 272
Article Evgeny Shvarov · Aug 14, 2022 2m read A Small Code Bot to Bump Package Version Automatically Hello fellow developers! When developing with ObjectScript Package Manager, one crucial thing is the package version, which we place in the module.xml file. When we add changes to the package and are ready to publish a new version of the package in the registry, we also need to increase the version number. This is clear, but it is annoying, and we can often forget to do that. This small article will help you to automate such a process. #Change Management #Development Environment #InterSystems Package Manager (IPM) #InterSystems IRIS Open Exchange app 6 1 0 700
Announcement Evgeny Shvarov · Jul 25, 2022 HealthConnect and InterSystems IRIS For Health Comparison Hi Community, There is a new PDF Resource published on our official site depicting key features and a comparison of InterSystems healthcare interoperability products: Health Connect and IRIS For Health. #InterSystems Business Solutions and Architectures #Health Connect #HealthShare #InterSystems IRIS for Health 7 0 1 629