go to post Evgeny Shvarov · Jun 20 Ah, maybe VSCode-ObjectScript "thinks" that comments do not deserve to be recompiled? if you change anything in a "real code" space?
go to post Evgeny Shvarov · Jun 10 As for community images - the latest releases do not have community registry enabled by default. Use this command to make them work: USER>zpm repo -r -n registry -url https://pm.community.intersystems.com/ -user "" -pass ""
go to post Evgeny Shvarov · Jun 8 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 :)
go to post Evgeny Shvarov · Jun 5 Oh, Wow! So many great answers! thank you @Stuart Strickland, @Chris Stewart , @Robert Cemper , @Ashok Kumar T ! It was not obvious with $name and Class Parameter - now it is clear! Thanks a lot!
go to post Evgeny Shvarov · Jun 5 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.
go to post Evgeny Shvarov · Jun 4 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
go to post Evgeny Shvarov · May 29 Thanks @Laura Blázquez García ! Do you want to share more details on how your app works?
go to post Evgeny Shvarov · May 25 Dear @Dean White , @Enrico Parisi: what to use better: Do Body.%ToJSON(Request.EntityBody) or do Request.EntityBody.Write(Body.%ToJSON()) ?
go to post Evgeny Shvarov · May 18 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 }
go to post Evgeny Shvarov · May 18 Changed to an annoucement and added Job Wanted tag. Also take a look at Job Opportunity tag offerings.
go to post Evgeny Shvarov · May 13 Hi @Kevin Mayfield ! If you have docker on your laptop you can clone this Github project and start it in a docker - it starts InterSystems FHIR server (within IRIS for Health) automatically.