Hi all,By using LDAP cache method ##Class(%SYS.LDAP).GetValuesLen(LD,CurrentEntry,Attribute) we get the list of attributes but in "ObjectSid" attribute have the SID in binary format(objectSid^U¤:c@ãºþÕLCP]). how to convert to the readable format from the binary format in cache side. Please help us to proceed further
Hi Community!
I want to share with you my impressions of Global Summit 2018.
It was my first time in the USA and my first Global Summit. And I can say that it was really amazing trip and a great experience!

I have been building Business Processes in Ensemble for a few months and in a process i'd use a combination of data from the request that started the process and context variables that where filled by earlier calls in the process as input for a data transformation. I do not know how to achieve that.
Hi, Community!
I'm pleased to announce that InterSystems Open Exchange is now operating and available for everyone!
This code snippet provides a ZEN page that downloads a stream from its database directly:
/// We assume that you have stored your data within this schema:
/// MyApp.Model.Storage: Filename,FileSize,Content,ContentType
Class zen.downloadStream Extends (%ZEN.Component.page,%CSP.StreamServer)
{
/// Wrapper to get the id of the download, we assume that the id is passed to this zen page
/// as a URI parameter, i.e.: MyApp.Downloads.cls?OID=1234
ClassMethod GetId()
{
Quit $Get(%request.Data("OID",1))
}
/// Set the appropriate header for the file.
ClassMethod OnPreHTTP() As %Boolean
{
Set tId = ..GetId()
If ##Class(MyApp.Model.Storage).%ExistsId(tId) {
Set tStream = ##Class(MyApp.Model.Storage).%OpenId(tId)
// You could "guess" the content type by its file extension
// or you can store it (before) in the database separately (like in this example).
// Set Extension = $Piece(tStream.Filename,".",$Length(tStream.Filename,"."))
// Set ContentType = ..FileClassify(Extension)
Set %response.ContentType = tStream.ContentType
Do %response.SetHeader("content-disposition","attachment; filename="_tStream.Filename)
Do %response.SetHeader("Content-Length",tStream.FileSize)
}
Else {
Set %response.Status="404 File Not Found"
Quit 0
}
Quit $$$OK
}
ClassMethod OnPage() As %Status
{
Set Download = ##Class(MyApp.Model.Storage).%OpenId(..GetId())
Do Download.Content.OutputToDevice()
Quit $$$OK
}
}
Link to code on GitHub
Hi, Community!
Just came back from Global Summit 2018 and want to share my impressions.
Key highlights of my choice:
1. The announcement of a new InterSystem Data Platform: InterSystems IRIS for Health!
2. Community and Express licensing for InterSystems IRIS
3. The Launch of InterSystems Open Exchange - the gallery of InterSystems Solutions, Tools, Technology examples, Adapters, and Interfaces! E.g. test coverage tool and Ethereum Blockchain Adapter

Hello!
Is it possible to use Cache Studio on a Linux operating system? Maybe there are similar tools for Linux?
Hi all,
I'm pleased to announce this personal project to convert a number to text, in spanish, english, catalan and russian.
the aim of this function is to convert numbers into text. It allows a maximum number of 15 digits.

