I had typed up a large reply and then learned something new so I intended to hit CTRL+A to select everything and delete it. Can't do that. Apparently CTRL+A, like backspace, causes the input field to lose focus.
I HATE this editor.
I had typed up a large reply and then learned something new so I intended to hit CTRL+A to select everything and delete it. Can't do that. Apparently CTRL+A, like backspace, causes the input field to lose focus.
I HATE this editor.
I have a Zen page, and I would like to have an onload handler to run a bit of javascript when the page is ready. Unfortunately, the page inherits from a template, and the template already has an onload handler that does all kinds of useful things. Is there any way to override the onload handler in my page, while still being able to call the onload handler that is inherited from the template? In ObjectScript, there is ##super, but in javascript, there is no equivalent of that.
Coming from a C/C++/C# background, I was expecting the & and | operators in Cache ObjectScript to perform bitwise operations on integers, but apparently they don't.
I checked the online documentation http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
but couldn't find any information on bitwise integer arithmetic.
So given the following code:
set x = 10 //bit pattern is : 1010
set y=3 //bit pattern is: 0011
What operator can be used to return z = x <BITWISE OR> y = 1011 (binary) = 11 (decimal)
Thanks,
Bill
Good day
Additional tool for MUMPS servers MiniM InterConnect:
http://www.minimdb.com/tools/interconnect.html
to connect job on one MUMPS server to other job on other MUMPS server in client-server mode. This tool can connect different MUMPS systems on different OS and with different processors - MiniM, Cache and GT.M in any pairs.
Regards,
Eugene Karataev
Hello
I have to receive GPS tracks through a TCIP port using SOCKET listen port from INTERNET, how can I implement this in CACHE? through websocket ?. Thanks if you can help me.
Does anyone have a snippet to create the Namespace and database with defaults in one command?
Something like:
do ##class(Utils.Namespace).Create(Name)Please share?
Thank you in advance!
I had a table which contained data and worked fine, without changes the code of the persistent classes I now get the following error:
II have tried to browse the data for a 'clue' but no result.
What is the explanation of the error message?
Thanks in advance!
Hi all, Basically i have 2 queries..
Is there any simple way to fetch the data directly from the database (using the URL and credentials) from the csp file without creating a link table for that particular Table...?? If there is, could you please share the syntax of using them ..?
Can we have an object return type from the below mentioned method to a javascript function.. ???
<script language="cache" method="methodName" arguments="argument1" returntype= "Not sure of the return type"> QUIT object </script>
A calculated measure is a powerful feature in DeepSee and can help to enrich your analyzes. In the case of complex or long running computations plugins can be useful. This article shows with a simple example how you can build and use a plugin in DeepSee.
Just curious how many companies use in their work Docker containers, I mean not only with InterSystems products. And if such companies exist, which of them uses docker and doesn't use it for InterSystems products by some reasons. What are the reasons? For companies which already uses InterSystems in containers, how do you use it? Development environment, testing or even in production ?
And if you don't use but thought about it, what are the reasons which stop you.
Does anyone know how to connect a Cache client to a GT.M database? I recently installed Osehra VistA on my PC and it uses GT.M, but we're supposed to use Cache Studio to develop. I tried adding a server to Cache (specifying 2222 as the port) and I get an "access denied" error. Port 2222 is the correct port which I use for for VirtuaBox and I have no problem connecting to VistA. I also tried going into the Management Portal to set up a local connection but this isn't working. There are some sites that say the products 'nodem' or 'node.
Good day
Let me offer Cache Tools
http://www.minimdb.com/tools/cachetools.html
Routine and Global editors for Intersystems Caché, ported to Windows, Linux, MacOSX.
Regards,
Eugene Karataev
How do we get posts featured/sticky/always on the top of the homepage?
We need the ability to have a couple posts always on the homepage. Most sites have some sort of Featured/Announcement/Sticky function for important information to be seen by all.
Why can't we have that on this site?
When creating a filter located on a dashboard that targets all, is there a way to narrow that filter down?
For example, in our data we have some dates that are well out of range due to data quality issues, but they still appear in the drop downs. Is there a way to say, only make available the below dates in the filter?
Another example, If we want to only look at Emergency data, it still provides all the wards for inpatient activity and activity in other hospitals, meaning, to get to just the Emergency wards you have to scroll through everything?
Hope that makes sense.
In the WRC distributions download page, the following products are listed:
Hello,
Is it possible to create a widget in the DeepSee 2 dashboards that will just contain a block of text?
Specifically text that isn't in any database, just free text that can be formatted.
Cheers,
Ben
Good Morning, All replies are appreciated.
We have a development instance of cache that was installed and the person that installed and set it up is no longer here. We have no id's that we have the passwords for. I have brought the database up in emergency mode and I can get access thru the terminal using my emergency id but I do not know how to add a user/password thru the terminal. Can someone enlighten me or point me to documentation that I haven't found yet.
We tested REST Services as described for Caché DocServer example and for requests using http protocol it works without problems. However when we use the https protocol for the same REST Service it is not available. Our infrastructure is as follows: Apache with openssl, which works on the other hand well for CSP with https. If we switch on the web gateway http trace facility we could see the request of CSP pages by https://. but again a request of a REST Service by https:// will not result in a entry in the tracer.
I am trying to write some code to check to see if a directory exists before creating a new directory.
When I do the following I am not getting a response, but the directory exists..
do ##class(%File).DirectoryExists("/ensemble/")am I missing something?
I would like to integrate SQL into our ObjectScript routines in order to illustrate how SQL can be used to minimize development time. However, there are two questions I have.
Hi,
is there a way to copy namespace mappings from another namespace to a new namespace programmatically with a command?
When using management portal there is an option to choose an existing namespace to copy the mappings from, I'm basically looking for the equivalent from command line / COS.
Thanks
Martin
InterSystems Global Summit 2017 registration is now open.
Register today - https://eventsforce.net/globalsummit2017.
The Solution Developers Conference @ Global Summit 2017 will be Sept 10-13, 2017 in Palm Springs, CA.
You can see more about the hotel and conference rates at:
http://www.intersystems.com/who-we-are/events/intersystems-global-summit-2017/hotel-information-fees-logistics/
November 22, 2016 – Alert: Database Integrity on UNIX® and Linux Platforms
InterSystems has corrected a defect that may, in rare circumstances, result in database degradation on UNIX and Linux platforms.
This defect affects Caché, Ensemble, and HealthShare distributions beginning with Caché version 2012.1. It is only a possible risk on UNIX and Linux platforms that are using asynchronous I/O for database writes. The following table specifies if asynchronous I/O is always on or optional for the affected platforms and releases:
|
Platform |
Versions 2012.1 to 2015.1 |
Version 2015. |
I'm trying to use the standard TSQL DECLARE syntax but I get the following error:
[%msg: < IDENTIFIER expected, @ found^ DECLARE @>]
How do I declare a variable? For instance:
Is it possible to have CSV export option on dashboards in the same way as excel export.
I currently have an MDX query/calculated measure as per the below:
[DaysOnListRange].[H1].[DaysOnListRange].&[Days 91 - 180]+ [DaysOnListRange].[H1].[DaysOnListRange].&[Days 181 - 365]+
[DaysOnListRange].[H1].[DaysOnListRange].&[Days 365+]
however it currently doesn't sum when there is a blank in the data.
How can I amend this query to include empty cells/only sum cells with data?
I've tried using nonempty but it doesn't appear to work in this context
Good day! Can someone briefly explain or give me a link to documentation why in Linux Cache starts 8 Write Daemons (Main and 7 Slaves)? Thanks!
As stated in title, I want to log everything I type/get in the terminal to a log file, is there a setting like this somewhere?
Preferably I'd like to enable it once and that's it.

CLM is a tool for localization/internationalization/adding multi-language support to a project based on InterSystems Caché.
Imagine that you have a ready project where all the content is in Russian, and you need to add an English localization to it. You wrap all your strings into resources, translate them into English and call the necessary resource for Russian or English when necessary. Nothing tricky, if you think about it. But what if there are lots of strings and there are mistakes in Russian (or English)? What if you need to localize in more than one language – say, ten? This is exactly the kind of project where you should use CLM. It will help you localize the entire content of your project into the necessary language and retain the possibility to correct entries.
Those of you, who work with DeepSee, might have spotted, that when working with a date hierarchy, there are several functions, allowing you to select a time function for a given level. E.g. for extracting a year from a date/time property when building date hierarchy, you simply use Year function. similarly for month number, quarter and so on. Sometimes, you may wish to see the time - namely hour numbers. For this there is a HourNumber function available with DeepSee. Unfortunately, this function converts time into 12 hours format suffixed with AM/PM to indicate day part.