Question Evgeny Shvarov · Aug 27, 2019 How to Export ObjectScript From IRIS Server With VSCode? Hi Developers!A question to those who use VSCode to code InterSystems ObjectScript.Suppose you have the ObjectScript code on IRIS server and you want to export it into the desired folder.And you have VSCode connected to the server.What is the way to tell VSCode that I want to export classes into some particular folder in /package/class.cls way?E.g. into: /project_folder/src/cls/Package/class.cls and project_folder is opened in VSCode as the folder of the project. #Change Management #ObjectScript #VSCode #InterSystems IRIS 1 8 0 1.1K
Question Evgeny Shvarov · Aug 3, 2019 Keyboard shortcuts for VSCode terminal and IRIS Hi developers!Every day coding with IRIS and docker I call the following 3 commands in VSCode terminal. Always the same for any projects: docker-compose build ; to build the container docker-compose up -d ; to run the IRIS in container docker-compose exec iris iris session iris ; to open the IRIS terminal Is there any way to map the key sequence which will type me the rest? e.g. #Development Environment #Docker #Terminal #VSCode #InterSystems IRIS 0 2 0 535
Question Evgeny Shvarov · Jul 23, 2019 What do You do With Your InterSystems IRIS Fork Repository if Your PR is accepted? Hi developers! Just want to check with you on best practices for that. You collaborate for InterSystems IRIS repository. You fork it, then make changes, commit, push, pull request, discuss(if any), your PR is accepted. What's next? Do you delete the repository you forked in? #Change Management #Git #ObjectScript #InterSystems IRIS 0 6 0 351
Question Evgeny Shvarov · Jul 23, 2019 Cannot Find Ensemble.INC Analog in InterSystems IRIS Hi guys!What is the IRIS analog for Ensemble.INC? #ObjectScript #Ensemble #InterSystems IRIS 0 4 0 371
Question Evgeny Shvarov · Jul 20, 2019 How to know the Port of IRIS Management Portal Programmatically Hi Community!How can I know the port of management portal e.g. from terminal?The one which looks like localhost:port/csp/sys/exp/%25CSP.Portal.Home.zen in browser? #Beginner #System Administration #Terminal #Caché #InterSystems IRIS 1 16 1 2.1K
Question Evgeny Shvarov · Jun 28, 2019 Getting The Value of The Property of Instance or Getting The Value for the Column of The Record Hi guys!As you know there are two (at least) ways to get the stored value of the property of InterSystems IRIS class if you know the ID of an instance (or a record).1. Get it by as a property of an instance with "Object access": ClassMethod GetPropertyForID(stId As %Integer) As %String { set obj=..%OpenId(stId) return obj.StringData } 2. Get it as a value of a column of the record with "SQL access": #Beginner #Data Model #Object Data Model #ObjectScript #SQL #Caché #InterSystems IRIS 0 18 0 1.2K
Question Evgeny Shvarov · May 5, 2019 How to Create SSL Configuration Programmatically? Hi Community!How do you create SSL Configuration for InterSystems IRIS programmatically? E.g. for installation or deployment case?E.g. if I need to create a very simple "default" SSL client configuration to let HTPPS Get requests to an arbitrary server? #Deployment #SSL #InterSystems IRIS 1 5 1 898
Question Evgeny Shvarov · Mar 8, 2019 How to enable IRIS Text Analytics programmatically? Hi Community!How can I enable IRIS Text Analytics (formerly known as iKnow) in a given Namespace programmatically? #Deployment #Namespace #InterSystems Natural Language Processing (NLP, iKnow) #InterSystems IRIS 0 4 0 784
Question Evgeny Shvarov · Mar 1, 2019 How to Setup InterSystems IRIS Container to Use OS-Level Authentication Programmatically Hi Community! When you run IRIS container out-of-the-box and connect to it via terminal e.g. with: docker-compose exec iris bash You see something like: root@7b19f545187b:/opt/app# irissession IRIS Node: 7b19f545187b, Instance: IRIS Username: *** Password: *** USER> And you enter login and password every time. How to programmatically setup docker-compose file to have IRIS container with OS authentication enabled? And have the following while entering the terminal: root@7b19f545187b:/opt/app# irissession IRIS Node: 7b19f545187b, Instance: IRIS USER> #Containerization #Terminal #InterSystems IRIS 0 3 0 482
Question Evgeny Shvarov · Feb 13, 2019 How to return JSON Array in SQL request for a List Property? Hi Community!Suppose I have a property in a ObjectScript class: Property values As list Of %String What an SQL query can help to return the values of the property as JSON array via SQL access (JDBC)? #JSON #SQL #Caché #InterSystems IRIS 0 12 1 1.1K
Question Evgeny Shvarov · Feb 12, 2019 How many namespaces and databases could be in one InterSystems IRIS installation? Hi Community!What's the limit for Namespaces and Databases for one InterSystems IRIS installation?Yes, I checked with documentation but cannot find it at once. #Databases #Namespace #Caché #InterSystems IRIS 0 1 0 317
Question Evgeny Shvarov · Nov 27, 2018 How do You Convert 8-bit Database to Unicode? Hi Community!Suppose you have a working system on 8-bit Caché database and need to transfer the solution to Unicode database.How do you manage that? #Databases #Deployment #System Administration #Tools #Caché 2 18 0 1.5K
Question Evgeny Shvarov · Nov 15, 2018 Async mirror server as server for analytics in the cloud Hi All!I asked previously about the DR server in the cloud but actually, I'm curious about the backup server to use as analytics server more than for recovery in DR case.There is a recommended practice to use an async mirror as a server for BI (InterSystems Analytics, DeepSee)The question is if I have PRIMARY in the cloud (AWS, Google, Azure, etc) "how far" should async mirror member be placed? Same cloud, same private cloud or it doesn't matter at all for analytics purposes? #Analytics #Backup #Mirroring #System Administration #InterSystems IRIS 0 3 0 376
Question Evgeny Shvarov · Nov 13, 2018 Disaster recovery server in a cloud Hi Community!Consider I have InterSystems IRIS server in a cloud and want to introduce a DR server for it.Are there any requirements for DR server for InterSystems IRIS if it is in a cloud?Should it be the same subnet? One private cloud?Can DR server be placed on another cloud, say Primary on Google Cloud and DR on Azure? Are there any caveats/concerns? #Cloud #Backup #InterSystems IRIS 0 3 0 431
Question Evgeny Shvarov · Sep 4, 2018 Do we need a new type of posts - Discussion? Hi, Community!Today we have Announcements, Articles, and Questions. But sometimes we want to raise a discussion on the topic which is not a question, but also this post is not an article.What do you think? #DC Feedback 0 1 0 284
Question Evgeny Shvarov · Jun 5, 2018 $CASE For Long Stories Hi, Community!$CASE is a fine syntax sugar for "Ifs" with one-line/one-word expressions, like in docs: SET daynum=$ZDATE($HOROLOG,10) WRITE $CASE(daynum, 1:"Monday",2:"Tuesday",3:"Wednesday", 4:"Thursday",5:"Friday", 6:"Saturday",0:"Sunday",:"entry error") But if my expression for a current case is a multi-line business logic? Can I use "{}" somehow or better go with "IF" instead? #Code Snippet #ObjectScript #Caché 0 13 1 573
Question Evgeny Shvarov · Apr 13, 2018 Datatypes For Handling Date and Time in Persistent Classes Hi, Community!When I introduce a field to a persistent class to manage date/time what datatype should I prefer? %Date or %TimeStamp? And why? #Object Data Model #Caché 0 12 1 1.1K
Question Evgeny Shvarov · Mar 31, 2018 How to Call a Custom Listing in MDX? Hi, DeepSee experts! I need to call a listing programmatically other than the default. I can do that with %LISTING keyword. E.g. in Samples: #InterSystems IRIS BI (DeepSee) #Listings #MDX 0 9 0 485
Question Evgeny Shvarov · Mar 15, 2018 Deployment Strategies: Do You Compile ObjectScript on a Production Site? Hi, Community!Please share your experience on code deployment on production site. Do you compile ObjectScript on Production? Is it OK? Or you only compile on Test site and copy cache.dat to a Production? #Continuous Integration #Compiler #Deployment #Caché 0 22 0 1.1K
Question Evgeny Shvarov · Mar 7, 2018 How to Export DeepSee Pivots And Dashboards Into Files With Every Save Hi, Community!I'm using Git with DeepSee and when I need to do a commit to the git repo I'm exporting ALL the pivots and dashboards from the namespace. But I can forget to do that) And it can take time for a large system.What is the way to manage automatical export of DeepSee artefacts which we are editing in UI (Cubes, Pivots, Dashboards, Pivot Variables, Term lists, Shared Measures) into files every time when I push Save button? #Change Management #Git #Deployment #InterSystems IRIS BI (DeepSee) 0 5 0 487