go to post Ben Spead · Mar 16, 2017 No - CCR is not a 'released product'. But there are implementation sites partnering with InterSystems that use it.
go to post Ben Spead · Mar 15, 2017 Scott,See the Documatic for the following methods in %Studio.SourceControl.ISC:classmethod Lock(Admin As %Boolean = 0) as %StatusLock the source control hooks for this instance.The default setting will be "Locked". Passing a '1' for the Admin parameter will set the instance to AdminLocked.See Locked for more details.classmethod Locked() as %StringReturns value that shows whether or not this instance is "Locked"Return values are:"": Instance has never been Locked or Unlocked (default)0: Instance is Unlocked1: Instance is Locked2: Instance is AdminLockedWhen the instance is Locked or AdminLocked, no changes can be made via Studio. It is possible to change from Locked to NotLocked via different UIs. When an instance is AdminLocked it should only be possible to unlock it via the Unlock method.classmethod Unlock() as %StatusUnlock the source control hooks for this instance.
go to post Ben Spead · Mar 10, 2017 Andreas - should this be cross-posted on the InterSystems Compatibility blog?http://blog.intersystems.com/compatibility/My guess is that there may be some people who follow that who might miss this significant announcement on the Developer Community. I know I missed this when it was originally posted.
go to post Ben Spead · Mar 10, 2017 You should never do that. That is a stripped down version of apache which should only be used for the Management Portal. You need to install your own full web server
go to post Ben Spead · Mar 7, 2017 Thanks Tim!! Very helpful.One question /comment - your approach doesn't allow for case insensitivity of the http(s)/ftp prefix. I would prefer to set the case insensitivity flag for the whole pattern.According to the ICU documentation (http://userguide.icu-project.org/strings/regexp#TOC-Flag-Options): [quote](?ismwx-ismwx)Flag settings. Change the flag settings. Changes apply to the portion of the pattern following the setting. For example, (?i) changes to a case insensitive match.[/quote]So I was able to make it work as follows: set matcher=##class(%Regex.Matcher).%New("(?i)(\b(https?|ftp)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])",string)set string = matcher.ReplaceAll("<a href='$1' target='_blank'>$1</a>") Thanks for the tips and pointing me in the right direction!
go to post Ben Spead · Feb 6, 2017 Sergey - I also appreciate the point about the "component" approach (as we're using 1.x + Angular Material). If you have any good references or tutorials on that approach (and/or contrasting with the 'typical' approach to do Angular 1.x), please post them :)
go to post Ben Spead · Jan 23, 2017 Gaolai,You need leading whitespace on any line of a routine which is not a line tag. Try putting a space or Tab on your 2nd and 3rd lines.Also, "Hello there!" isn't a valid COS command. Try using: Write "Hello There!"
go to post Ben Spead · Jan 10, 2017 If we change the unanswered query to only include questions with 'true' answers selected, do we expect everyone to be good enough citizens to go back and select true answers once they are provided? Would admins be able to mark true answers if the author abandons the thread?
go to post Ben Spead · Dec 22, 2016 Removed as requested (although I personally think that the screenshot makes people more likely to take a look at your code rather than less likely).
go to post Ben Spead · Dec 12, 2016 For debugging or programmatic purposes? If debugging / interactive you can just zwrite the variable to see the properties.
go to post Ben Spead · Nov 10, 2016 Michael - thanks for the article. It would be really helpful if you could add a paragraph at the top explaining what the Ensemble scheduler is and what it's main use-cases are so that people can tell quickly whether or not this is something which they would want to learn more about. Perhaps as an Intro?
go to post Ben Spead · Nov 10, 2016 %ZNODENAME appears to be a statically linked callout function (see http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...). This is specific to your code / application / environment and isn't something generic to Caché.If you are interested in retrieving your server name, try using:$piece($system,":")
go to post Ben Spead · Nov 10, 2016 I think that may be a custom routine. I don't recognize it as a Caché-supplied resource.
go to post Ben Spead · Nov 10, 2016 My guess is that you are passing data somewhere as a string (because that is around the string limit). You need to use streams instead to store the uploaded file.
go to post Ben Spead · Nov 1, 2016 Assuming you are a supported customer, you can download this from the Distributions page in the WRC application.
go to post Ben Spead · Oct 31, 2016 This is not a Caché utility - it must be supplied by your application partner. Also, the AP must be storing their own users at the application level because if they were using Caché users there would be no way to create a utility that shows Caché users' passwords (see Patrick's answer below).I suggest you reach out to your application partner with this question (or if it is an inhouse development, speak with the development team)
go to post Ben Spead · Oct 27, 2016 Use Find In Files:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...