I have created some roles, and would like to know if there is a way to export the Roles and save them off to a file? I want to create a backup file of these roles for DR purpose, and in case I ever get hit by the preverbal bus.
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
Hello,
I am a beginner with Object Script and I hope anyone can help me solving my questions.
1. Is there a way to time a loop in Object Script?
2. My code leads to the following error, even though it executes the method.
Is there a way to ignore this specific error, so that I can repeat my code in a time loop over and over again without stopping?
Hi all. We are going to find duplicates in a dataset using Apache Spark Machine Learning algorithms.
Note: I have done the following on Ubuntu 18.04, Python 3.6.5, Zeppelin 0.8.0, Spark 2.1.1
Introduction
In previous articles we have done the following:
- The way to launch Jupyter Notebook + Apache Spark + InterSystems IRIS
- Load a ML model into InterSystems IRIS
- K-Means clustering of the Iris Dataset
- The way to launch Apache Spark + Apache Zeppelin + InterSystems IRIS
In this series of articles, we explore Machine Learning and record linkage.
Hi
Anyone worked on "ccontrol list " command execution through Cache Object Scripting.
I executed through bat file passing this ../bin ccontrol list . Icould not get the results through COS but executed in command prompt
it pops up with notepad and list down Cache instances.
Need help here to address the same stuff through cache object scripting.
Hello everyone,
i want to create an iris document database with Atelier with some properties, where i can import my JSON formatted data from an API to the database which i created. Right now i know how to import my local JSON formatted data to my created database:
ClassUser.Classtest
{
ClassMethodgetFile()as%Status
{
setfilename="/home/student/Downloads/own_scrobble.json"
IF$SYSTEM.DocDB.Exists("db.Streamingdatabase"){
SETdb=##class(%DocDB.Database).%GetDatabase("db.Streamingdatabase")
}
Hey folks,
I've shared a debug stack we created on the Open Exchange.
I want to post the link here, but need the link to this article for the Open Exchange. Which came first, the chicken or the egg? ![]()
The github link:
https://github.com/stefanc82/Cache-Debug-Stack
Hi folks,
I've created a datatype class whoch extends from %Library.String with a REGEX parameter and the validation of the value against the regular expression. The class does not support Populate using the regular expression as a template for data population.
Hi, Community!
It's October! And we have DC October 2018 release here!
What's cool?
- Performance on creation and editing posts
- Member's analytics
- Copy-n-paste Image support in editor
- Better highlighting for ObjectScript.
See the details inside!
Newbie question.
We have a desire to leverage apigee to do a call to our MPI system.
Not sure if this is something we can do via HealthShare.
Anyone doing a soap request or restful call from InterSystems through Apigee?
If I am overlooking the obvious (documentation) any guidance is greatly appreciated.
Thanks in advance
Hello World;
i have a problem to call function from cache ,
cache-call:functioninmaccache^MyFileMac(" + id+ ")
This rule works but always gives the same link
thanks for yours response
Can anyone tell me where to find good resources to learn Caché besides InterSystems. I am looking foe material (ie books, white paper, exercises, ect). There does not seem to be a lot of information on Caché.
Thank you for all of your help
Justin
Using our cool new debugging extension for Visual Studio Code I'm trying to debug a CreateProjection method of a class, but when I compile it the work apparently gets done in one of the worker jobs, so my breakpoint never triggers.
Is there a compiler flag or qualifier to force the compilation to be done in-process rather than getting handed off to a worker job?
You have a global ^CODE("TNO","BIO",291,"AKI") that may or may not exist. On the data side of the global ref it can have a boolean value of 0 (false) or 1 (true) and this global is wrapped up in a Caché class accessible from myobject.AKI property. At the object level, how do you check whether the property is defined ie. is there a $DATA equivalent for Cache Object properties? Also, how would you kill /null the property as opposed to making the value 0 (false) or an empty string?
I did a clean install of InterSystems ensemble on a new computer. However, even though my OS and my browser are set the English, the Ensemble installation is in dutch. Does anyone know how I can change the language of my InterSystems Studio so that it is in English?
Hi All,
I need urgent help,
I want to export the values from Global to CSV file.
Values are in global are :
^Global1(1)="1,2,3,4"
^Global1(2)="5,6,7,8"
.
.
.
^Global1(n)="n,n,n,n"
I want output in CSV File as:
1,2,3,4
5,6,7,8
.
.
.
n,n,n,n
I made a class:
ClassMethod ExportNewSchemaGlobals(pFile)
{
Set ary("^Global1")=""
Set pFile = "C:/Test.csv"
Set ary = ##class(%Library.Global).Export(,.ary,pFile)
}
Hello,
I have a question about creating properties with curl.
I already did create properties in Java with the following command.
<DO db.%CreateProperty("TotalSteps","%Integer","$.TotalSteps")>
It created the property TotalSteps with the type %Integer and the data path $.TotalSteps (since the header of my data source is also TotalSteps).
Now I would like to create the same property in curl with the following command
Hi everyone,
I need submit a object have a json string as property of class, but I get an issue, object can't save to SQL table if I take json data to json property. I try making a test class with only json property and get the same issue, no data row in SQL table after run ClassMethod . Some one know what's problem, please help me. Here my test class:
Hi,
It has been pointed out to me that one of my applications fails to display all of the contents when displayed on an iPhone or a tablet of smaller res that a desktop screen.
Desktop..
iPhone..
The code does not change between the two views of the same page.
To maintain easy alignment and control, I have used standard <tr> and <td> <table> codes, expecting same behaviour in any browser on any platform. My guess is using <div> controls for display will make a difference, but I'd be interested if anyone has any experience of this kind and if there is a simple fix.
I'm new to Iris, trying to follow this guide ( https://community.intersystems.com/post/k-means-clustering-iris-dataset ) about using clustering. I've followed all instructions until showing the data. At that point, `dataFrame.show()` fails with `java.sql.SQLException: Access Denied`.
I'm using IRIS 2018.12.609.0 on Windows 10 Pro 64 bits. Python is 3.6.6, PySpark is 2.3.1, installed from Anaconda (Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:27:44) [MSC v.1900 64 bit (AMD64)] on win32).
I would like to know , if its safe to use %NOLOCK in insert query while doing some parallel processing in Ensemble. We will have pool size of more than 1 for a business process. The business process does an entry in internal meta data table , which will be used for some internal reporting. The same row might get updated by some other process later point of time. i could not produce any error or any issues . Looking forward to hear some opinion on this.
Developing a Full-Stack JavaScript web app with Caché requires you to bring together the right building blocks. In this third part of this article series I will show how to link our React app to our three back-ends we created in part 2.


