go to post John Murray · Mar 16, 2017 Perhaps worth linking to this post which explains the meaning of %DEFAULTDB in the above screenshot. The %DEFAULTDB setting arrived in 2016.1 and facilitates subscript level global mappings using %ALL.
go to post John Murray · Mar 16, 2017 I assume Evgeny's initial fix was to change the hyperlink in the article so it's an http one rather than an https one.
go to post John Murray · Mar 15, 2017 Like most DC posts nowadays, this one got auto-crossposted to the intersystems-public-cache Google Group. When I checked this morning there were 5 responses from people trying to help the original poster. But since those answers don't automatically feed across to DC I'm drawing attention to them here. Because unless the OP knows to look there they may never see them.https://groups.google.com/forum/#!topic/intersystems-public-cache/fngd5j...
go to post John Murray · Mar 14, 2017 If you are trying to get the output of the command, one way is to use a pipe device. See this post.
go to post John Murray · Mar 14, 2017 This recent post about Ontodia and Caché describes an interesting variation on the UML class diagram presentations we previously discussed here.
go to post John Murray · Mar 13, 2017 On the newer Cache versions you no longer need to pick a database when defining %ALL. Provided you tab off the "Name of the namespace" field after entering "%ALL", the form simplifies:The above screenshot is from 2016.2.
go to post John Murray · Mar 10, 2017 In COS the function $Char(10) returns the ASCII newline character. Or if you need a CRLF sequence you can use $Char(13,10)
go to post John Murray · Mar 10, 2017 Did you ever solve this? If so, maybe add an Answer to the post. You can even accept your own answer (click the checkmark) and thus prevent the pot from listing as "unanswered".
go to post John Murray · Mar 10, 2017 As Eduard indicated in his comment, there are many possible factors. I'm posting this as an answer so the question no longer appears in DC's "no answer" view. And if the OP wants to accept this answer, click the checkmark alongside it. Then it will no longer appear in DC's "unanswered" view.
go to post John Murray · Mar 6, 2017 The "My Account" section already looks like it separates Subscriptions from Favorites, but currently the "MY FAVORITES" option goes to the "Saved Content" tab of a page called "My Content".AFAIK the "Saved Content" tab is no longer operational in its original mode. But perhaps it could be useful for this case.
go to post John Murray · Mar 3, 2017 Here are some initial suggestions / comments (no particular priority):Standardize on capitalization in naming. For example classnames EX.example and Sample.Classes, and property names name and Location.Use singular for your classname, e.g. Class rather than ClassesUse meaningful classnames, e.g. Sample.Employee rather than Sample.ClassesUse meaningful method names. e.g. insert or Insert rather than helloAvoid namespace switching unless really necessary. Presumably in your case the Sample.Classes class is in the USER namespace and the EX.example is somewhere else (maybe you wrote it in your SAMPLES namespace).For a REST interface, consider returning results in a structured form, e.g. JSON.Make good use of indenting. Perhaps you already have done this and the post to DC has mangled it.Avoid using Z-commands, $Z-functions and $Z if non-Z equivalents are available. For example, SET $NAMESPACE="USER" instead of ZN "USER". Note that you can also preserve the current $NAMESPACE value using NEW $NAMESPACE which will automatically reinstate the value when the stack level is exited.I hope this is a useful start.
go to post John Murray · Mar 2, 2017 Please clarify your architecture. When ECP is involved there are usually at least 2 Cache instances. One is an "ECP application server" and the other is an "ECP data server".What Cache instance are your ODBC clients connecting to?Where are you wanting to add load balancing?
go to post John Murray · Mar 2, 2017 Did you answer your own question here? If so, DC now allows you to add an Answer to your own, and even mark it as the accepted answer. But I have a followup question: did you determine whether your solution is "legal" (i.e. a quirk of Management Portal), or is it a bug and likely to get "fixed" in a future release (thus breaking your app)?
go to post John Murray · Mar 2, 2017 I just re-tested this, and starting a new post from a group's homepage still doesn't default the Group field of the post. Maybe it never will...