検索

質問
· 2016年8月2日

how to connect to the Cache database from node.js ?

I cannot connect to Cache from node.js  

I have installed in Windows 10 the following: CACHE 2016, node.js v 4.4.7 and  express .

-  where can I get cache.node? The link in the Intersystmes documentation  http://globalsdb.org/downloads/  doesn't work. I found cache0100.node and cache0120.node  in my Cache instance's  \bin directory. But I am not sure if I can use them or not.

 - how to install cache.node ? Where do I place it exactly? 

Can anyone recommend any tutorial or code example with installation instructions?

Thank you!

12 Comments
ディスカッション (12)3
続けるにはログインするか新規登録を行ってください
質問
· 2016年7月21日

Source Control For Caché / Ensemble

Hi community members!

I'd like to know about what source control version is recommended to use with Caché / Ensemble. Can someone help me? If yes, there is some documentation to how to configure?

Thanks,

José Sampaio.

8 Comments
ディスカッション (8)0
続けるにはログインするか新規登録を行ってください
質問
· 2016年7月15日

How to write into Cache classes, routines etc

Hello, guys.

I have an external file that contains data in UDL format(as in Studio, not XML) and I need to somehow overwrite my source file with that file. 

I tried to use this snippet for .mac file

 set rtn = ##class(%RoutineMgr).%OpenId("les.mac")
 rtn.Code.WriteLine("some text")

It says that status is 1, but I don't see any difference in my source file.

Is there any way to overwrite source files, not only .mac but .cls, .int, .dfi?

4 Comments
ディスカッション (4)0
続けるにはログインするか新規登録を行ってください
質問
· 2016年7月14日

New to Cache trying to run the tutorials getting a compile error

I'm new to Cache and trying to follow the Using Cache Studio PDF. In section 2.4.3(Adding a Zen form) it tells you insert the following code;

<button caption="Save" o select="zenPage.saveRecord();" />

Unfortunately that code fails compilation. If you try and use the tools there is no o select option nor a select or onselect option. I was wondering if anyone has used this PDF before and knows what the correct attribute should be?

3 Comments
ディスカッション (3)0
続けるにはログインするか新規登録を行ってください
質問
· 2016年7月14日

Are there any video tutorials on managed alerts?

Took a look around and didn't find any.  I'm playing with setting it up now in our dev environment but reading walls of text only gets me so far.

2 Comments
ディスカッション (2)0
続けるにはログインするか新規登録を行ってください