go to post Ben Spead · May 26, 2016 I don't have a complete answer for you, but presumably you could grab the binary stream via SQL and then save the stream do disk via the %Stream.FileBinary class interface. We manage JPG files through that interface, but I haven't done the fetch via SQL before (so hopefully someone who has fetched a jpg via SQL could comment on that piece)
go to post Ben Spead · May 23, 2016 Thanks for pointing that out John! That hasn't crossed my radar yet and I am especially glad to see it as well!
go to post Ben Spead · May 12, 2016 Mike - thanks for posting this for everyone's benefit! One minor point though - is this a Question (as you created it) or an Article? Is there anything you are asking specifically? (I don't know that there is a way for you to change it to an article at this point but you should note the difference for next time).I do want to let everyone know that they can rely on the link https://download.InterSystems.com always pointing to our evaluation kit download application (even if the rest of the website is rearranged). That is an application managed by my team and it intended to always be accessible through that entry point.
go to post Ben Spead · May 8, 2016 Take a look at the $system.OBJ.Load() and $system.OBJ.LoadDir() methods. This is the most common way to take source from your source control system and load them into your namespace.
go to post Ben Spead · Apr 28, 2016 Scott,xDBC clients connect with Caché over the SuperServer port. This is 1972 on your working system. On the one that isn't working, to find the port do the following navigation in the System Management Portal:Menu -> Configure MemoryLook at the SuperServer port number and see what that is if it is not 1972
go to post Ben Spead · Apr 28, 2016 Sankar,For a version of Caché this old (circa 2002) I strongly suggest that you contact the WRC directly for assistance (http://www.intersystems.com/services-support/product-support/). That will be your best bet to getting your system back online as quickly as possible.Please feel free to report back here as to the root cause and resolution for what you're seeing.Ben
go to post Ben Spead · Apr 26, 2016 Mike,I am not sure about the "access denied" message you are seeing - perhaps Paul could comment on that. However, to manage all of your subscriptions:1) Log in2) Click on My Account (top icon bar)3) Click on the Subscriptions tabThen I strongly recommend that you click "Settings" and Uncheck "Digest Mode". The Digest emails are really not very usable (IMHO) and work has been done to make the individual emails more useful - you may find those to be better and closer to what you are used to in the Google Groups (assuming you didn't use Digest in Google Groups). Under the "Page / Threads" tab you can unsubscribe to the threads you are no longer interested in. I hope that helps. The email update mechanism has come a long way but it still has quite a ways to go. There is work that will be commencing shortly to enable HTML based email which should be an improvement as well.
go to post Ben Spead · Apr 21, 2016 Yes - if you New $namespace, then once the context pops off the stack it will revert automatically to the original namespace before setting the newed version of $namespace
go to post Ben Spead · Apr 19, 2016 I want to bump this post up because it is really useful (thanks Evgeny) and people definitely need to be aware of this great resource for getting the example source!
go to post Ben Spead · Apr 12, 2016 Timur - THANK YOU! It hadn't gotten annoying enough to google a solution yet, and you just saved me the effort :)
go to post Ben Spead · Apr 11, 2016 Tim- I saw the same thing and then I realized it was an outlook thing: It saws right the top that Outlook removed extra line breaks. If you click that message you can reverse it and the line breaks will then get corrected. HTH,Ben
go to post Ben Spead · Apr 6, 2016 This looks like a tremendous resource. Thanks for posting it Nikita!!
go to post Ben Spead · Apr 4, 2016 Mike,You can send yourself a link via email using the last icon shown beneath the poster's name:If you want to save the content as a file, just use your browser's "Save As" options to save the page to a local HTML file.Hope that helps!Ben
go to post Ben Spead · Mar 24, 2016 Thanks for the shout-out Paul!I would like to clarify that subscription emails have been revamped for non-digest emails *only*. In order to turn off Digest, you need to go to:My Account > Subscriptions Tab > Expand "Settings" at the bottom and then uncheck "Digest mode" The new email formatting isn't fully where we're like to see it yet (e.g. it is not HTML and it doesn't include full thread history) but I hope that people find that it makes consumption of updates via email significantly more useful than it was previously. Personally - I can't wait to see this change go live!
go to post Ben Spead · Mar 24, 2016 Here is a sample method which I created for a Zen Mojo project a couple of years ago: ClassMethod GeocodeAddress(pAddress As %String, Output pFormattedAddress As %String, Output pLatitude As %Numeric, Output pLongitude As %Numeric) As %Status { Set sc=$$$OK Set r=##class(%Net.HttpRequest).%New() Set r.Server="maps.googleapis.com" Set url="/maps/api/geocode/json?address=" Set address=pAddress Set requestUrl=url_##class(%CSP.Page).EscapeURL(address) Do r.Get(requestUrl) Set json=r.HttpResponse.Data.Read() Set sc=##class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject(json,,.geoObj) If $$$ISERR(sc) Quit sc If (geoObj.status="OK") { Set pFormattedAddress=geoObj.results.GetAt(1)."formatted_address" Set pLatitude=geoObj.results.GetAt(1).geometry.location.lat Set pLongitude=geoObj.results.GetAt(1).geometry.location.lng } Else { Set sc=$$$ERROR($$$GeneralError,"Google API Returned the following status: "_geoObj.status) } Quit sc }
go to post Ben Spead · Mar 23, 2016 We used Google's service for an application for a while but ended up pulling it out. Let me know if you want me to point you to the specific code.
go to post Ben Spead · Mar 23, 2016 Dan,You might take a look at Benjamin DeBoe's iKnow demos which I believe are all sharable with customers. They leverage REST+AngularJS (which cuts down on the JS code you have to write)+Bootstrap (which ships with Caché in 2016.1 I believe to support ZenMojo's Bootstrap flavor). That might be a good starting point for sample code if this is a direction they are willing to explore.HTH,Ben
go to post Ben Spead · Mar 18, 2016 To add one more details to what Tim wrote about how we handle internal applications - we have a partnership with our QD department where at least one during every beta release period they will request a copy of each of our apps and verify compilation, automated unit tests and manual unit tests on that beta version of Caché. This way if there is going to be any sort of breaking change, we know it before we upgrade our dev environment and we can schedule that upgrade more wisely so as not to halt other development work. This practice is supported by the fact that we run all of our environments on VMs so it is fairly easy for us to get a new VM cloned off for them from Test and then we are not otherwise impacted in our development workflow. We have been able to move to new released much more quickly as a result of this practice