Hi, I would like to use another framework in Studio, like React or Angular.
Is it possible?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi, I would like to use another framework in Studio, like React or Angular.
Is it possible?
Hello to all,
I'm trying to post some form data from a form I made in React to the backend of cache fetching a REST-service.
Receiving and processing a JSON-object is no problem but how can I handle Form Data?
The frontend is sending the form as form data and also includes one or more files.
What is the easiest way to process this data in my REST.Broker- class?
Best regards,
Simon
We are using Native .NET API from IRISProviderCore21 package, inside .NET Core app, and having issue when trying to call function that takes instance of the class as parameter. The server is IRIS 2020.1.0.217.1
In a nutshell, the code looks like this:
// Create instance of the parameter class, proxy object
var paramObject = iris.ClassMethodObject("MyParameterClass", "%New") as IRISObject;
paramObject.Set("property", "value");
var irisResult = iris.
We have a custom FTP Service , and custom FTP adapter . Customization is just to find a duplicate file and for giving specific dynamic file spec pattern.
While running and polling for files, we are getting this error. Could you please help ? What's the issue and how to resolve it ?
ERROR <Ens>ErrFTPListFailed: FTP: Failed List for <FileName> (msg='Cache error in 'readResponse': <READ>zreadResponse+4^%Net.FtpSession.1',code=426)
I searched to see if there was a previous question on this, but I didn't quite find anything. Please link if you think this has been answered before (I have a feeling it has): what are the barriers to source control using Cache 2018 and Studio?
I'm trying to figure out how to create a local repository but I can't access the folder structure in the USER namespace for my local instance. If I could, it would be as simple as navigating there in Git Bash and doing a 'git init' and then I can push changes to a remote repo for control.
How to convert date and time into CCYYMMDDHHMMSS format??
For example the date and time format is 12/10/2019 21:41
Hi All,
In earlier cache version, I can see full data values in SQL management portal.
But IRIS restricted the view only to 100 chars.
"If the data in a field is longer than 100 characters, the first 100 characters of the data are displayed followed by an ellipsis (...) indicating additional data." - From Documentation.
Is there a way to change this behavior ? I would like to see all the values in the particular SQL field.
Thanks in advance,
Archunan K
A simple question: View Global Data page shows globals always in ascending subscript order. Very often I need to see latest page, is there any trick for this?
Update: I mean to see last subscripts in Management Portal, not using the code
I have implemented a web service that inherit from %SOAP.WebService
It exposes classes with string properties :
Class Employee Extends (%RegisteredObject, %XML.Adaptor) [ ProcedureBlock ]
{
Parameter XMLNAME = "Employee";
Parameter XMLSEQUENCE = 1;
Property FirstName As %String(MAXLEN = "", XMLNAME = "FirstName") [ Required ];
Property LastName As %String(MAXLEN = "", XMLNAME = "LastName") [ Required ];
...The question has come up several times and I saw mixed answers and no quick example
My personal preference is using CPIPE device as you get back exactly the output you will get at the command line interface of your OS .
The tricky thing is to stop reading in time.
The example just displays what you normally see in your console.
it becomes useful if you look for things that you can't get from any $system.whatever()
e.g.
- your servers IP address or addresses depending on your configuration.
I am trying to create an ODBC class that includes all of these as records, but I don't see how I can since the first record has 3 subscripts, the rest have 4 subscripts:
.png)
Here is my current storage definition:
<ExtentSize>100000</ExtentSize>
<SequenceNumber>25</SequenceNumber>
<SQLMap name="Test">
<Data name="ModificationDate">
<RetrievalCode> set {ModificationDate}={L4}</RetrievalCode>
</Data>
<Data name="Operator">
<Delimiter>":","|"</Delimiter>
<Piece>36,2</Piece>
</Data>
<Data name="CreationDate">
<Delimiter>":",","</Delimiter>
<Piece>24,1</Piece>
</Data>
<Data name="CreationTime">
<
Hello,
I am trying to use %ZEN.proxyObject to send out in JSON format so I do:
and I get:
{
"aboolean":"true",
"notanumber":28001
}
But I want this:
{
"aboolean":true,
"notanumber":"28001"
}
Help please !
Caché running on Windows Server includes a built in telnet service. Unfortunately though telnet is a plain text protocol, which generates a security violation from our network security scanner. Is there a way to replace telnet with SSH to connect to a Caché system running on Windows 2012 R2?
If I have table of 60 fields is there a way to add values to columns dynamically ?
Fields are like this Field1, Field2, Field3...Field60 and I am reading data from flat files. I tried below code but it didn’t work
For i=2:1:$LENGTH(line) {
set SourceTable.Field_i = $PIECE(line, "|", i)
I am trying to send email via smtp.gmail.com.
Hello,
We are working with a vendor who only accepts JSON as payload. We are currently still on Cache/HealthShare, not IRIS. Since we have to send Continuity of Care Documents, this raises issues with Long Strings (some CCDs can be quite large and in addition to that, they have to be b64-encoded which increases their size even more).
My question is: if we were to go on IRIS and use %JSON.Adapter, storing the encoded Stream in an object's Stream property, would calling %JSONExport() on this object produce the desired JSON? Or would we have to call %JSONExportToStream()?
Anyone know if it's possible using cache objectscript (or something else maybe) to reference an object property using a variable? For example:
s obj={}
s obj.prop1="hello"
s var="prop1"
w obj.var <== which would result in a reference to obj.prop1 and write out "hello"
I am fairly new to using VSCode. I have used VSCode to create some files on our Test Server, now I need to move them to Production.
Looking through the VSCode extension documentation, maybe I missed it but how to I migrate code from one workspace to another. In Studio I was use to exporting the code into an XML and just being able to import it on the Production server version of Studio.
Thanks
Scott
Hi All, I am a Data Architect and am trying a method of deploying alter statements onto Cache DB.
My Data Modeling tool generates alters as this.. So question is if the Cache has a way to rename table? If so what is it?
ALTER TABLE <SchemaName>.GROUP_TYPE_NODES RENAME TO GROUP_TYPE_10082019140110000
;
This is giving error.
SQL Error [25] [37000]: [SQLCODE: <-25>:<Input encountered after end of query>]
[Location: <Prepare>]
[%msg: < Input (IDENTIFIER) encountered after end of query^ALTER TABLE xxx.GROUP_TYPE_NODES RENAME>]
I like to be able to call an "autohotkey" executable message box from within a running Cache routine executing as a jobbed routine. The autohotkey executable displays a small pop-up window with a message and an "OK" button .. and will time out in 10 seconds if the user does not press the OK button.
Although $ZF(-1,cmd) executes (where "cmd" contains a simple batch command e.g. @c:\autohotkey\warning.
Hello community,
Our organization is looking to expand our Coding Standards to be more in alignment with best practices.
I was wondering if the there are developers here that would not mind sharing any existing documents. Our scope would be this document be applicable to new hires learning Cache all the way up the chain.
Thanks in advance,
-SH
Hello All,
I connected the Cache from Power BI using ODBC connection. And I can able to view the tables but I could't able to view the data records. getting some error when I shoot on the table name. I couldn't trace what I'm missing. Please help me.
Error Message: "Value cannot be null. Parameter name: exceptionType"

Thanks,
Vikram
Hey Intersystems Community-Member,
Following Issue: When I update a SQL table like (update OnlineV3Admin.ParameterApp set popuptext = '' where ID = '1') and then read it for my Json WebService there is a /"x00" in my Json.
What is the best option to disable that? I need here a empty String and not /x00.
Any ideas?
Best regards,
Florian Hansmann
Hello,
I need to create a util function that loops thru every character in the data, execute a $ASCII() against it. If it falls outside the realm of extended ASCII we toss it.
the function should receive a string, execute a for...loop across it's length and use $ASCII to evaluate the character. Also the function should return an output argument that indicates if the string is UTF8 valid or not.
could anyone help me with this?
Hi guys,
I have this method to create object from XML
{
Set id="" Set tmpnode=doc.GetNode(node)
Do tmpnode.MoveToFirstChild()
Do {
//compare data node to the string given by the NAMEOFEXPORTID parameter
//which indicates the XMLNAME of the ids for this object
If tmpnode.NodeData=..#NAMEOFEXPORTID {
//get the text from this node; this corresponds to an id in the database
Do tmpnode.GetText(.id)}
} While tmpnode
Hello, I have an SSL / TLS configuration that used TLSv1.0 encryption.
However, I need to update to the TLS 1.2 version of encryption, and apparently Caché 2012.1 does not support it according to this link: https://community.intersystems.com/post/tls-v12-support-cach%C3%A9
Can I add a library to the Cache, enable TLSv1.2 in some way, or just a version update?
.png)
InterSystems has corrected a defect that may cause Windows Telnet processes that are secured using SSL/TLS to hang indefinitely; this may then cause an instance to become unresponsive. This defect is present only on Windows platforms.
This defect affects:
The problems caused by this defect can occur only when the instance is running Windows Telnet.
Hello,
In Caché Management Portal yo can see the SQL privileges per table.
For example : http://localhost:57772/csp/sys/sec/%25CSP.UI.Portal.User.zen?PID=P#3 (Page "SQL Tables").
Is it possible to get them by objectscript or SQL ?
Regards.
I'm running Windows 10 x64 Pro 20H2 with Intersystems Cache ODBC driver v2018.01.00.184. I've setup a System DSN using the 64-bit of ODBC Administrator.
I've been getting inconsistent results using my regular application (Microsoft Power BI) which I use through ODBC to query my hosted TrakCare T2017 instance.
Using Microsoft ODBC Test Tool (part of MDAC 2.8 SDK) I can verify I get the same errors as in Power BI. They seem to be ODBC driver related but I can't pin it down.
ODBC Test Tool GUI shows:
|
Full Connect(Default)
Successfully connected to DSN 'Test DB'. |