Evgeny Shvarov · Jun 20, 2025 go to post

Do we have any new options for collections in DDL? Something like:

CREATE TABLE Aricle (tags varchar50[])

?

Evgeny Shvarov · Jun 20, 2025 go to post

Hi @Phillip Wu !

Namespaces give flexibility and were introduced to make a lot of powerful things possible.

If you are confused with all this uncertainty and don't need flexibility for now you can create Namespace DEV that has only one database DEV for everything and you can think that you are working with database DEV only with no any confusion.

But you will sign in into Namespace DEV in your IRIS system as users log in into Namespaces in InterSystems IRIS.
 

Or, e.g., if you take any vanilla IRIS docker image and run it, it will have a USER namespace that provides access to the USER database, which is convenient to use for any dev experiments.

Evgeny Shvarov · Jun 20, 2025 go to post

Wow, I didn't know that! Is it working? Anyways, you first need to be logged into some IRIS Namespace.

Evgeny Shvarov · Jun 20, 2025 go to post

Ah, maybe VSCode-ObjectScript "thinks" that comments do not deserve to be recompiled? if you change anything in a "real code" space?

Evgeny Shvarov · Jun 8, 2025 go to post

Hi @Mark Charlton ! Yes, you can make other packages visible from your private registry so that packages from public registries can be available from a private one with white/black lists. Apologies for the late answer :)

Evgeny Shvarov · Jun 5, 2025 go to post

Thank you, @DC AI Bot  - but your answer is not super relevant to the situation. I really want to store the global name in a class parameter and don't see what is wrong here.

Evgeny Shvarov · Jun 4, 2025 go to post

It'd be great if we could alter the length of subscript per system. Sometimes the ability to momentarily get the value for a index of 1K+ values would be very benefitial

Evgeny Shvarov · May 18, 2025 go to post

Thank you, @Tani Frankel !

This is useful through years!

Just adding here the snippet to add role to a user:

ClassMethod AddRoleToUser(user = "CSPSystem", role = "DB_USER_Read") As %Status

{

// Change to the %SYS namespace.

new $NAMESPACE

set $NAMESPACE="%SYS"



set status=##class(Security.Users).Get(user, .MyUserProps)

set $p(MyUserProps("Roles"),",",*)=role

set status=##class(Security.Users).Modify(user,.MyUserProps)



// Announce success.

if $$$ISOK(status) {

write !, "Roles for the user "_user_" were successfully modified."

}

Quit status

}
Evgeny Shvarov · May 4, 2025 go to post

Is it very complex to develop a new DICOM adapter that will use global streams instead?

Evgeny Shvarov · Apr 28, 2025 go to post

Thank you very much, @Enrico Parisi ! This looks like what I was looking for!

It is also looks as a perfect new generation for the deprecated %ZEN with:
 

set sc=##class(%ZEN.Auxiliary.jsonSQLProvider).%WriteJSONFromSQL(,sql)

Which only provides string, but not %DynamicArray so will not work for Spec First REST API.