go to post Dmitry Maslennikov · Mar 12, 2021 $system.OBJ.Delete("SomePackage.SomeClass") $system.OBJ.DeletePackage("SomePackage")
go to post Dmitry Maslennikov · Mar 11, 2021 You can check how many license units available with this method $SYSTEM.License.LUAvailable() And next depends on the kind of application, you develop. If it's some web application, and you have to achieve it for web session, I would try using %CSP.SessionEvents with OnLogin event, check how many license units are available and who is logging in, and decide to decline the login. If you need it for some else ways of connections, I think the best place would be ZAUTHENTICATE.
go to post Dmitry Maslennikov · Mar 9, 2021 CSP files are real files on disk and case sensitivity is depends on operating system. So, I suppose you using some Linux.
go to post Dmitry Maslennikov · Mar 8, 2021 Since 2016.2 there are no reasons to keep storing source code in XML. Even in transition process, I would recommend to store codebase based on the lowest supported version of platform. Cache and IRIS able to export and import source code in UDL format, as seen in VSCode. If you would stay with XML format just because you’d like to keep history consistent, it can be solved by converting entire history in the like it was always in UDL.
go to post Dmitry Maslennikov · Mar 7, 2021 Btw, I can add such support to any language, and what the language would you prefer next?
go to post Dmitry Maslennikov · Mar 6, 2021 It does not support. Could you explain the reasons to have this ability?
go to post Dmitry Maslennikov · Mar 5, 2021 ahh, you have a just a wrong JSON, I would recommend to find a way how to fix it from the side where it comes from. Key names in the JSON also have to be wrapped by quotes
go to post Dmitry Maslennikov · Mar 5, 2021 You can pass a stream to JSON parser. So, this code should work SET obj = {}.%FromJSON(%httprequest.HttpResponse.Data)
go to post Dmitry Maslennikov · Mar 5, 2021 Deployed classes still have to be delivered but without code, for sure, with just compiled OBJ code.
go to post Dmitry Maslennikov · Mar 4, 2021 Right, I did not said that it’s open, and available at the moment, I think how to make it the best way.
go to post Dmitry Maslennikov · Mar 4, 2021 Look at this file, the part of Language Server which communicate with IRIS https://github.com/daimor/vscode-intersystems-iris/blob/main/server/src/...
go to post Dmitry Maslennikov · Mar 3, 2021 I have a bunch of images for versions from 2014.1 with Cache and Ensemble
go to post Dmitry Maslennikov · Mar 3, 2021 Why you are using JDBC from Python, if there is pyodbc? Are you doing it in the docker container, and is it separate to IRIS container? Could you share all the components you use?
go to post Dmitry Maslennikov · Mar 2, 2021 So, your documentation link here You have to check that all the dependencies available, and LD_LIBRARY_PATH is defined correctly
go to post Dmitry Maslennikov · Mar 2, 2021 The issue could be in libraries, are you working on macOS?
go to post Dmitry Maslennikov · Feb 24, 2021 Should not be any problem if you use the same user both in Studio and VSCode. PROTECT error means you have security issue and your user not granted for write permission, or that database is just in read only mode
go to post Dmitry Maslennikov · Feb 20, 2021 Look at this page, it may help you in understanding how to configure it. If you need to store classes and mac routines separately, you can use { "objectscript.export": { "addCategory": true } } In the case of different behavior for different types, and place only mac routines to the specific folder, use this. { "obejctscript.export": { "addCategory": false, "folder": { "mac": "mac" } } }