Hi
I am fairly new to Ensemble development.
I was wondering what is the best process of returning the resultset from a SQL outbound adapter to the BPL that had invoked it.
Thank you for your help.
Kind Regards,
Salma
Beginner tag unites articles and questions for those who are getting started with InterSystems Data Platform
Hi
I am fairly new to Ensemble development.
I was wondering what is the best process of returning the resultset from a SQL outbound adapter to the BPL that had invoked it.
Thank you for your help.
Kind Regards,
Salma
Recently DigitalOcean introduced new plans for droplets, but as existing droplets stayed on the old plans I decided to use API to resize them automatically. After reading tutorial, I wrote partial client for DigitalOcean API, which I would like to share today.
Hi I'm new in cache ... How do i get the last date of the every month
In part 1, part 2, and part 3 parts of this series we set up three user types. In part 4 we saw how to secure model elements and DeepSee items. In this last part of the tutorial we conclude with some remarks on DeepSee security and troubleshooting tips. In particular, we see how pivot tables in User Portal can be "hidden".

In part 1 we started working on a security model for DeepSee and create a user type having privileges typical of end users. In this part we are going to create a second user type with ability to edit and create DeepSee pivot tables and dashboards.

Hi, Community!
Someday you find yourself having a wonderful class package which can be helpful in several projects. So it is a library package.
How to make the classes available for different namespaces in Caché? There are two ways (at least two ways familiar to me):
1. Start the name of the package with %, like %FantasticLib.SuperClass. Wrong way.
If you do that the class would be placed in %SYS and would be available in other namespaces.
This is wrong because of the two reasons:
1. The class will be wiped out with the next Caché update (as all the %SYS Namespace).
2.
Hi I am new using atelier and i want to use some of the InterSystems server for me to train so is there any server connections that i can use. Please help me on this.
Hi everyone
I'm new in Cache development language and I'm starting setting up Unit Tests.
How do you check with an Assert whether a certain variable is null or undefined?
The following assert throws an error on the "null": do $$$AssertEquals(myObj, null, "myObj is null")
Thanks a lot for your help and best regards
Milena
What is difference between using a command $classmethod rather than just invoking them straight away?
For example if i need to call a class and its method i can just use like
do ##class(circle).radius()
rather than using
do $classmethod("circle",radius)(I suppose both of them doing the same function i am not aware of it)
Please help me understand what is different and is there any specific usage.
Correct me if i have made mistake.
How can I get a terminal connection to Caché server from Atelier?
Is it possible?
In if condition what is the difference between specifying the single operator and double operator? For example, what is the difference between (&& and &) or (|| and !)
Hello everyone, I work for a company that currently uses Studio on version 2016.1.2, and will be looking at options to upgrade to 2016.2 and beyond. This would also include the potential to switch from Studio to Atelier, however there are a lot of workflow changes and new features to test.
Does Atelier have a simple way to evaluate what it has to offer without needing to setup an entire separate environment? How did your organization demo its features before committing?
Thank you! ![]()
I am trying to read an xml document using %XML.TextReader and that's is all well and l can get my elements values but would like to determine where the next record start on the xml without referring to the document path in essence would like to use the same method to read different xml docs. I would like to know if is there a way or a function that I can use to get the start and end of a record in xml as I would to get the start and end element.
Hi Team,
How to we get a data from http response using HHTP request.Give one Example.
Thanks ,
Ponnumani Gurusamy.
Hi, I'm a student, weak programming. I ask for your help, I write a program in C #, there are two tables, but I do not understand how to organize the connection between them many to many. Table in DataGridView1 from DataSet1 on Form1 key connection in DataGridView1 from DataSet1 to Form3
I do this on Form1
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
if (e.RowIndex >= 0)
{
DataGridViewRow row = this.dataGridView1.Rows[e.RowIndex];
Form1.IDfor3form = row.Cells[1].Value.ToString(); // By the Bilet column
Form3 c = new Form3();
c.Owner = this;
c.Show();
}
}What type of tree traversal was we are using in our Cache database?. Please explain anyone.
Thanks in Advance!
sample
w "Total No.Of Sticks:21"_!
s sticks=21
r "enter machine name: ",a
r "enter dev name: ",b
w "Display 1 to 21 sticks"_!
s i=""
f i=1:1:21{
w " "_i_" "
}
user(sticks)
w !_"User select 1 or 2 or 3 or 4 sticks:"_!
r "User enter sticks: ",us
if us>4 {
w "please select upto 4 Sticks"
r "User enter sticks: ",us
}
s cnt=sticks-us
s sticks=cnt
f i=1:1:sticks {
w " "_i_" "
}
s dev=1
s machine=0
d:sticks=0 lost(dev,machine)
d machine(.sticks,us)
q
machine(sticks,us)
w !_"Machine select 1 or 2 or 3 or 4 sticks: "_!
s ms=5-us
w "machine Pick the Sticks:"_ms
hang 1
s cnt=sticks-ms
s sticks=cnt
f i=1:1:sticks {
w " "_i_" "
}
s dev=0
s machine=1
d:sticks=0 lost(dev,machine)
q:sticks=0
d user(.sticks)
q
lost(dev,machine)
if dev=1 {
w "User Lost"_!
}else {
w "machine Lost"_!
}
r "restart your game Yes(Y) or No(N)",res
if res="Y" {
d sample
}else{
q
}I have seen three different type of data structure.
1.^a -> it is global
2. a^ - > It is tree
3. a| -> I don't know what it is.
if any one know as please share your knowledge.
Hi Guys,
Can you please guide me to get rid of this issue. Please find the image files with this post.
Please let me know, before we are developing an API what are all the setup/Configuration(Apache/web server) need to do in my machine.
If any lead would be appreciated.
I don't know, in XMLNamespace parameter which URL need to use.
.
Thanks,
Arun Kumar Durairaj.
Hi,All,
I did a small coding for the HTTP request and HTTP response. When i tried to use a server with ping i was able to get a response from the HTTP request. But when i tried the same with HTTP response i am getting a empty value in the response why is that?
Thanks in advance.
Hello,
I was wondering if there is a way to maybe temporarily alter the [Private] tag dynamically or any other way to run a Unit test against class method, which has been labeled as [Private]?
I mean, I understand there is a workaround to create a non private class method inside this class, which will in turn call this private method and run a Unit test on the non private method, but I am looking for a way to do this without altering the original class.
Thank you,
Alex
When executing a business process I'd like to share the Login Token from an external system retrieved via one of my business operations across multiple process instances. This means I need to persist the token somewhere. What would be the best approach/pattern to implement this?
The primary idea I had was to store the token and a timestamp in a persistable object and then write a single method in the Business Operation that retrieves the token.
Can anyone suggest suitable Cache ObjectScript syntax for open/use/read statements on a simple ms-dos text file.
I've tried various examples seen on the web but they appear to be implementation specific.
I used MSM MUMPS many years ago but am now retired & would like to write a few simple routines for my own amusement & mental challenge.
I am using the free Version of Cache (V 2017.1) on my Windows 10 PC. The installation file was CachePCkit_x64.exe
My apologies for this query being very basic.
"Help me, Obi Wan Kenobi"?
I’ve hit the wall. I’m a one person shop who wants to start developing Cache on a mac using Eclipse/Atelier, after using Studio for the last 5 years. I’ve installed the 1.1 beta plugin, watched 6 or 7 videos from the September conference, tried several times to work through the cheat sheets, only to have connection issues or compilation issues, so at this point, I’m feeling very frustrated. The videos were interesting, but generally didn’t work as tutorials for fundamental programming operations, for me.
This should be an overview over a subject that pops up over several places in online documentation mostly as remarks and never as dedicated chapter.
Once upon a time ... No it's not a fairy tale.
In the beginning of Caché (and before) you had your partition to run your code. Part of that partition was a space with all your local variables nicely sorted by %,A,..Z,a,...z
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
ClassMethod WriteNodes(myfile As
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