go to post John Murray · Apr 20, 2018 That's odd. I just checked one of my Studios (2017.2.1) and it lists the templates I have used recently.What does Help\About show your Studio version as?I assume you have a document open in Studio when you look at that menu, because when no document is open it looks like this (both options disabled):
go to post John Murray · Apr 20, 2018 I think Studio manages this submenu's contents automatically as a most-recently-used list, and you can't directly control what gets listed.But if I have misunderstood your question, and you're actually asking how to create your own template, then here is the doc link.
go to post John Murray · Apr 20, 2018 If you're not already committed() to using Git, you might consider the Deltanji source code management tool from my employer, George James Software. One of its features is the ability to manage deletion of code components (e.g. classes, routines, files, lookup tables, HL7 schemas etc) and propagate those deletion downstream in whatever workflow you have configured (e.g. DEV, QA, STAGING, LIVE).
go to post John Murray · Apr 12, 2018 The documentation is misleading about this. It says:When you upgrade Caché to a new version, existing Query Plans are automatically frozen.And later:The earliest upgrade that performs this operation is an upgrade to 2017.1.0.What it needs to say is:The earliest upgrade that performs this operation is an upgrade from 2016.2.0.The docs do use 2016.2 as the "from" version in their example, but not in a way that communicates how this nice feature won't help with upgrades from pre-2016.2 versions.@Brendan Bannon - please draw this to the attention the InterSystems documentation team.Above I've deliberately linked explicitly to the 2017.2 doc rather than to "latest" because I hope that in due course the latter will get corrected.
go to post John Murray · Apr 10, 2018 A bit more info on the answer from @Jeffrey DrummHere's how the relevant part of the 'Environment, Documentation and Proxy' section of Studio's Tools\Options dialog starts out:In this state I can use the standard 'SOAP Wizard' add-in but it is served by the private web server of my Cache server installation. I'm testing from the Windows desktop this runs on.I also have an instance of IIS on that Windows host, and the IIS is correctly configured to serve Portal and documentation pages from both http://localhost/ and https://localhost, plus from http://localhost/cache111 and https://localhost/cache111Back in the Studio Options dialog I set the checkbox and start trying some value-pairs in the now-active Address and Port fields. Here are my results:AddressPortResult of launching add-inlocalhost80Successlocalhost443White page, presumably because HTTP is requested from 443localhost/cache11180CSP Error page, which reveals that the CGI variable CACHE_URL has the malformed value http://localhost:80/cache111:80/isc/studio/templates/SOAPClientWizard.csphttps://localhost443Works from Studio 2017.2.1 but fails from Studio 2014.1.1 and displays a page headed "Navigation to the webpage was canceled".https://localhost/cache111443Fails from Studio 2014.1.1 as above. Gives CSP Error page from Studio 2017.2.1, which reveals that the CGI variable CACHE_URL has the malformed value http://localhost:443/cache111:443/isc/studio/templates/SOAPClientWizard.cspNote too that if we enter a value for Address but leave Port blank the dialog files a value of 80 in the Port field. This can be seen when the dialog is reopened.Conclusions from above:Templates and add-ins can be served from a server other than the Private Web Server as long as they are served from the root.Studio 2017.2.1 can fetch templates and add-ins using HTTPS when correctly configured. This is not true of some earlier versions of Studio.
go to post John Murray · Apr 10, 2018 Nice! And you can shave off 3 characters by using $EXTRACT instead of $SELECTf i=1:1:s w ! f j=1:1:s w $e(" #",j#s<2!(i#s<2)!(j=i)!(s-i+1=j)+1)
go to post John Murray · Apr 9, 2018 No, a variable name cannot contain the underscore character, because that character is the concatenation operator. If it was allowed in a variable name, how would we interpret this, for example?WRITE TICK_TOCKIs it concatenating variables TICK and TOCK, then writing out the result? Or writing the value of a single variable named TICK_TOCK.If the utility you refer to is expecting you to supply data values in variables whose names match the SQL column names, then the developer of the utility hasn't accounted for the fact that SQL column names can contain underscores but Caché variables can't. So the utility needs fixing.
go to post John Murray · Apr 5, 2018 For Windows the link http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCI_windows#GCI_windows_upgrade gets you to a short section titled "Caché Upgrade Installation".For other platforms the principle is the same. Stop the Caché instance you're going to upgrade (or at least be prepared to allow the upgrade procedure to stop it). Then run the installer script in the same way as if doing a new installation. Pick the existing instance you want to upgrade.
go to post John Murray · Apr 5, 2018 Bob, as one of the moderators I have removed the "Developer Community" tag from your post. That tag is intended for posts or questions related to the operation of Developer Community itself.
go to post John Murray · Apr 3, 2018 For the record, if you subsequently want to Ensemble-enable namespace XYZ, here's the call that does it verbosely: do ##class(%Library.EnsembleMgr).EnableNamespace("XYZ",1) To do it quietly, omit the second argument or pass it as 0.
go to post John Murray · Mar 29, 2018 In case this behaviour is version-specific, please tell us your $ZVERSION string.
go to post John Murray · Mar 27, 2018 Fixed it again. If it breaks in future, try searching InterSystems documentation for "cinstall setserviceusername" (without the quotes)
go to post John Murray · Mar 26, 2018 Specifically, the $-style methods (called system methods) were introduced in 2016.1 and then removed in 2016.2. See here for details.
go to post John Murray · Mar 26, 2018 I'm seeing extra whitespace characters at unexpected places in the code fragments you posted. For example between $ and fromJSON(data)What is your $ZVERSION value? The $-style methods got introduced at one point, then removed in a later version.
go to post John Murray · Mar 26, 2018 Just to clarify, is this the stuff your user is unhappy about seeing in plaintext?https://omnidata.com.au/csp/lcda/StudentList.csp
go to post John Murray · Mar 26, 2018 I assume you are using Caché on Windows, and you are launching Terminal from the Cube on the local desktop of the PC where Caché is running.In this case the security settings of the %Service_Console service (System > Security Management > Services) are what you need to adjust.Enabling only "Unauthenticated" will mean that you don't get prompted for username/password, and your Terminal session will report $username="UnknownUser". But the security settings for UnknownUser will also have to allow that account to get to the programmer prompt. If they don't, your Terminal session won't start.Enabling only "Operating System" will mean that provided a Caché user account exists that matches the Windows account you are logged into the desktop as, your Terminal session will report that username as its $username. Again, the Caché account will need sufficient permissions to get to the programmer prompt.
go to post John Murray · Mar 16, 2018 Indeed. IMO, %ALL is an unnecessarily well-hidden secret and I wish new installations created %ALL by default. See this post of mine for more info.
go to post John Murray · Mar 16, 2018 Here's a place to start reading the public online doc:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCI_upgradeSoftware kits can be downloaded from InterSystems WRC (Worldwide Response Center) at https://wrc.intersystems.com/ but you will need a WRC account to log in with.
go to post John Murray · Mar 13, 2018 I was wondering the same thing, seeing how Kevin referred to "directory" names. But given that he tagged the post as "Studio" I assumed he meant "package" rather than "directory".