Hi Community!
We are proud to annouce our latest release of CachéQuality to help you to find and solve coding errors, refactoring, help to follow you coding guidelines, etc. You can check the latest release notes here.
Hi Community!
We are proud to annouce our latest release of CachéQuality to help you to find and solve coding errors, refactoring, help to follow you coding guidelines, etc. You can check the latest release notes here.
Trying to get an outbound operation working using the EnsLib.REST.Operation class but having problems
from the Operation
Class LPCH.FSE.DictionaryItems.All.Operation Extends EnsLib.REST.Operation
{
Parameter ADAPTER = "EnsLib.HTTP.OutboundAdapter";
Property Adapter As EnsLib.HTTP.OutboundAdapter;
Parameter INVOCATION = "Queue";
Method ProcessTaskEX(pRequest As Ens.Request, Output pResponse As Ens.Response As %Status
{
// Get URL
Set tURL=..Adapter.URL
// Execute the call
Set tSC=..Adapter.PostURL(tURL,.tHttpResponse)
//Return the response
If $$$ISERR(tSC)&&$I
Hi, Community!
This is a digest of the Developer Community postings in August 2018.
Most viewed
A sneak peek of Global Summit 2018 313
Global Summit 2018: New Post-Summit Symposium on Artificial Intelligence 151
Json request 142
Routine to Parse Options in Args Array 117
CachéQuality updates and Roadmap 103
Angular4 , webserver , deployment 99
Translate a number to text (II) 90
Continuous Delivery of your InterSystems solution using GitLab - Part IX: Container architecture 90
Find diff between two ObjectScript lists 79
The way to launch Jupyter Notebook + Apache Spark + InterSystems IRIS 76
Triggering DeepSee synchronization when source class properties reference a different class 60
The same piece of data never throws this error on other operations. I am getting this error on one always .
The same SDA container never throws error on other operation.
ERROR #6901: XSLT XML Transformer Error: SAXParseException: invalid character 0x1C (Occurred in an unknown entity)
Set xslt=##class(%Dictionary.XDataDefinition).%OpenId(..%ClassName(1)_"||Xmethod",-1,.tStatus)
$$$ThrowOnError(tStatus)
Set tStatus= ##class(%XML.XSLT.Transformer).TransformStream(myStream,xslt.Data,.OpStream)
$$$ThrowOnError(tStatus)
XData Xmethod
{
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Trans
For Global Summit 2016, I set out to showcase a Reference Architecture I had been working on for a National Provider Directory solution with State Level Instances and a National Instance all running HealthShare Provider Directory and all running on AWS Infrastructure.
In short, I wanted to highlight:
This is the third article (see Part 1 and Part 2) where I continue to introduce you to the internal structure of Caché databases. This time, I will tell you a few interesting things and explain how my Caché Blocks Explorer project can help make your work more productive.
Hi everyone!
Someone already try to use jQuery Mask Plugin on cache?
I'm trying but unsuccessfully.
First I created a new ambient on my own machine to developer in html and all works.
So, I exported the library's js (as jss) to a new Application (stylesheet /js /css) and created too a new Zen Page .cls calling this Application style.
On Zen Page
Parameter APPLICATION = "Multi.Estilo";
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen" ]
{
<page xmlns="http://www.intersystems.com/zen" title="">
<vgroup align="center" cellStyle="padding: 4px;">
<text id="Data" controlClass=
Hello,
Currently, I'm working with a Java Gateway, and I have the following problem. When importing a class into IRIS, which uses methods from a generic class, I can not find the general methods I need. I'm talking about the test2 method from the class test. How can I import the java method that returns a generic?
Let's say I have a list structure:
set list = $lb("stri,ng", $c(0), 2)I want to replace all $c(0) elements with empty elements, so my list would look like:
set list = $lb("stri,ng", , 2)What's the fastest way to do that?
Hi community,
I've created a BS that uses FTP InboundAdapter. It works, read the file and process it.
The problem is when there not any file in the FTP folder, it raises the following error:
ERROR <Ens>ErrFTPListFailed: FTP: error en List para *.csv (mensaje='No-transfer-time exceeded. Closing control connection.',código=421)
I think it is something about the configuration, but I don't find what is the problem.

Any idea?
Best regards,
Francisco Lopez
Do you want to simplify your user management by using Windows domain accounts? When you add LDAP integration to your system, you can:
In Active Directory Integration with LDAP, a live webinar (June 21, 11:00 a.m. EDT) Katherine Reid, Senior Support Specialist at InterSystems, will discuss the main options for integrating your user accounts with your domain, including delegated authentication and LDAP authentication.
Katherine will also walk through how you mig
I have a list
set list=$lb(1,$c(0),2)
How do I replace $c(0) with an empty element?
My list should look like this:
set list=$lb(1,,2)
I tried using $list but it either replaces the element with an empty string:
set $list(list,2)="" zw list
Resulting in:
list=$lb(1,"",2)
Or removes the element altogether:
set $list(list,2,2)="" zw list
Resulting in:
list=$lb(1,2)
Hi,
Does anyone know why the SYNTAX error appears?
Thanks,
Tomer.
Hello community!
At the global summit in Phoenix, we (Lite Solutions) will be presenting a tool performing static code analysis on ObjectScript source files. You can see it in action at this URL:
Technically, the tool is a language plugin over SonarQube (http://sonarqube.org) and consists of three main parts:
The third point is where we kindly request for feedback.
Explanation: issues are the result of rules being triggered by inspecting the source files. But while we do have some experience with the l
Hello!
How to delete archieve file, i'm used ##Class(%File).Delete(fileNamewithPath), but this method doesn't help,
Anybody know, how to delete file exactly?
Is there a way to lock at the record level? I know that you can lock at the table level:
&sql(UNLOCK mytest IN EXCLUSIVE MODE)
but am unable to find a way to lock just at the record/row level.
Would this also affect a SELECT statement done on the record?
I want to call java method and return $lb structure from it.
JDBC jar seems to contain relevant class - com.intersys.jdbc.CacheListBuilder, but so far I only managed to return a string that looks like a list.
Here's my java code:
package isc.poi;
import com.intersys.jdbc.CacheListBuilder;
import java.sql.SQLException;
public class Test {
public static String Test() throws SQLException
{
CacheListBuilder list = new CacheListBuilder("UTF8");
list.set(123);
list.set(456);
list.set("\"abc\"");
return list.toString();
}
}An
Hi!
I have the following script to install caché silently:
Does anyone have any experience with getting, unfortunately, an older version of Cache to authenticate via SMTP to send email? I have verified that the settings are set up properly on the mailbox as I have successfully sent an email from a LAMP server, which comes from the same IP address.
If you have any thoughts, I would greatly appreciate it.
This is the error I receive
ERROR #6034: SMTP server connection failed during MAIL FROM command: <READ>zSend+105^%Net.SMTP.1.
when I run the following.
S() Public {
s server=##class(%Net.SMTP).%New()
s server.smtpserver="smtp.office365.com"
s server.port="58
Hello,
while sending JSON request :
Set Object = ##class(%ZEN.proxyObject).%New()
Set Object.iin="123132132"
Set Object.firstName=name
Set Object.lastName=surname
Set Object.middleName=middlename
Set Object.birthDate=birthDate
Set Object.contractType="Z001"
set sc = ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(Object)
Set sc = ##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(httpRequest.EntityBody, Object)
Set sc = httpRequest.Post("", 2)
receive error bellow:
"Corrupt body: json: cannot unmarshal number into Go struct field CheckContractRequest.iin of type string".
how i can solv
Hello Everyone,
I have a healthshare web application with production, I try to make a field in basic setting of business service, and I would like to set a string to DISPLAYLIST and VALUELIST of that Property (string maked by query to sql table). I code the same here but it's syntax incorrect in DISPLAYLIST = GetTypeDisplay(), VALUELIST = GetTypeValue(). Someone know a best way to solved my problem? Thanks so much!
Class Demo.RegDataService Extends Ens.BusinessService
{
Property xmlTagName As %String(DISPLAYLIST = ",EDocument", VALUELIST = ",Demo.EDocument");
Property PrdType As %Stri(Originally posted by Timur Safin on Intersystems CODE, 3/2/15) This code snippet is a routine that parses options saved in an arguments array. The subroutine "test" runs the code:
Hello Everyone,
I was wondering about the best way to initialize several variables, or several lists of variables.
Would it be better to write it like:
set (var1, var2, var3) = "value1" set (var4, var5) = "value2" set (var6,var7,var8) = "value3"
or
set var1="value1", var2="value1", var3="value1", var4="value2", var5="value2", var6="value3", var7="value3", var8="value3"
or
set var1 = "value1" set var2 = "value1" set var3 = "value1" set var4 = "value2" set var5 = "value2" set var6 = "value3" set var7 = "value3" set var8 = "value3"
When comparing the speed of each metho
We are running old VB code on a Windows 2012 R2 server.
In the last month the following error has been happening.
Failure to create CacheObjectConnection.
Failure in GetClassInfo for CacheObjectConnection
Factory not connected to server
Send to Cache' failed
Neither the the code or Cache instance has not changed.
Cache 2017.1.1.111.0
The code:
Dim bRtn As Boolean
Dim objCacheObject As Object
cntr = 1Dim factory = New CacheObject.Factory
Try
bRtn = factory.Connect(ConnStr)
objCacheObject = factory.Static("CacheObjectConnec
Hello. I'm wondering if anyone has experienced a similar error and if so, if they can point me in the right direction. I have a client who is logging into Epic and is using the Epic SAML to single sign on to our HealthShare system. We saw that it authenticated her through (from Epic to HealthShare) but when it attempted to open up the patient, we received the following Java error. When she clicks OK, it keeps coming back. Also, she is accessing Epic through a Citrix connection (if that helps with anything). Here is the error below.
Thanks!
The source class of a DeepSee cube has a property referencing a different class:
Class ClassA Extends %Persistent {
Property P1 As ClassB;
}When records in class B change, the ^OBJ.DSTIME global for Class A will not be automatically updated. This means that synchronization of cubes based on source class A will not reflect the changes occurred to property P1.
This post will help you determine the best way to achieve synchronization of properties referencing a different class
Hi All!
Good news. We've just posted sessions for the Solution Developers Conference, including times, locations, speakers, and descriptions. Please take a look.
Hi All,
Who, in the age of digital transformation, doesn't want to reap more benefits out of any process, procedure, and resource we have? At InterSystems Solution Developers Conference (part of InterSystems Global Summit 2018) we will have sessions on how to improve the way applications are built with modern tools like Docker containers, Gitlab, Circle CI, Travis, etc., how continuous integration and continuous delivery (CI/CD) processes can help us deliver more value quickly to the end-user, and how we can start thinking about modernizing traditional applications.

Hi Community!
Please welcome a new video on InterSystems Developers YouTube:
Deploying Shards Using the API
I have the following class definitions:
Class PET.RadioTracer Extends %Persistent
{
Property TracerName As %String;
}
Class PET.Injection Extends %SerialObject
{
Property RadioTracer As RadioTracer;
}
Class PET.ImageStudy Extends %Persistent
{
Property Injection As array Of Injection;
}
Class PET.ImageFile Extends %Persistent
{
Relationship Study As PET.ImageStudy [ Cardinality = parent, Inverse = ImageFiles ];
Property InjKey As %String;
}I can refer to the TracerName for a given ImageFile object with the following syntax:
obj.Study.Injection.GetAt(obj.InjKey).RadioTracer.Tr