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 979
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 573
Question Evgeny Shvarov · Nov 10, 2021 Is there a way to turn on DEBUG MODE for a web application? Ladies and gentlemen! Is there a way (some secret call? ) to turn on a debug mode for a particular IRIS web app? The reason is to log debug information in REST-API dispatch methods if the app is in debug mode. Of course, I could use "a global", but if there is any standard way? #Debugging #REST API #InterSystems IRIS 1 2 0 383
Question Evgeny Shvarov · Nov 10, 2021 How to Implement Bearer Authentication with InterSystems IRIS REST API? Hi folks! Could you please share your experience on how do you create REST API with InterSystems IRIS that uses bearer authentication? How do you generate tokens? How do you maintain it (how much time tokens exist?). Thanks in advance! #Authentication #REST API #InterSystems IRIS 0 4 1 729
Question Evgeny Shvarov · Nov 9, 2021 How Can One Logout From REST API Hi folks! Consider you are logged in to a REST API in InterSystems IRIS with user A. What is the way to log out in a browser? E.g. to login with another user B? #REST API #InterSystems IRIS 0 4 0 334
Question Evgeny Shvarov · Aug 8, 2021 How can I get the name of the data database in the current namespace? Hi folks! Is there a way (function) to know the name of the database for data of the current namespace? I take the case where we have one database for data and another database for code in a namespace. Thanks! #Databases #Namespace #ObjectScript #InterSystems IRIS 0 4 0 746
Question Evgeny Shvarov · Jul 27, 2021 How to Turn Off Journalling Programmatically I need to turn off Journalling for a particular database programmatically. How can I make it happen? #Journaling #InterSystems IRIS 2 12 0 738
Question Evgeny Shvarov · Jun 10, 2021 Is it possible to grant sql access to schema? Hi folks! Here is how I grant SQL access of user to a particular class/table: GRANT SELECT, UPDATE ON Packacge_X.Table_Y TO UserZ How can I grant SQL access of a certain user to a whole schema? #Security #SQL #InterSystems IRIS 1 3 0 455
Question Evgeny Shvarov · Jun 8, 2021 Is there a way to export globals in XML via Management Portal? Hi colleagues! Is there a way to export globals in XML if I have the access to Management Portal or any other web app? Currently, it gives the option to export into gof format only. #Data Import and Export #Globals #Management Portal #InterSystems IRIS 0 5 0 416
Question Evgeny Shvarov · Apr 10, 2021 Do we have one-to-one relationships in IRIS? Hi All! Examining the page here I see we have one-to-many and parent-child relationships supported in the InterSystems Objects model. Do we support one-to-one too? #Object Data Model #InterSystems IRIS 0 5 0 318
Question Evgeny Shvarov · Mar 15, 2021 How can I add a button on a widget that will do an arbitrary code on a server? E.g. I want to add a button on a widget that will rebuild the cube when clicked. How can I make it happen? #Analytics #Dashboards #Visualization #InterSystems IRIS BI (DeepSee) 0 5 0 329
Question Evgeny Shvarov · Feb 8, 2021 What is the macro or internal function call for lib path for the IRIS installation? Hi folks! Each IRIS installation has a /lib folder which is intended for 3rd-party libraries being used in the solution. For IRIS installation the typical path is: /usr/irissys/lib/ In ZPM the shortcut is ${libdir}. What is the macro or internal function to obtain it programmatically? #Deployment #InterSystems Package Manager (IPM) #InterSystems IRIS 0 5 0 248
Question Evgeny Shvarov · Dec 8, 2020 REST API which accepts SQL and returns JSON Hi folks! Do we have an embedded REST API in IRIS which accepts arbitrary SQL and returns data in JSON? Or if anyone did something like this? The idea is to have something like MDX2JSON but SQL2JSON. Thanks! #JSON #SQL #InterSystems IRIS 3 11 0 540
Question Evgeny Shvarov · Dec 4, 2020 Macro to know all the parameters transferred to the method Hi folks! Often while debugging you want to know the values of all the parameters. Using VSCode Debugger is not an option. What do you use to know what parameters came to the method? My hope if you have a "magic" macro that will store all the variables with their names into a global? And share your approaches, please? #Debugging #ObjectScript #InterSystems IRIS 2 6 0 356
Question Evgeny Shvarov · Jun 28, 2020 Multiline code in terminal Hi, folks! Do you know the option/mode when I can feed multiline code into a terminal? E.g. for i=1:1:100 { /// do one line ///do something else} #ObjectScript #Terminal #InterSystems IRIS 1 14 0 946
Question Evgeny Shvarov · May 19, 2020 How can I check that the value is String or Integer or Date? I have the variable with literal. Can I understand with ObjectScript that the literal is: %String, or %Integer, or %Date, or %Double, or %Numeric? What I'm looking for could be: set variable="To be or not to be" USER>w ##class(utils).GetType(variable) %String set variable=42 USER>w ##class(utils).GetType(variable) %Integer #ObjectScript #InterSystems IRIS 3 9 0 2.6K
Question Evgeny Shvarov · May 19, 2020 Can I substitute table in FROM with a hosted variable? Haven't found this in the documentation. I want: &sql(SELECT name INTO :var FROM :table) Is it possible? #ObjectScript #SQL #InterSystems IRIS 0 7 0 350