Hello, I'm looking for books on Caché / Ensemble.
I'm new and would like to learn more about native functions.
Thank you
Beginner tag unites articles and questions for those who are getting started with InterSystems Data Platform
Hello, I'm looking for books on Caché / Ensemble.
I'm new and would like to learn more about native functions.
Thank you
I am using a %GlobalStream to create as % stream.Object and writing that to a file but for some reason when I run that on the terminal I get <PARAMETER>zWrite^%Library.GlobalCharacterStream.1 and no file is created
I have tried the following here is my code and still get the same result any help appreciated
I tried to implement the Oauth2 in google,
I got authentication, But I unable to read response class.
I got an error as:
I unable to change response Class.
Anyone help me to Change response Class in Client Configuration
or
Is there any option to define response URL manually?
Thanks
Hi,
Is there a report of ports configured by services?
We have a lot of services, across multiple namespaces, and it would be useful to know what ports are configured, even for disabled services.
Stephen
Greetings fellow Atelier users! To help new users get started, we are planning to make a list of video tutorials (e.g., how to create an Atelier project). The first one is "Introduction to Atelier", which is a brief tour of the Atelier user interface. We'd appreciate it if you could watch this video and let us know your comments. We'll be relying on your feedback to create more video tutorials to make it easier for new users to learn Atelier.
Please feel free to post your comments below. We look forward to hearing from you!
Hi,in my rule i want to compare a value wich i extract from a file if it's inside in my interval values or no, example:
date1<value>date2
is there any function in rule editor that allow me to do this.
thank's
I'm extracting text from HTML (more on how - here), and after I extract text it has two problems:
Here's an example of the text extracted from HTML page:
I have a batch record mapper that reads a csv file and passes the message to a process that uses the EnsLib.MsgRouter.RoutingEngine and would like to pass the message to an operation that will output that as a XML file but so far been unlucky as the operation that I use , uses the EnsLib.EDI.XML.Operation.FileOperation which only works with the messages("BusinessOperation class for writing XML messages to a file. Works with XML messages of type EnsLib.EDI.XML.Document.") is there a way to achieve this or somewhere to read in order to achieve this I have asked before on this post but the
When starting a post, especially for the beginner there are a lot of buttons, check marks, icons etc. On some of them when you hover you get a very brief descriptions. In reading through some of the responses to the Developer Community Feedback there is a lot of good information.
Could one of the moderators, who know all the tricks put together a one or two page "cheat sheet?" or beginner guide?
This "Cheat Sheet" would be of great help!
I get the impression that there is a great push to encourage others to use the Developers Community.
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.
Hi,
I am a beginner on intersystems technologies ! and i want implements Oauth2 for our projects ( Angular 2 + Caché REST Backend).
i read the article that the link is below :
But : i need to create all servers ( Auth and Resource ) on Caché and dont' to use google server.
Also, i need to be able to consume Oauth from my web services as caché REST application (whitout csp ui) .
An Idea Please ?
Thank you
Yani
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
I tried to access one server to another server in Cache Rest Service, I tried
Parameter HandleCorsRequest = 1;
and
<Route Url="/data/:first/:second" Method="GET" Call="GetData" Cors="true"/>
But not working,
Can anyone tell me the solution??
Thanks in advance!!
Hello,
I come from a programming background, but haven't touched ObjectScript before my current job, so please forgive my ignorance.
Within an Ensemble system, I need to post some information to a RESTful web service. I'm just trying to figure out how to create a method which takes a simple message and posts this off to a RESTful web service?
Thanks in advance for any help.
Why we using double dot in cache?what is the use of it?
I am beginner to ensemble and went through the introduction of ensemble in that they have mentioned three process of operations which is business service,business process, business operations is there anyway to understand these process can anyone help me on this.
Thanks in advance.
I am trying to capture the write of a method to test the response in an unit test. I know everything works because one of my colleagues ran the code and did not froze on his machine.
I don't what is the cause of the freeze. I know that at line Use $io::("^"_$ZNAME) it stopes because i have put some write functions after every line in WriteCapture method and i only saw the first write function in terminal
I also used debug and in this case it didn't froze
PS: forgot to put the status in the XECUTE (vstrCommand, .status)
This is my method that captures the write:
Greetings,
Is it possible to save Cache code into a file and then run it via command line?
IE: csession [ini] -U [ini] /path/cacheCodeFile.?
What I need to do is run a Cache script from the Linux command line. The script will navigate data to produce a file and then it will exit back to the command line.
Thanks in advance for everyone's time.
I need to check if one class is a subclass of another (either direct or indirect).
For example:
Class Package.ClassA Extends %Library.Persistent
{
}
Class Package.ClassB Extends Package.ClassA
{
}
Class Package.ClassC Extends Package.ClassB
{
}In this example Package.ClassC is a subclass of 3 classes: %Library.Persistent, Package.ClassA, Package.ClassB.
So any of these checks should return 1:
Hi!
I am not system admin. But it used to be very simple to install CSP Gateway on an apache system on Linux with Apache installed. I used to run the CSP Gateway installation program and after it was done, all I had to do was fine tune some configurations on CSP Gateway portal on http://<ip>/csp/bin/Systems/Module.cxw and I was up and running.
Good afternoon -
I'm in the process of learning to make COS calls to REST-based web services and while I am having success, I'm struggling on how to parse out the results (I admit I'm very green at this):
Here's the code retrieving the JSON response:
w !,"Get the JSON"Set Result = {}.%FromJSON(Request.HttpResponse.Data)This has Result as a Library.DynamicObject.
I can then write out the response using:
w !,Result.%ToJSON()
This works, I can see the response is valid and what I want. Here is the JSON returned (de-identified):
Trying to use AES encryption for a url. I have a plain text string, a 16-byte key and a initialization vector. I am trying to match a C# implementation that uses RijndaelManaged class with a BlockSize = 128, Mode = CipherMode.CBC, Padding = PaddingMode.PKCS7. The output of the $SYSTEM.Encryption.AESCBCEncrypt(text,key,IV), doesn't match what is coming out of C#. All inputs into the $SYSTEM.Encryption.AESCBCEncrypt(text,key,IV) are converted to UTF8 as in the documentation.
I am trying to go through the "Simple Project" in Atelier Workbench User Guide >>> Getting started >>> Basic tutorial.
(http://docs.intersystems.com/atelier/latest/index.jsp)
Under "Using the popup" it says:
Using the popup
Now that we have our project we will create a folder. We will create our folder using the Project Explorer view's popup menu.
Good day, this is just question from beginner, but I often use Atelier export to export my file as XML for Caché Unit Testing and I didn't find solution for my problem.
And every time I want to export I had to retype export settings again and again. On the other hand, studio always remembered my last exported data paths. Is there some option in settings to set Atelier to remember export settings please? Or there is some other way please, any ideas? (I use Atelier xml exports sometimes 30 times a hour)
Explain data expression and selection expression?
I'd like to access and view the soap log. Apparently there is a global for that (^ISCSOAP) (http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…), but insofar I have been unsuccessful finding the exact cache command for viewing the soap log or changing it so that it logs both incoming and outgoing traffic. Can anyone enlighten me?
I.e. I am trying stuff like:
set ^ISCSOAP("Log") = io
write ^ISCSOAP("Log)
but those don't work.
Hi,
I am new to coding web services and trying to connect to an API that returns its format in xml or json.
I have a class as follows.. when I run I get back a 6059 in my status - Unable to open TCP/IP socket to server
Can someone help me identify what I am missing? Thanks
Good day, every process in my software is about to update 3 specific globals in row when the process is called to do some job. I need to guarantee that during updating of those globals with multiple processes there is only one process that is actually working with those globals. Moreover I need my globals unreadable if other process is in critical area.
Example:

(for example globals: ^data1, ^data2, ^data3 are critical area)
How to we count no.of nodes in global.
Hi!
While i am trying to write a data i am getting a error as "<PROPERTY DOES NOT EXIST>zFile+15^User.zKQRest.1 *value,%Collection.ListOfObj" but there are values stored in it. How can i break it write it separately.