Friends , can anyone help in how to kill instances of a business process? We have searched the documentation and looked in the Production, We am not seeing how to perform this task.
Hi,
We are using Cache to generate HTML pages (complete with Javascript), which we are reading in an Android phone App's WebView.
If, when we generate HTML as follows:
<html>
<body bgcolor='red'>
Hello World
</body>
</html>
Reading this is iPad gets what you would expect, a red page with Hello World written in it.
However in Android phone, the page is both white and blank.
Hi Community,
I am using a method taht calls a Dashboard in Deepsee web from an application , but I want to know if it's possible to not showing the header, this part that have the search button, the name of the namespace, etc..
This is the method :
Method %OnAfterCreatePage() As %Status
{
//Set contratistaId = $Get(%session.Data("ContratistaId"),"")
//Set gerenciaId = $Get(%session.Data("GerenciaId"),"")
//Set filter1 = "&SETTINGS=FILTER:Gerencia.Gerencia.idGerencia."
//Set urlBase = "_DeepSee.UserPortal.DashboardViewer.
I've mapped multiple tables (UNION on mapped SQL classes) into a view, using CREATE VIEW.
Through ODBC, in Entity Framework, I am querying against that view and offering paging. The paging is implemented using IQueryable.Skip and IQueryable.Take.
Skip seems to have unexpected results, I believe due to incorrect SQL generated by the Entity Framework provider, though perhaps I've done something incorrectly. The generated SQL looks similar to this (with some bits replaced or altered for security reasons), the basic structure is unaltered.
This is a quick note on what happens when, on your CSP page, you call a cache script which returns a %Boolean and store that value in a javascript variable.
When you call a script with language="cache" and returntype="%Boolean" from a javascript script, the return value is interpreted as a string, not as a boolean.
I'm writing a SOAP client in Ensemble (2017.2.2) that is required to pass empty elements to the SOAP server in the form <xsi:type="ns:ResponsibleUser"/> where ResponsibleUser is a class that itself has no properties. I initially thought I'd found the answer with the XMLIGNORENULL parameter of XML enabled classes but this didn't make any difference for SOAP requests, only working when I wrote the XML to a file. Then I came across the XMLIGNORENULL parameter for the SOAP client class (inherited from %SOAP.
After attending the Intersystems DACH conference in Germany at the end of last November and taking part in a few workshops about containers and microservices I took the plunge and installed Docker on home Windows PC, downloaded IRIS 2018.2 preview and got that up and running. Good stuff and I gave myself a pad on the shoulder at that point.
But then it dawned on me that I couldn't edit code using Studio as Studio is Windows only and while I'm running on a Windows desktop the Docker image itself is Linux based.
Hi Community!
Here is the digest of the most popular videos on InterSystems Data Platforms we published in 2018 on InterSystems Developers YouTube Channel!
|
Top 10 Videos by Views |
|||
|
№ |
Video |
Views |
Watch Time (min) |
|
1 |
2317 |
26255 |
|
|
2 |
1164 |
6798 |
|
|
3 |
937 |
525 |
|
|
4 |
624 |
4082 |
|
|
5 |
585 |
2110 |
|
|
6 |
563 |
2518 |
|
|
7 |
559 |
4545 |
|
|
8 |
543 |
274 |
|
|
9 |
465 |
2070 |
|
|
10 |
441 |
758 |
|
And!
Please check the most popular videos by Watch Time. See the details below.
I have an sql statement that I would like to execute but I get the error
"zSearchChanges+5^MergeHyland.TypeTwoUtil.1 *KeyID"and here is my sq
l "&sql(SELECT Key INTO :KeyID FROM MergeHyland.TypeTwoDimesionalTable WHERE Key = :Key)" any ideas why Found a strange documentation block about Python bindings in Chapter 3.6 of the Caché manipulation functions with time and date. It looks like this text accidentally copied one to one of the Perl binging documentation. It's funny that the packages of functions called PTIME_STRUCTPtr, PDATE_STRUCTPtr and PTIMESTAMP_STRUCTPtr is suspicious for Python :)
On the other hand, nothing is said about the functions parse_time, parse_date, parse_timestamp, which are present in /dev/python/intersys/pythonbind.py ahhh!
Has anyone encountered this problem?
I would like to know if there is a built in function that checks a value in the rule editor to see if it is numeric.
I loaded 2017.2 onto a windows desktop that I was going to use for testing. I need to now uninstall 2017.2 but when I do I get a ERROR saying it can not find the INSTANCE name, when there is HEALTHSHARE defined.


Has anyone else had this issue? I would like to uninstall this version and start over from scratch without having to re-image my machine.
Thanks
Scott
Hi all,
Does anyone knows if there is a limit per second adding messages to an Ensemble queue? I have a Business Service working and sending async requests to a Business Process, but I can't reach no more than 60-70 messages queued per second.
I've done several tests and same behavior seems to happen with all our productions. So I was wondering if there is a parameter anywhere to maximize the number of requests that can be send to a queue per second.
I was wondering if anyone has ever created a unit test which would run testing a mac routine (old fashion), via
Hi Community!
New Badges're already on Global Masters Advocacy Hub!
We're happy to announce that this year we again introduced three annual badges on Global Masters Advocacy Hub to let you remember how much you contributed to Developer Community in 2018. Here they are:
✔ DC Best-Selling Author 2018
✔ DC Expert 2018
✔ DC Opinion Leader 2018

Let's take a closer look at the DC Wall of Fame 2018 and greet everyone with big applause!
This code snippet sends an XML request to a server and saves the response to a file. The class method "test" runs the code:
Class objectscript.postXML
{
classmethod test() {
Set HTTPRequest = ##class(%Net.HttpRequest).%New()
Set HTTPRequest.ContentType = "text/xml"
Set HTTPRequest.NoDefaultContentCharset = 1
Set HTTPRequest.Location = "ITOMCZ"
Set HTTPRequest.Server = "wph.foactive.com"
Do HTTPRequest.RemoveHeader("User-Agent")
Do HTTPRequest.RemoveHeader("Accept-Encoding")
Do HTTPRequest.RemoveHeader("Connection")
Do HTTPRequest.SetHeader("Expect","100-continue")
Set RequestXML = ##class(%Library.File).%New("c:\test.xml")
Do RequestXML.Open("RS")
Do HTTPRequest.EntityBody.CopyFrom(RequestXML)
Do RequestXML.%Close()
Do HTTPRequest.Post(HTTPRequest.Location)
Do $System.OBJ.Dump(HTTPRequest)
Do $System.OBJ.Dump(HTTPRequest.HttpResponse)
Write HTTPRequest.HttpResponse.Data.Size
Write HTTPRequest.ContentLength
Set ResponseStream = ##class(%Stream.FileBinary).%New()
// Second part is typically the file extension, i.e.: application/pdf -> pdf
Set FileType = $Piece(HTTPRequest.HttpResponse.GetHeader("CONTENT-TYPE"),"/",2)
Set ResponseStream.Filename = "C:\test."_FileType
Write ResponseStream.CopyFrom(HTTPRequest.HttpResponse.Data)
Write ResponseStream.%Save()
Do ResponseStream.%Close()
}
}
Here's a link to the code on GitHub
This is a posting about a particular feature of Caché which I find useful but is probably not well known or used. I am referring to the feature of Language Extensions.
This feature allows you to extend the commands, special variables and functions available in Caché Object Script with commands, special variables and functions of your own. This functionality also applies to other languages the Caché supports at the server, including Caché Basic and Multivalue Basic.
Why would I need or want to add new commands ?
There are a number of use cases.
This post is intended to guide you through the new JSON capabilities that we introduced in Caché 2016.1. JSON has emerged to a serialization format used in many places. The web started it, but nowadays it is utilized everywhere. We've got plenty to cover, so let's get started.
Hi guys,
I have a customer trying to extract data from Hive. I've tried to use Data migration to migrate a table into IRIS with JDBC driver. But the migration task always fails as below
Then I tried to create a link table, the task fails too with the following error:

I've tried several ID combinations such as rowkey+userid, userid + datatime, the results are all errors caused by stream property.
The source table are composed of only Hive string fields.I wonder how may I migrate Hive tables into IRIS. Thanks.
Caché 2018.1.1 and Ensemble 2018.1.1 maintenance releases are now available!
Full product installation kits can be downloaded from the WRC Software Distribution site.
For information about the corrections in this release, refer to the release notes.
This release is supported on the same platforms as Caché and Ensemble 2018.1. You can see details in this Supported Platforms document.
I created the Process to extract the required data from ADT message to a Dynamic Object. I wanted to send the JSON stream to EnsLib.File.PassthroughOperation operation and generate a file with the content of JSON stream.
Here are the codes for Process:
set oMetadata = ... /// metadata is from ADT message which is dynamic object
set jsonRequest = ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(oMetadata)
set tSC = .SendRequestAsync(.
Hi Team,
I am interesting to learn InterSystems IRIS data platform. How to I download and install the InterSystems IRIS instance and sandbox. So Please give the instruction for how to I use it.
Thanks & Regards,
Ponnumani G.
I connected from InterSystems Cache to devices connected via RS232 (commonly known as COM-port).
Can the same be done with devices connected via RS422/RS485 interfaces?
Hello,
I am using a French version of Ensemble, so the terminologies will not be properly translated.
What does "_BusinessDuplex:????.?????????" mean in the connector names for the queue?
There are situations where we want to provide immediate feed back to inbound Web Service that a particular business operation is not running (status <> "running"). We don't even want to queue up the message. We just want the webservice to respond with an error stating the business operation is down.
Hi,
Is there any COS command could kill all the globals given the namespace?
Thanks.
I am just curious if someone has used this service to send Alert emails through AWS / Ensemble
I have verified 2 email ids - One to send. One to receive
Have also configured an access key for the email smtp server and added the credential to ensemble
but I get this error
ERROR #6033: Error response to SMTP MAIL FROM: 530 Authentication required.
email-smtp.us-east-1.amazonaws.com
25
So my first opinion is the authentication is not happening via the credentials settings. It needs to be passed in a different way
If anyone has done it before. Do let me know
It's Ok I figured it out.
Hi Community!
New Badges're already on Global Masters Advocacy Hub!
We're happy to announce that this year we again introduced three annual badges on Global Masters Advocacy Hub to let you remember how much you contributed to Developer Community in 2018. Here they are:
✔ DC Best-Selling Author 2018
✔ DC Expert 2018
✔ DC Opinion Leader 2018

Let's take a closer look at the DC Wall of Fame 2018 and greet everyone with big applause!
Hi everybody,
I am looking for a way to detimerine if a certain namespace is ensemble enabled. I´ve seen such a solution somewhere in the past but can´t find it anymore. Is there a simplistic api around for that?
My second question is in context of log some information to the console log file with a certain error level. Also, I´ve seen this in the past and can´t find it agian. I guess there was some kind of simple api to use for this.
Thank you for your help.
best regards,
sebastian
