Question Evgeny Shvarov · Feb 19, 2023 Passwordless mode for Dev Mode IRIS Hi folks! Lately (maybe last 2-3 years) I develop with IRIS exclusively in docker - so iris instance I use for compiling and running IRIS apps is local. And most every time I enter password for management portal and web-apps. The same password every time. Sounds familiar? #Development Environment #Docker #Security #InterSystems IRIS 1 8 0 473
Question Evgeny Shvarov · Jan 15, 2023 How to use Data Transformation in Interoperability Production? Hi Interoperability experts! I'm into interoperability now with data transformations and I wonder: how can I use DTLs? I've created one that transform Ens.Request into Ens.Response. How can I use it now in the production? I'm trying to add the business process expecting to see it available in the list but it seems it is not the case. Tried documentation and it doesn't say either what to do after creation the DTL. If it is obvious could you please help? #DTL #Interoperability #InterSystems IRIS 0 4 0 252
Question Evgeny Shvarov · Jan 15, 2023 CSV to CSV data transformation using Interoperability Hi folks! Have a question for those who are masters of interoperability. I have a basic task of having one CSV with some data. I need to transform one column in the initial dataset and get the new csv with the same form. What's the best approach with Interoperability? Should I user record mapper? Should I use streams, objects? What is the best practice? #CSV #Interoperability #Key Question #InterSystems IRIS 0 12 0 687
Question Evgeny Shvarov · Dec 24, 2022 How Can I Check That IRIS is IRIS for Health? Hi folks! What is the way to know if I'm on IRIS for Health not just IRIS? $ZV doesn't show any difference: IRISAPP>w $zv IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2022.2 (Build 368U) Fri Oct 21 2022 17:18:04 EDT #InterSystems IRIS for Health 0 3 1 359
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 327
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 354
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 569
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 1 328
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 267
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 888
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 251
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 246
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 2 548
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 362
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 366
Question Evgeny Shvarov · May 24, 2022 What are the Available Images at containers.intersystems.com Hi developers! What is the easy way to know what are the images available at containers.intersystems.com? #Docker #InterSystems IRIS 0 3 1 354
Question Evgeny Shvarov · Feb 18, 2022 If $ListBuild is Supported in Embedded Python? Hi! Trying to create a string with $LB using Embedded Python. Don't see the way to do it. If Embedded Python supports list builds? #Embedded Python #InterSystems IRIS 0 4 0 417
Question Evgeny Shvarov · Jan 31, 2022 Getting SQL Table Name For a Given Class Hi folks! Consider I have a class "X.Y.Z" What is the SQL table name for it? How can I obtain it via ObjectScript? A quick search doesn't show any methods and properties. Documentation is a bit "wrong" here saying that the SQL table name is the same. It will be at least 'x_y.z'. Any help is very appreciated!) #ObjectScript #SQL #InterSystems IRIS 0 14 0 968
Question Evgeny Shvarov · Dec 22, 2021 Is There a Handy way to Open a Related Class For a Table? Hi folks! While browsing tables in Management Portal is there an easy way to open a related class (e.g. to see its documentation)? There is a Documentation dropdown but the Class Documentation button is disabled. Thanks! #Management Portal #Documentation #InterSystems IRIS 0 2 0 275
Question Evgeny Shvarov · Dec 10, 2021 Is it possible to change the code of a class programmatically? Hi folks! I'm curious if it is possible to change the class method to another class? I call a method of a system class to generate another class. But there is a bug/feature in a library class, so I need to tweak a bit the generated method, e.g. add additional parameter and change the line to "if" the parameter. I hope to do this programmatically after class generation and change the code in a way I like. What are the options? #ObjectScript #InterSystems IRIS 2 7 3 571