Is there a way to modify the CSP Server Access settings programmatically, instead of through the management portal?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Is there a way to modify the CSP Server Access settings programmatically, instead of through the management portal?
Ive been asked to investigate Intersystems Cache' for a new software initiative and was hoping to be able to download a limited-use or dev license to kick the tires but I need it for a couple of specific OS builds. AIX and Linux (CENTOS). I don't see a place to download specific versions, other than Windows, various builds of Unix and that's about it. Can someone give me some guidance on how to make sure I'm downloading the right item to build some test instances with?
thank you in advance :)
tom
This is a FYI for anyone who has experienced the following error after upgrading an existing instance to any product based on Caché 2017.2.2. In our case, the products are HealthShare HealthConnect for Redhat x64 and for Windows x86-64 but I believe it would be a common problem for any InterSystems product on any platform, if based on Caché 2017.2.2. After upgrading our development instance from 2016.2.2 to 2017.2.
We are trying to connect a RSS feed to a HealthShare PHR app, the RSS feed located here (link). Upon doing so I get a certificate server mismatch error, so I tried testing this out in the terminal as follows to see why this would be happening:
I have a class (to be deployed) and I want to forbid anyone from extending it.
Is there any way to do that?
Hello,
When working with class queries you have to define the ROWSPEC at the beginning (See below).
Instead of using Year1 or Year2 as the column name, how can I use the passed in fiscal year (xFiscalYear)
so Instead of using "Year1" as the column name I can call it something like: "Jul"_xFiscalYear
{
}
I faced with the issue when WebSocket connection just fails without any errors if I send data with size 384 bytes and more (In binary mode the same). As I know by standard WebSockets frame does not have such limitation. Is there any way how to decrease it? This limitation too small, it is too difficult to fit this size and needs to send data much more often than I expected. Tested with Caché 2016.2, 2017.2 and IRIS 2018.1.
d ##class(Test.Test).Test("hello") ; works perfectly
d ##class(Test.Test).Test("") ; does not work, the list stays empty
How can I do that. Thank you so much
Class Test.Test Extends %Persistent
{
Property ReviewedBy As list Of %String;
ClassMethod Test(val = "")
{
Set t = ##class(Forerun.Test).%New()
If val'="" Do t.ReviewedBy.Insert(val)
Else Do t.ReviewedBy.Clear() ;
$$$THROWONERROR(tSC, t.%Save())
Set id = t.%Id()
Set user = "me"
&SQL(UPDATE Test.
Hello,
Looking for some help on how I actually set the properties to enable tracing for %Net.SSH.Session ?
The doc is here:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
The values look bitwise in their defaultness and I cant seem to figure out how to enable it in my object (or if I am going about this wrong altogether). I am troubleshooting an elusive ssh error: unable to exchange encryption keys in a catch at the moment.
Would appreciate a clue if anybody has experience with it... thank you.
-Ron
This code snippet allows for a file on the web to be saved into the file system. Specify the server and GET request, as well as the directory the file should be saved to. The class method "test" runs the code:
Class objectscript.saveFileHTTP Extends %RegisteredObject
{
classmethod test() {
Set httprequest = ##class(%Net.HttpRequest).%New()
Set httprequest.Server = "docs.intersystems.com"
Do httprequest.Get("documentation/cache/20172/pdfs/GJSON.pdf")
Do $System.OBJ.Dump(httprequest.HttpResponse)
Set stream=##class(%FileBinaryStream).%New()
Set stream.Filename="c:\test.pdf"
Write stream.CopyFrom(httprequest.HttpResponse.Data)
Write stream.%Save()
}
}
Here's a link to the code on GitHub
SQL gateway.
There is a basic problem with sql gateway,
while building the proxy methods, with:
it causes error messages as something in the class is not correct,
while this class passed OK all Visual Studio of C#
and same class working OK under the %Activate Assembly link
I think there is also problem with overload methods (same methods names).
Regards,
Emanuel

I already talked about GraphQL and the ways of using it in this article. Now I am going to tell you about the tasks I was facing and the results that I managed to achieve in the process of implementing GraphQL for InterSystems platforms.
Hello Everyone,
We are planning to build angular UI and Cache REST as backend. Can we deploy angular in Cache Private web server.
What would be the best way to do it. Did any one configure apache with csp gateway . if so can anyone guide me to a good document or some steps here which might help.
I have looked into this - https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
Somehow i am not able to join the dots .
Activate Wizard by-pass
Cache-2016-1.2
1. how to bypass the Activate wizard ?, and run directly the Activate on: .NET x64 COM Assembly (.dll,.tlb)
with object script , something like :
D Activate^%CacheActivate("MyAssembly.tlb")
the MyAssembly.tlb , is ofcourse , a visible Element in activate Wizard table list
2. activate Wizard table list, sometimes throws an error #6101 ?
regards,
Emanuel
Hi,
we have Angular solution and Cache server. We need to have separate users and sessions on same browser (laptop, table etc) for every user and for one user with many connections.
Thought this was resolved, but unfortunately not.
-----------------------------------------------------------------------------------------------------------------------
I got the code away from here, because it was some how ok.
The news is that it’s time to change. Starting from the release of Atelier, a new development environment, and Caché 2016.2, you will be able to export and import files in the format that you use in the studio, into the so-called UDL (Universal Definition Language) format. You can now write code that is not only fast but also looks beautiful in the exported form. However, we get another equally serious issue: if all new projects are in the UDL format, what will happen to backward compatibility?
Hi All,I'm getting the error when i tried to TEST LDAP Authentication . "Connect error: 81 - Server Down",Actually Am a beginner for LDAP Connect with Intersystems Cache. Please provide the Info to proceed further
Hi Community!
We are proud to annouce our latest release of CachéQuality to help you to find and solve coding errors, refactoring, help to follow you coding guidelines, etc. You can check the latest release notes here.
This is the third article (see Part 1 and Part 2) where I continue to introduce you to the internal structure of Caché databases. This time, I will tell you a few interesting things and explain how my Caché Blocks Explorer project can help make your work more productive.
Hi everyone!
Someone already try to use jQuery Mask Plugin on cache?
I'm trying but unsuccessfully.
First I created a new ambient on my own machine to developer in html and all works.
So, I exported the library's js (as jss) to a new Application (stylesheet /js /css) and created too a new Zen Page .cls calling this Application style.
Parameter APPLICATION = "Multi.Estilo";
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen" ]
{
<page xmlns="http://www.intersystems.
Let's say I have a list structure:
set list = $lb("stri,ng", $c(0), 2)I want to replace all $c(0) elements with empty elements, so my list would look like:
set list = $lb("stri,ng", , 2)What's the fastest way to do that?
I have a list
set list=$lb(1,$c(0),2)
How do I replace $c(0) with an empty element?
My list should look like this:
set list=$lb(1,,2)
I tried using $list but it either replaces the element with an empty string:
set $list(list,2)="" zw list
Resulting in:
list=$lb(1,"",2)
Or removes the element altogether:
set $list(list,2,2)="" zw list
Resulting in:
list=$lb(1,2)
Hi,
Does anyone know why the SYNTAX error appears?
Thanks,
Tomer.
Hello community!
At the global summit in Phoenix, we (Lite Solutions) will be presenting a tool performing static code analysis on ObjectScript source files. You can see it in action at this URL:
Technically, the tool is a language plugin over SonarQube (http://sonarqube.org) and consists of three main parts:
The third point is where we kindly request for feedback.
Explanation: issues are the result of rules being triggered by inspecting the source files.
Hello!
How to delete archieve file, i'm used ##Class(%File).Delete(fileNamewithPath), but this method doesn't help,
Anybody know, how to delete file exactly?
Is there a way to lock at the record level? I know that you can lock at the table level:
&sql(UNLOCK mytest IN EXCLUSIVE MODE)
but am unable to find a way to lock just at the record/row level.
Would this also affect a SELECT statement done on the record?
I want to call java method and return $lb structure from it.
JDBC jar seems to contain relevant class - com.intersys.jdbc.CacheListBuilder, but so far I only managed to return a string that looks like a list.
Here's my java code:
package isc.poi;
import com.intersys.jdbc.CacheListBuilder;
import java.sql.SQLException;
public class Test {
public static String Test() throws SQLException
{
CacheListBuilder list = new CacheListBuilder("UTF8");
list.set(123);
list.set(456);
list.set("\"abc\"");
return list.Hi!
I have the following script to install caché silently:
Does anyone have any experience with getting, unfortunately, an older version of Cache to authenticate via SMTP to send email? I have verified that the settings are set up properly on the mailbox as I have successfully sent an email from a LAMP server, which comes from the same IP address.
If you have any thoughts, I would greatly appreciate it.
This is the error I receive
ERROR #6034: SMTP server connection failed during MAIL FROM command: <READ>zSend+105^%Net.SMTP.1.
when I run the following.
s server=##class(%Net.SMTP).%New()
s server.smtpserver="smtp.office365.com"
s server.
Hello,
while sending JSON request :
Set Object.iin="123132132"
Set Object.firstName=name
Set Object.lastName=surname
Set Object.middleName=middlename
Set Object.birthDate=birthDate
Set Object.contractType="Z001"
receive error bellow:
"Corrupt body: json: cannot unmarshal number into Go struct field CheckContractRequest.iin of type string".