Is there any Test Driven Development tool for Cache for the web development. If so can any one help me on this.
Thanks in advance.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Is there any Test Driven Development tool for Cache for the web development. If so can any one help me on this.
Thanks in advance.
One of the most important features during application development is the ability to debug your code easily. Because of the asynchrnous nature, a standard Node.js application server works single-threaded by default. When you are developing applications using an IDE like Visual Studio Code, you can very easily debug your Node.js process:
First, download the free Visual Studio Code IDE (@code) and install it on your development machine.
We will start with basic debugging using a very small test.
how to set some specific value for the variable if the user enter that specific value then only it will go to next step
When i tried to print .txt format,data will be coming without space between each row but when
I tried to print .xls format mean ,it gives gap of each row.what is the reason behind this?
How to show alert message on ZEN when user closing window?
Standart js way to add listener is not working.
I tried this
ClientMethod onloadHandler() [ Language = javascript ] { zenPage.window.addEventListener('onbeforeunload', function(e){ return 'Are you sure you want to leave?'; }); }
and this, but both are unsuccessfully .
ClientMethod onloadHandler() [ Language = javascript ] { zenPage.window.onbeforeunload = zenPage.myClientMethod; }
Hi All,
I need some clarification on web service (Soap Service). For each Soap request, system consuming 1 license and it is not releasing until CSP session timeout and extra grace period 5.10 minutes(310 seconds).
Due to this, at some time license consumption is full.
If i use with Login credential (i.e password authenticated web service), it consumes one license for 25 connections(request).
But i need to use it as anonymous user(Unauthenticated).
Please advice.
Thanks,
Sabarinathan M
Hi,
We are having a problem where sometimes a websocket connection started from a CSP page does not share the same SessionId as the CSP page itself. We are also using ECP and can see that both sessions are often even on different application servers.
I have a class that has a list property, which contains a list of other objects, and I want to join against it in SQL.
Class Foo Extends %Persistent
{
Property MyBars As list Of Bar;
}Class Bar Extends %Persistent { Property Name As %String; }
Simply querying the Foo table, I see that MyBars looks like a $LIST, so I tried using a query with the %inlist operator but that didn't seem to work as expected. The following query produces zero results:
select bar.name from foo join bar on bar.id %INLIST MyBars
Is there some convenient way to do this sort of join?
Hello,
we have to implement some application logic using either Java or .NET. Which should we choose? Given that all other considerations are equal, which is in your experience better way performance-wise to interact with external components in Caché: .NET Gateway or Java Gateway?
Thanks.
Hi
Please can someone send me an example of how to auto refresh a table pane.
Thanks
Nigel
Hi-
I have an IP address (or hostname) and a port (in this case a super server port #) and I want to try to verify that network communications can be established between the host I'm on and the given hostname and port number of a remote server.
Is there any way pragmatically to do this within Cache?
I am trying connect DB using Oracle DB link (ODBC). I am getting the following error. Please help me fixing this error.
I am using Oracle 12 c.

Thanks,
Raj
Hi, folks!
Is there any way to use $CASE or $SELECT functionality in SQL SELECT query?
E.g. something like this:
SELECT product, $CASE(status,"New":field1,"Payed":field2) as data from sales
To see either in data column either field1 or field2 values in regard of status value.
Hi-
I am running the latest version of Cache and am trying to use the Config.* classes in the %SYS namespace to be able to gather information from a cache.cpf file that was provided to me by a customer. The customer is running an older version of Cache which had a different Version number in the cpf file. Theirs is 2013.1 and mine is 2015.1.
My question is, are the Config.* classes backwards compatible. Can I use a 2017.1 version of Cache to read information from cpf file from a 2014 system?
Hi all-
We used to have this Java applet in our CSP page to "print all" and "download all" PDF medical reports. We want this applet so that the user won't have to open each PDF in the browser just to print it.
But now most browsers do not support Java applets anymore due to security concerns, so that Java application is down. We tried to migrate to Java Web Start but don't know how to invoke the JNLP file from the CSP page. I am new to Cache so any help would be greatly appreciated.
Also, is there an easier solution to this print all problem?
Hello,
I am looking for ObjectScript implementation of crypt-compatible function, that generates md5 salted hashes (output is in the form of $1$salt$hash). From what I understand it uses its own spin on md5 algorithm:
https://en.wikipedia.org/wiki/Crypt_(C)
http://php.net/manual/en/function.crypt.php
http://www.gnu.org/software/libc/manual/html_node/crypt.html
Does Cache have something like that built in?
Has somebody here seen it implemented somewhere?
Thanks.
Added:
I have found description of the underlying algorithm here: https://www.vidarholen.net/contents/blog/?p=32
If you are facing out the license expire warning message on your terminal ("*** Warning: This Cache license will expire in 3 days ***") and you do not want that message to be displayed, you can disable/enable that by rinning the following commands:
Do ExpirationMessageOff^%SYS.LICENSE - Disable
Do ExpirationMessageOn^%SYS.LICENSE - Enable

Hi , i have a JSON record as follow {value1,value2, value3}
i want to write my switch statement in this form:
<switch> my value <case> value1</case> <case>value2</case> <case>value3</case> </switch>
is there any possibility to extract values from JSON record and put them in a switch statement?
thank's
I need to create a standards document for new developers who are coming to Cache from other backgrounds.
Does anyone have an in-house document they could share with me?
Regards
Mike
Hi, Community!
Consider I have ResourceA which is used by role RoleA in dev environment and want to deploy it with the solution on a target system.
Would you please share the best practices to make it?
Thank you in advance!
Hello again and welcome to the Part 3 - Using the SQL API!
If you have been wondering about how to use SQL along with Frontier, you came to the right place. That's because since Frontier wraps the common Caché SQL API within it's own, you need to use the API provided from it. But you don't need to worry about its learning curve, because the Frontier SQL API is really simple.
If you arrived here without checking the Part 1, I'd recommend you doing so, because Part 1 covers the essential for getting started with Frontier routers.
The definitions of these two compiler keywords looks very similar to me.
Is there any difference between these two keywords ?
When I declare a parent class as Abstract, its child class could be compiled successfully.
However, when I declare a parent class as NoExtent, some compile errors about storage references get pop up for its child classes.
Thanks.
I have a class name stored as %String,
How could I get the names of all its child classes?
Thanks you.
I have a Powershell script to backup up a Cache database. The script runs through and backs up the database with the normal 4 iterations. The script successfully produces the backup file and an associated log file. However, after completion of the backup there is what appears to be a permission error. I have not been able to find any information that would help me determine if this message impacts the integrity of the back up. From the end of the output of the backup:
Backup pass 4 complete at 09/22/2017 17:55:44 ***FINISHED BACKUP*** Global references are enabled. Backup complete.
Hi, I work on my application and I want to develop rules for extracting values from my database but i've any idea:
I want to order my records by the most recent timestamps values with profile_id and biometric type as keys, after comparing them with my personal program date (when the timestamp > at my fixed date : an alert message is sent to the patient)
you find here the attached screenshots for my to databases. thank's

Hi guys!
Unique, PrimaryKey and IDKey?
In what contexts does it apply?
IDKey sets the registry key access to the store.
PrimaryKey, Unique, and IDKey define the uniqueness in the records, but what is correct?
I use everyone? What is the context of each?
Hi world ,
when i apply this command :
Hi world,
Hi , World
this is i field in my global:
{"profile_id":"9XOzzcI8NfSUjxAhEt0cTLRejwmp6HPi","biometrics":[{"timestamp":"2017-05-17T13:45:40","utc_offset":"+02:00","resting_heartrate":120.0,"spo2":98.0,"activity_id":"591c540aac8f295479ee14ce"}]}
for information: it's respective key is "peyload"
my question is :
I want to extract the timestamps value , and the profile_id value , how can i do?
thank's
I've mentioned the QEWD project in this group before: it's a Node.js-based platform for web, Native and REST applications which tightly integrates with Cache. It uses a somewhat different philosophy to the use of Node.js than the norm, and I've now published an article that explains this approach and the unique benefits that arise as a result.
It turns out that, integrated via QEWD, Cache is an ideal bed-fellow for Node.js. QEWD makes the integration of Cache and Node.js exceptionally fast, simple and intuitive to use, but also extremely powerful.
Read the article here: