Hello guys,
Based on this article (others as well, but this is the relevant one): http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?
Beginner tag unites articles and questions for those who are getting started with InterSystems Data Platform
Hello guys,
Based on this article (others as well, but this is the relevant one): http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?
Hi,
I have general question regarding the InterSystems Platform.
Which features does the platform have, that the other similar platforms doesn't have?
Hi all. When I try to do this in Apache Zeppelin:
This error appears:

My jdbc interpreter:

Hi everyone,
I am still learning the platform for a student project and have to do some streaming and data analysis next. Since for my case I have no "live api" I wanted to just stream json files and output the data as it comes in from the files. (basically to emulate a incoming data scenario)
So thanks to the documentation and community posts I have figured how to create a stream and read data from a JSON but since I'm also new to JSON I have some parsing problems. I don't know how to access subarrays/sub-objects via objectscript.
I'm trying to add an Operation to store DICOM files but each time I add a Operation using the class EnsLib.DICOM.Operation.TCP it reverts into Services and I cannot work out why this is happening. I've tried following the guide online (link at the bottom) but the Operation still reverts to a Service.
Any pointers would be appreciated,
Thank you.
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
I have a service that takes a file and pass it through to the production .While I am passing the file through I get the file stream and set it to a variable within my message and the variable is of type %Ens.StreamContainer. But after all processing and I need to write out my file to a pdf format The file gets written but is a corrupt file since I can not read it I have tried this with asimple pass through everything is fine .But here I do not know what I am doing wrong here is the operation code
set pInput=pRequest.Hello,
I need to add a new property ("Injection") to an existing database. The existing database contains, in part:
An "ImageStudy" which contains one or more "ImageFiles" defined as follows:
Class PET.ImageStudy Extends (%Persistent)
{
Relationship ImageFiles as PET.ImageFile [cardinality=children,inverse=Study]
...
}
Class PET.ImageFile Extends (%Persistent)
Relationship Study as PET.I have this local, containing a list of books of arbitrary length:
set books=2 set books(1, "author") = "Alice" set books(1, "title") = "Hello" set books(1, "pages") = "123" set books(2, "author") = "Bob" set books(2, "title") = "World" set books(2, "pages") = "456"
And I want to generate this PDF (there could be more than two tables), each book is a separate table:

The header is always the same (Author, Title, Page) but the number of tables would be different.
ZEN reports sounds relevant, but I'm not sure how to pass data from local there and how to draw a separate table for each result.
Hi,
While accessing Trakcare in IE 11 i am getting error:
The Trakcare Layout Editor is not functioning.Please check your browser security setting for scripts and ActiveX controls.You must have ensemble installed locally to use this application.
Hello,
I need to access the value of a setting I created (ex: name_BO) within the logic of my BP.
Property name_BO As %String(MAXLEN = "");
/// Additional Settings
Parameter SETTINGS = "name_BO:Basic:selector?context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId}";
But the class is common and the production item names will change.
Example -> Class name: My.BP.Common
Items in the production:
Item 1:
Item 2:
Where My.
Hello,
I want to know if there is any possible way to use the same query for different ODBC schemas.
Thanks.
Note: with support for Overlay storage driver for InterSystems IRIS containers this article is no longer relevant. The article is left here for archive purposes.
If you're using Firefox, you probably know that there are search engine addons that allow us to use website search directly. Now, docs.intersystems.com is also available as a search engine here. Here's how it looks:

Has anyone used ClearRuntimeAppData, I am using the EnsLib.SQL.InboundAdapter and pulls the SQL query fine, but if the service needs to keep pulling the same rows the next time the service is started but it will not, due to the parameter “key Field Name”
Hi Community,
Is there any way to integrate or access the data from cloud Integration tool called SnapLogic.
Does InterSystems support any integration? Or can you suggest any sandbox available for FHIR to download and access the data.
Thanks
The code I'm researching loosely follows this flow:
I can modify 1 and 3 no problem but modifying 2 is difficult.
However I think that step 2 has some optimization problems, namely:
Is there a way to count these two metrics?
Hi ,
I installed "Atelier" plugin and write sample routine. But I am unable to save it and run it .Please guide me how do I solve this issue.

I have a SQL procedure that I call into and it does some processing and passes back any data validations that fail. I would like to receive those message in my operation and act upon the message received .The question is how do you get output messages from a stored procedure I am using MsSQL 2012 with ensemble
Hello Global masters.
I am junior developer about Intersystems cache in South Korea.
I want to develop process management program on server.
My code :
TESTPID(IP) ;
#include %syPidtab
Set Rset = ##class(%ResultSet).%New("%SYS.ProcessQuery:ListPids")
d Rset.Execute()
&sql(SELECT ClientIPAddress, Pid INTO :ClientIPAddress, :Pid
FROM %SYS.ProcessQuery
WHERE ClientIPAddress = :IP)
While Rset.Next()
{
i SQLCODE'=0 w !,"SQL Error "_SQLCODE continue ; 100 means process does not exist (halted)
I Rset.GetData(1) = Pid D
. w !,Rset.I have a batch and would like to see the records in it on a terminal
First will use .%OpenId(Id) then will want to get the first record something around GetAT(1) with this I get the object reference but will actual need to see the data any help
The following post concludes the series with a list of all databases seen in the example for the fully flexible architecture.

Hi,
Is it possible to call a REST service from a business operation in Cache? Does anyone have a sample for me to take a look at.
Note:
I am new to Cache, just started learning:)
Sometimes, we need to copy part of the properties of an object into a different one.
The simplest thing would be to do the following:
Set obj1.FirstName = obj2.FirstName
Set obj1.SecondName = obj2.SecondName
What happens if the object contains a large number of properties? or we just want to extract an important group of data, and complement the information in another object?
Having the following classes:
Class Kurro.PersonalInfo Extends %Library.I am using the EnsLib.RecordMap.Operation.BatchFileOperation to write a batch to a file but for some reason this has been working fine as of yesterday I had a problem with the cache databases filling up running out of memory so had to compact my database and gain space now when I run the operation I get the above error .Of course in my batch table there is no batch record with ID 1.The message is passed with the correct header information but still get this error any suggestions why?
Does developing a RESTful API in Caché remove the requirement to use the InterSystems.Data.CacheClient.dll and generate proxy classes using the Caché Object Binding Wizard for .NET web development? If anyone has links to sample applications using .NET with Caché and REST Services, I would be grateful if you could share them.
The following post is a guide to implement a basic architecture for DeepSee. This implementation includes a database for the DeepSee cache and a database for the DeepSee implementation and settings.

Set httprequest=##class(%Net.HttpRequest).%New()
Set httprequest.Server="www.intersystems.com"
Do httprequest.Get("/")
Do httprequest.HttpResponse.OutputToDevice()
Do httprequest.Get("/cache/")
Do httprequest.HttpResponse.OutputToDevice()The above is the code which i found in this link http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?…;
How do the above code works and can i be able to run this?
Thanks in advance.
Hi, iam newbie on caché database.
Iam trying, export data from query.
I read in some article that is not so simple.
So I create a view then a execute a query insert into select statement.
I have problem to know the job progress. I execute an hour ago and nothing happened.
Iam using intersystems web IDE.
Thanks for help!
Hi. I am newby in Cache. My source code at below. I have problem in Relationship property. Could you please help?
/// Class Test.Book Extends %Persistent { Property Name As %String; Property Author As %String; Property ISBN As %String; Relationship Chapters As Test.Chapter [ Cardinality = children, Inverse = bookid ]; }
Class Test.Chapter Extends %Persistent { Property Name As %String; Property Page As %Integer; Relationship bookid As Test.
Several $System.OBJ methods have ByRef errorlog argument:
Compile(ByRef classes As %String = "", qspec As %String = "", ByRef errorlog As %String, recurse As %Boolean = 0) ImportDir(dir As %String = "", wildcards As %String, qspec As %String = "", ByRef errorlog As %String, recurse As %Boolean = 0, ByRef imported As %String, listonly As %Boolean, ByRef selectedlist As %String)
What's the best approach of working with errorlog?
Do you convert it to status? If so - how? Manual iteration over local?
Is there some system method to convert it into %Status?