Hello,
Since version 1.93 of VS Code, the “import and compile” process has been very slow (more than an hour).
Have you encountered this issue and do you know how to resolve it?
Thank you,
Maxime
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
Hello,
Since version 1.93 of VS Code, the “import and compile” process has been very slow (more than an hour).
Have you encountered this issue and do you know how to resolve it?
Thank you,
Maxime
I try to add custom setting in BPL process by adding parameter SETTINGS = "Scope" and property Scope As %String. But how do I access instance property in BPL process? I get error that method or property Scope is not found.
Hello
I am writing a simple routing interface that picks up files from a share using File.InboundAdapter.
I am then using PassthroughService and passing it to a router.
The Router is using Ens.StreamContainer to then get the filename. I have then used contains to pick out part of the filename.
and then pass it to another simple passthrough operation to another share.
Hi Guys,
I'm using the below simple Get Webservice to return a JSON file, its working but the response is actually of Text type not JSON Type
{ S response="{""Land"""_":"_""""_cnt1_""",""Home"""_":"_""""_cnt2_"""}"
// set dataObj=##class(%DynamicObject).%FromJSON(response.data)
//set response.data = dataObj
//W response.%ToJSON()
//set response.data = {}.%FromJSON(response.data)
//set response.data = {}.%FromJSON(response.data)
W response
Quit $$$OK
}
This is the response that I'm getting in Postman
.png)
But it says type is text not JSON
.png)
Thanks
We are doing healthcare interface development.
Developers have Ensemble installed locally on their laptops - code will be developed locally then deployed to integration, test/UAT and ultimately production servers in due course.
One of the other applications we are developing around happens to utilise an Iris desktop client to a remote Iris server. We want to have the application available on the developers laptops alongside the local Ensemble instance.
✅ It appears that if we install their desktop client then install our local Ensemble server, things work.
Hi everyone,
In this article, I’m excited to introduce CodeInspector, a tool designed to simplify code validation by applying custom rules tailored to your development requirements. Whether you're managing a large codebase or working in an agile environment, CodeInspector helps ensure code quality by offering flexibility and adaptability to specific project needs.
The idea behind CodeInspector was to build a tool that is both easy to implement and adaptable to different business contexts.
This story has followed me for more than 20 years.
In the early days of ObjectScript, the volume of $Functions was limited.
You had to write it as part of your program.
But the functionality was often implemented. It just had no name.
To use it, you had "system" calls using $ZU() functions. See Reference
Over time most $ZU() became deprecated and replaced by "official" $Functions.
But how to find then over a thousand lines of code written over decades
by an uncounted number of programmers that were gone with the wind.
Studio was something fresh and not so performant.
Hi ,
I am sending my DTL response (which is an xml stream) to an FTP out location.
My XML stream has CRLF , but after sending FTP'ing out , it displays as LF
before writing it to FTP
At FTP out location
.png)
What Chatset will do it ? Currently Charset is set as Binary.
Appreciate quick response.
See the new team members in action:
Try them online for yourself:
https://gitpod.io#snapshot/b31bdf9c-4657-402a-a2d
Get it from the Extensions view inside VS Code, or here in Marketplace.
Vote for it here in the current Developer Tools 2024 contest (voting ends: 29 Sep, 2024, 11:59:59 PM EST).
Discuss it below.
Most of all, enjoy DX Jetpack with its added booster rockets!
Hi
I was wondering whether there are any best practices or guidance around converting a HL7 message in to XML stream which will then be delivered to an end-point. Any help would be much appreciated.
Kind Regards,
Salma
Hi Guys,
I've created a webservice where a third party web application that can communicate with Ensemble via webservices to post and get data in from of JSON, first call is a post call to login with user/password and Ensemble responds with success or failure than the following get calls, but I've been advised that I also need to return a Cookie to control the exchange and the session for a specific user, I'm not familiar with Cookie so any suggestions, how can I create a an authentication cookie and do i need to add it to my next Get calls ?
Thanks
I have below method , which receives a PDF ; this method throws error for a PDF file of 3MB size
<MAXSTRING>zBase64Encode+9 -- logged as '-' number - @' set encodedData = $system.Encryption.Base64Encode(content)'
How do I fix this.
----------------
ClassMethod Base64Encode(pStream As %Stream) As %Stream
{
set tSC = $$$OK
set tSC = pStream.Rewind()
s pEncoded=##class(%Stream.GlobalCharacter).%New()
while 'pStream.AtEnd {
Set tLen = pStream.Size
set content = pStream.Read(.tLen)
set encodedData = $system.Encryption.
Hi All ,
I would like to add session ID to the fileName in an FTP out pass thru business operation.
How can I do that ?
<Setting Target="Host" Name="Filename">SessionID_%f_%Q.txt</Setting>
I am converting a HL7 msg to xml and one of the field is as below -
DTL = <assign value='"Message"' property='target.{req.ID.scope}' action='set' />
DTL response = <ID scope='Message'>3</ID>
my xsd has -
<xsd:element name="ID">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SimpleContent" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="scope"/>
</xsd:complexType>
</xsd:element>
I would like to get it DTL response as = <ID scope="Message">3</ID>
Message in double quotes as - "Message"
Is there a way to get xml attribute in double quotes ? How can I do that ?
Hi Guys,
I'm using the following to display JSON content in an areatextbox, but I would like to change a value in my JSON before displaying it in my areabox?
say for example my JSON string as below and would like to change Type value, I thought of converting the JSON to object
(
Set the value of Type : list.
Hi,
Is there a way to set the SettingSchedule on a EnsLib.File.PassthroughService at 9:00 am to 9:30 am but only end of the month?
Hello,
Since version 2.12.6 of "Intersystems ObjectScript" extension in VS Code, the compile process force the EOF automatically to LF.
Have you encountered this issue and do you know how to resolve it?
Thank you,
Maxime
I receive a number as input
length = ln = 7
if input = 25
I need to add zeros to make make it as - 0000025 (a total length of ln)
if input = 9
I need to add zeros to make make it as - 0000009 (a total length ofln)
We need to generate a PDF file from an HL7 message as it passes through an Ensemble production. Looking for examples, tutorials, documentation aligned to our scenario.
We are currently using Ensemble (so can't use InterSystems Reports at the moment). Thinking Zen reports...
We can get from HL7 to XML OK, following Introduction to InterSystems Health Connect - YouTube (see c.1:11:00-1:13:00)
We can follow the Zen tutorials to a point - but they mostly get the data being presented in the report from SQL queries rather than from an in-bound XML
Is there a difference in outcome between the two screengrabs below?
In both cases, when certain conditions are met, a transformation is called and the output sent on to two targets. In the first case we surmise the transformation is called twice, and the output of the first run sent to the first target, the output of the second run to the second target. In the second case we surmise the transformation is called once, and the output duplicated and sent to the two targets.
Hi guys,
we converted from Ensemble 2014 to 2018 and now getting the attached error which looks like Manage Method don't exist anymore, has it been replaced by a new one? .png)
.png)
Thanks
IRIS Health Monitor is part of System Monitor (see here).
The intention is to further process the captured sensor reading in order to identify the "health" of a system by checking the sensor reading values against pre-defined Base, Min and Max absolute values, and alert accordingly. Additionally, instead of absolute values, you can create Charts (which can be different for different periods of a day), that contain a learned minimum and maximum value after a time spent by the system (at least 24 hours) analysing sensor readings.
The sensor readings included in Health Monitor are defined here.
..AppendTimestamp in FTP
what are the different values that can be passed to ..AppendTimestamp in FTP ?
Can we pass dynamic values to it ? if so how can we do that ?
During testing the added Multi-Namespace feature I met a challenge
that required intervention. This simple request created 1000 lines of output.
USER>do ^rcc.find
----------------
enter search string [$ZU] <blank> to exit:
Verbose? (0,1) [0]:
Force UpperCase? (1,0) [1]:
enter code type (CLS,MAC,INT,INC,ALL) [ALL]:
select namespace (ALL,%SYS,DOCBOOK,ENSDEMO,ENSEMBLE,SAMPLES,USER) [USER]: all
I have an SQL table as below (columns - ID and Value)
I will get an ID number (first column) as an input from FTP inbound , and after that I have to query table taking ID as an input to get all the values for the ID
as -
if ID = 11 ; QRY output = aaa,bbb
if ID = 22 ; QRY output = xxx,yyy,zzz
can someone help me with query
ID Value
----------
11 aaa
22 xxx
22 yyy
11 bbb
22 zzz
-----------
Hello every one, here in our company we are trying to develop a tool to help us in our "Code Review" that today is completely done for another developer.
So I need to develope a tool that reads a class/routine (Already done) and identify if in the current line there is some abbreviated command, that is against our policy of codification, for example:
s variable = "test"
d ..SomeMethod()
So in this cases I want to warn the original developer that the code has parts that need to change the "s" to "Set" and de "d" to
Is it possible to transform selected fields from HL7 message to | separated string or stream that can be inserted to a DB using Record Map?
I can START and STOP a business process via its Schedule setting.
Is it possible to change the value of another Setting in an analogous way?
I can imagine a SettingSchedule that could look like
action:YYYY-MM-DDThh:mm:ss[,action:YYYY-MM-DDThh:mm:ss]
But rather than just START or STOP, action could be "SET Setting = value", overriding whatever the normal value is.
Is there an existing way of achieving this kind of functionality?
I've got a business process that triggers from a scheduled task, and sends documents to a downstream system according to business requirements.
I'm trying to convert date - 2023-09-28T20:35:41Z to BST/GMT format. I tried with $ZDT($ZDTH("2023-09-28T20:35:41Z",-2),8,1) but it's giving the output as '19700101 01:33:43' and looks link the date format in $ZDTH specified is wrong. Any inputs or solution would be appreciated.
Hi,
I am using this "$ZDATETIME($h,3,1,3)" and getting response as 2024-09-03 12:07:45.000
But I need proper values at the end instead of zeros (000)
Something like below -
2024-09-03 12:07:45.658