go to post Eduard Lebedyuk · Nov 3, 2023 Great article! For cases, where you don't want to share the source at all (even if it's immediately deleted), the following approach would work: 1. On your system (with source code) execute: set p=##class(%Studio.Project).%New() do p.AddItem("WH.Color.cls") do p.AddItem("WH.Size.cls") do p.DeployToFile("c:\test\app.xml",,1) It will create an XML export with object code only and no source code included. 2. Transfer the file into a target system and execute: set sc=##class(%Studio.Project).InstallFromFile("c:\test\app.xml")
go to post Eduard Lebedyuk · Nov 3, 2023 APPCODE must be RO if you want to leave it in the container to be replaced as a part of the container.
go to post Eduard Lebedyuk · Oct 25, 2023 Set ..%SessionId= "" before each SendSync/SendAsync should force a new session for each message sent.
go to post Eduard Lebedyuk · Oct 13, 2023 Community project Python Gateway would work on 2022.1. Or use $zf(-100) to call python script.
go to post Eduard Lebedyuk · Oct 11, 2023 Great article! Some notes: SQL grants should be granted in a namespace with an SQL object. SQL grants can be granted only to users and roles that exist.
go to post Eduard Lebedyuk · Oct 4, 2023 Sure, use indirection: >s ^ABC(1,2)=3 >s TEMP = "^ABC(1,2)" >w @TEMP 3
go to post Eduard Lebedyuk · Sep 21, 2023 Route to two BOs ("Normal" and "High" priority) with different FailureTimeout. Use SDS to keep other settings in sync.
go to post Eduard Lebedyuk · Sep 5, 2023 I highly recommend using Source Control and automated CICD pipelines and restricting manual access. This is the only way to forget about this type of issues altogether. Still, here's how you can compare code on two servers.
go to post Eduard Lebedyuk · Sep 1, 2023 Add a header field to your request in the form of Authorization: Basic <credentials>, where credentials is the Base64 encoding of username and password joined by a single colon :.
go to post Eduard Lebedyuk · Aug 29, 2023 Alternative approach: create a user which has access only to schemas you need.