Hi Everyone,
I am trying the Export and Import application as per this link referred here: ExImData
I have the following sample class I am trying to import:
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi Everyone,
I am trying the Export and Import application as per this link referred here: ExImData
I have the following sample class I am trying to import:
I have a case where our EMR is sending data, but not all the values needed for the Ancillary are valued properly and causes that message to error/halt processing on the Ancillary system, not ideal but its what they do. I would expect them to still process the message except that 1 field, but they don't.
I want to add validation to make sure certain fields are valued correctly for the Vendor.
So I add some statements to take those items that don't pass this validation out to a batch file with headers.
I created a csp that will capture image data from a html canvas element. I created a button element to save the contents as a dataURL string from jpeg and make a server call.
the string is too long
I would appreciate any suggestions in saving the data into the server, currently just a global.
Hello to you all,
Strange titel, so I'll explain better:
I now have IIS-server with a CSPGateway installed. This works fine. But I want to use a rest-service (or another zen-page, whatever.) on another cache-server
So on IIS i have an application called CSP. (/csp) This contains the handler to map it to the CSPGateway.
It has been configured to acces a cache-server (X) which will handle the request. But now I want, in this case, the request to be executed on another cache-server(Y).
I would like to examine the contents of my OBX-5 field and not route the message if it contains alphabetic characters. I've tried various combinations of the Match and Contains functions, with no luck. Should I be using the COS ? operator or plaini regular expressions?
e.g.
OBX-5 Contains "\D"
OBX-5 Contains "?.A"
OBX-5 Contains "[A-Z]"
To develop simple applications, wouldn't the Caché database be too heavy? Or are there simpler and less complex versions that can serve in the same way?
Hello to all,
I created a form in React and submitted the data to a cache-Rest service.
On the local netwok it works just fine.
But when i deploy it on our webserver in order to acces it from the outside it won't work anymore beacuse the external address is a https address, and the call to the cache webserver is based on http.(http://srvdb23:57772/restacc/newOrder)
Resulting in the following error: Referrer Policy: strict-origin-when-cross-origin ( Chrome)
How should i resolve this? How can I make this rest-service accessible for https?
Best regards,
Simon
Does anybody know if there is an easy way to know if the execution of the command $System.SQL.PurgeForTable went well/wrong?
The documentation describes that a string is returned, but in fact there is a nice Quit "" in the code.
Maybe inside PurgeForTable^%apiSQL there is any process variable set when it goes well/wrong?
Thank you very much!
How would I export the WHOLE PROJECT rather than just a single class file out to an XML file?
I would like to, on every file change export the whole project to XML
Thanks for your time
Hi all, By using VS code, I want to copy multiple files to local directory, then sync them to server, but I can't find where local directory is stored? In Atelier IDE, I could open a view of server and can copy the code to the project, then code is saved in the local directory. When I copy multiple files to the local directory -> choose sync in Atelier -> the code will be synchronized to the server How to do this from VS Code? Thanks!
Hi All
It's been 6 weeks since my original article ![]()
- - - - -but I have been busy on this project ![]()
Hello,
First of all thanks for your help,
We would need to get the list of all names, ports and types from the services listed in a namespace
We have read the following documentation:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
In addition, we have read the following topics:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
We've our Cache running on Windows 2012 Server, but I've a Macbook Pro. Earlier I was using Miscrosoft Remote Desktop 8, to remote into our Windows server & everything worked.
Since version 8 is discontinued, I installed Microsoft Remote Desktop 10.5, which works for everything except starting Terminal.
I get error 'NTI Connection Error'
(287) Error writing to Pipe
Reason: (998) Invalid Access to Memory Location.
If I do remote desktop from Windows machine (using same credentials), it works.
One of the leading benefits of ObjectScript is the speed and efficiency it allows for an experienced developer. Let's look at an example of how you can benefit from ObjectScript today.
Suppose you have a class that stores the names of your users. We'll call the class Data.User, and give it a string property Name. Next, we will need a method to create a new user or update an existing one. A naive, simplistic approach might look like this example:
This is a remote position for a US Citizen who has significant MUMPS background AND has experience at a deep level with Java, and AWS Services.
The location is in Kirkland Washington, however, obviously during the COVID we will be doing remote work. Our hope is some is willing to relocated to the Seattle Region after we open up again.
Essential skill sets are: competent if not excellent in MUMPS. Cache Knowledge of a deep level. Knowledge of Java and variants, AWS - specific to hybrid cloud services - perferablly (blue sky here): Certification as a AWS Architect - Professional.
Given a complex method flagged with [ SqlProc ] so it is available as an SQL stored procedure, what's the best way to report a non-system error detected in that method - say, for example, an error %Status - so that the SQL query calling it fails descriptively? Is it best to create and throw an exception, or are there special % variables involved (like in a trigger)? I haven't been able to find an answer in the documentation.
Thanks in advance!
the report generates statics for each ward and i want to divide specific ward 5c into two wards, the first 12 beds are for 5c - pediatric and the last 12 beds are for 5c-adults.
the report takes input from the user by selecting the wards so if the user chooses 5c, the report should show 2 wards.
the report declare cursor at the begining so how can i divide the ward.
Hi,
The question is about queries on the System->SQL page. I have a class with a few columns on a global and the test output looks as expected, below. This works as expected as well returning a single row: select * from Utils.RoutineAuditReport where counter=4. However, other columns give an odd error like " Field 'AG' not found in the applicable tables^ SELECT * FROM Utils . RoutineAuditReport WHERE UserR = "AG". As you can see below, both the UserR column and the AG entry in it do exist. What could be the problem?
Thanks in advance,
Anna
Hi, I'm new in this place.
I would like to know how can I use Intersystems Caché in Linux Mint with the best performance?
My computer is not so good and I need a light version from this.
Hello,
We would like some advice
We have developed a REST Operation
The code is:
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.FunctionObject("MyFunction", "MyRoutine", paramObject);
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?
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 ];
...Here is the issue: those properties are filled from a huge Caché database which contains forbidden XML characters (usually control characters in the 0-31 range).
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.
- pinging any other server to see if it is still visible on the network
- running nslookup