Evgeny Shvarov · Jul 17, 2023 go to post

In addition to what @Julius Kavay suggests I also recommend to use $Name function.

e.g.

set myVariable="^myglobal(17)" 

// equal to 
set myVariable=$Name(^myglobal(17))

It helps to deal with all the quotes/double quotes and also deal with variables that contain global adresses.

Evgeny Shvarov · Jul 13, 2023 go to post

Thanks @Clayton Lewis . I like the Message Map approach. And it could suggest messages that 99% fit choosing from Message Map but also let the option to be completely flexible as it is now. 

Evgeny Shvarov · Jul 12, 2023 go to post

You also can use intersystemsdc/iris-community:latest or just intersystemsdc/iris-community for the latest InterSystems IRIS Community Edition release.

And intersystemsdc/iris-community:preview for the latest preview build.

intersystemsdc/irishealth-community and intersystemsdc/irishealth-community:preview for InterSystems IRIS For Health Community Edition

Evgeny Shvarov · Jul 5, 2023 go to post

It's is a bit dangerous saying "Package Manager is server-centric".

I never code with "server-centric" paradigm, but I always use Package manager. So I install all the necessary packages I need during the docker build procedure of my dev-environment with IRIS. E.g. like in this line:

zn "USER"
    zpm "install git-source-control"
    do ##class(%Studio.SourceControl.Interface).SourceControlClassSet("SourceControl.Git.Extension")
    zpm "install passwordless"
    zpm "install objectscript-json-trace-viewer"

    zpm "load /home/irisowner/dev/ -dev -v":1:1
    halt

Can I use such an approach with snippets?

Evgeny Shvarov · Jun 30, 2023 go to post

Hi @John Murray ! Great idea!

Will snippets be shown also with client-centric approach for editing? Or this is only a server-side approach feature?

Evgeny Shvarov · Jun 29, 2023 go to post

Hi Gautam!

It's not an answer for your question, but I encourage you to try manage tests via Package manager - in this case you don't need to create any directories and globals.

this will be:

USER>zpm "test your-package-name"

that will run all the tests. And you'll be able to introduce tests in a CI pipeline.

See the related article.

Evgeny Shvarov · Jun 25, 2023 go to post

Installed. But failing to form a connection string. Cannot it just use what I have for VSCode connected automatically?

It wants me to create a server in server manager which I never used before (no need).