go to post Dmitry Maslennikov · May 2, 2021 So, you may have something like this in your CSP file <csp:class super="%CSP.Page,App.Utils"> By default, it has only %CSP.Page class, but you may have some other class, where you may the logic with method OnPreHTTPafter
go to post Dmitry Maslennikov · Apr 26, 2021 Are you sure, that the process was terminated? You should check cconsole.log/messages.log journal records, you should find there where transaction was started, you changed the data, check if change was really in transaction and any other records within the process, it should be commit or rollback. In any case, when restart Cache, it should terminate any unfinished processes and rollback data.
go to post Dmitry Maslennikov · Apr 23, 2021 just set it to the local array or global, will sort it set arr("cba")="" set arr("abc")="" zw arr
go to post Dmitry Maslennikov · Apr 20, 2021 Those are special symbols used to draw UI in textual interfaces and no way to get any readable text from it, it can be translated to the same symbols only, just in the different codepage.
go to post Dmitry Maslennikov · Apr 20, 2021 VSCode and Cache server can be far from each other, on different machines, so, it’s not as easy to implement. And as I said, it’s not a task for VSCode, it’s mostly a deployment task, which have to be done separately.
go to post Dmitry Maslennikov · Apr 16, 2021 How many files are you trying to import this way? Unfortunately VSCode not so good for such a task, and even any editor. In fact, the best way will be to do it directly with Caché. Just using $system.OBJ.LoadDir, will do it much better.
go to post Dmitry Maslennikov · Apr 16, 2021 So, in this case, In fact, if you are not going to migrate that data to IRIS in the end, I see no reasons to use IRIS for such data. And microservices has written in some other languages, really a better way. Would it be possible to synchronize the date from other services with IRIS? So, your patient data still will be there, and backed up in IRIS, with FHIR endpoint. So, in this case, you can use IRIS Production to do this particular task.
go to post Dmitry Maslennikov · Apr 15, 2021 That's interesting, but did you try to discover the differences, not only in the number of rows? I would suggest, that the issue in time formats. Try to play with different modes in SMP
go to post Dmitry Maslennikov · Mar 30, 2021 You should use flag /importselectivity=1, it has value 2 by default, which keeps existing values if present. Details in the documentation.
go to post Dmitry Maslennikov · Mar 21, 2021 It looks like the issue in the order of compilation, and you have to properly configure it. Look at the parameter System in class, in most cases, it will be enough. If you have it properly configured if you even uncompile the entire project, and compile everything, just with CompileAll method it should be successful without any errors.
go to post Dmitry Maslennikov · Mar 19, 2021 You can do it by yourself. I would recommend looking at the page of all emoji list in Unicode. There you may find a link to the latest version of data in text files, which will be possible to parse quite easily with ObjectScript. So, you can just import that data and use it as you want. And you will need to update it regularly when it gets some new emojis.
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 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 3, 2021 I have a bunch of images for versions from 2014.1 with Cache and Ensemble
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" } } }