go to post Evgeny Shvarov · Apr 4, 2017 Hi, Alexandr!If you mean "System" as starting with "%" you can use the following:SET NAME="" F SET NAME=$ORDER(^$GLOBAL(NAME)) QUIT:NAME="" DO:($E(Name)'="%")
go to post Evgeny Shvarov · Apr 2, 2017 Thanks, Kyle! Speaking of assumptions, should I filter the mapped classes as well?
go to post Evgeny Shvarov · Apr 1, 2017 Finally, have the following for globals export/import in gzip: // export gbl set gbl="foo*D.GBL,boo*D.GBL" set s=##class(%Stream.FileBinaryGzip).%New() do s.LinkToFile("1.xml.gz") do $System.OBJ.ExportToStream(gbl,s) do s.%Save() kill s // gbl import set s=##class(%Stream.FileBinaryGzip).%New() do s.LinkToFile("1.xml.gz") do $System.OBJ.LoadStream(s) kill s
go to post Evgeny Shvarov · Apr 1, 2017 kill ^dbg BTW, kill ^dbg is not mandatory here, cause import from XML format everytime kills the global first.
go to post Evgeny Shvarov · Apr 1, 2017 Thanks, Sean, Ed, Alexey!That works perfectly! Ed, please add a dot to s in ExportToStream?I'm using it in one line, and think would add in some "Dev.Utils" class to make it shorter.
go to post Evgeny Shvarov · Mar 31, 2017 If you have only classes and globals you can use do $System.OBJ.Export("Package*.CLS,*.DFI","release.xml") to export the classes and DFIs to file, Do $System.OBJ.Export("Class*D.GBL","globals.xml") to export globals to file in the /mgr folder of your namespace. And use Class Import page of the Control Panel (http://yourhost:57772/csp/sys/exp/%25CSP.UI.Portal.ClassList.zen) to import classes or globals: Or call in terminal: $system.OBJ.Load(path to a file.xml) As Benjamin mentioned before.
go to post Evgeny Shvarov · Mar 30, 2017 Rob!Thanks for posting this!Do you want to add some InterSystems related topics to your GitHub repository to make it more visible?I shared some ideas for the topics in this post.
go to post Evgeny Shvarov · Mar 30, 2017 Or maybe you can introduce a cube dimension with a ranged expression for the property of balance and range all the patients to these groups.See examples in Samples PatientsCube for patients ranged similarly by their age.
go to post Evgeny Shvarov · Mar 29, 2017 There is another quite popular approach for web UI building with InterSystems Caché:Caché ObjectScript and REST on the Caché side, Any popular web framework on the browser client side (Angular.js, React.js, etc.),JSON as a transport between Caché and framework.Examples:REST Forms and REST Forms UI,DeepSee Web, DC analytics as a demoCaché Class Explorer,etc.
go to post Evgeny Shvarov · Mar 29, 2017 I would also suggest trying this addon to VSCode. It works quite well for me.See the shot: