go to post John Murray · Aug 31, 2018 A couple more comments:I'm not clear why the title and the body of the post refer to a "namespace". Security credentials are system-wide, not per-namespace.The method switches to the %SYS namespace in order to be able to run the List query of Security.Users, but it never switches back.
go to post John Murray · Aug 31, 2018 Be aware that this code sample changes the password of every user, including the CSPSystem account used by your CSP-enabled your web servers, including the private Apache instance that hosts the browser-based admin of your server. Changing that password may prevent you using Portal until you have made the corresponding change via the Web Gateway Management page.
go to post John Murray · Aug 30, 2018 Here's a somewhat contrived case where that technique fails: USER>s weirdlist=$lb("Very "_$lb($c(0))_" odd data",$c(0),2) USER>s replaced=$replace(weirdlist,$lb($c(0)),$lb()) USER>zw weirdlist weirdlist=$lb("Very "_$c(3,1,0)_" odd data",$c(0),2) USER>zw replaced replaced=$c(19,1)_"Very "_$c(1)_" odd data"_$c(1,3,4,2) USER>
go to post John Murray · Aug 28, 2018 The rules about indirection in ObjectScript can be a bit tricky to comprehend. Your last line is syntactically invalid.Use this instead: S @("C="_B)
go to post John Murray · Aug 23, 2018 I second Jon's point about how the SET (v1,v2)=initialValue syntax makes clear to the reader that v1 and v2 begin with the same value.
go to post John Murray · Aug 13, 2018 I haven't tested this myself, but did you try using the OnInit() callback method?There's a bit of information here.Maybe you're already doing this and finding $username="_Ensemble"
go to post John Murray · Aug 10, 2018 I'm not clear what Tomcat has to do with your attempts to use Atelier. Atelier connects to Cache / Ensemble / HealthShare / IRIS servers, typically via the same webserver you use when managing those servers through InterSystems' Management Portal. This could be the private Apache instance that InterSystems installs by default, and which by default runs on port 57772.
go to post John Murray · Aug 10, 2018 I can get that error message from Atelier's connection setup dialog if I intentionally point to a web server that doesn't offer the /api/atelier REST interface to a Cache/Ensemble 2016.2+ serverFrom your original posting it's not clear to me that you're connecting to a suitable web server.
go to post John Murray · Jul 30, 2018 No sign yet of the updated release notes in the downloadable zip.
go to post John Murray · Jul 27, 2018 Did you consider creating a Studio Project containing everything you need? Then you can export the project to XML in a way that includes all the members of the project as well as the project definition.It's also worth knowing that if you go to the Namespace tab of the Workspace pane, then expand Classes, you can right-click on a package and add the package to your current project. This may be better that adding individual classes to your project, because by adding the package you ensure that any classes added later to the package will be exported too.
go to post John Murray · Jul 24, 2018 It looks like this class is intended to be created in the %SYS namespace so it can use the Security.System class.Also, be aware that classes you create in %SYS typically don't survive a Cache / Ensemble / HealthShare upgrade.
go to post John Murray · Jul 19, 2018 This section of the 2017.1.2 release notes looks relevant. I guess the problem occurs for all server-side source control classes, not just the Deltanji oneCategory: DeepSee.User InterfacePlatforms: AllDevKey: DTB633Version: 2017.1.2Summary: Ensure widgets can be edited when namespace uses source controlDescription:If source control is enabled in a namespace, privileged users could not edit dashboards. This change corrects this problem.
go to post John Murray · Jul 18, 2018 Dave, please tell us which bit(s) of the documentation you're referencing. Ideally, hyperlink to the copy rooted at https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls
go to post John Murray · Jul 18, 2018 What version(s) of Ensemble / HealthShare suffer from this bug? In what version did it get fixed?
go to post John Murray · Jul 17, 2018 Could you use the SQL Gateway feature to make your tables accessible there?
go to post John Murray · Jul 17, 2018 Connect Studio to your namespace.File\New Project. Your Studio titlebar will refer to Project1.prj.Project\Add Item...File\Save Project As... and give your project a meaningful name.
go to post John Murray · Jul 17, 2018 Your SetPersistentValue calls refer to LastModified, but your query refers to LastUpdated. Is this a typo in your post?If you use Portal (Explorer, SQL) to run a query that reports LastUpdated values, what do they look like? More technically, what datatype are they?
go to post John Murray · Jul 17, 2018 You can create a Studio project interactively from within Studio. There are a few hints in the Studio doc here.Or if you want to create/amend Studio projects programmatically, use the %Studio.Project class.
go to post John Murray · Jul 12, 2018 Not a direct answer to your question, but did you consider using the Size query of the %SYS.GlobalQuery class, as shown by this DC comment from @David Loveluck on another DC post?https://community.intersystems.com/post/database-table-size#comment-12401
go to post John Murray · Jul 11, 2018 Though it now seems that 1.3 is the end of the Atelier road, right?https://community.intersystems.com/post/atelier-and-studio