Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
Hi Guys,
we this format of url with port required, and my guess that if we specify port 57772 as the default port in the web server which I'm assuming that would be Apache , we don't have to specify the port in our url, so how can set a default port in Apache?
http://localhost:57772/us-serenity/MSDS.SelectApplication.UI.SelectAppl…
Thanks
Hi Community,
Can anyone explain how to apply early binding and late binding to a transformation.
Example:
I have DOB value as 12/12/2000
In transformation i need to format DOB value to 20001212-->this value i can achieve by using $E(DOB,7,10)_$E(DOB,4,5)_$E(DOB,1,2)
<assign value='source.{MSH:7}' property='target.{MSH:7}' action='set' />
But how can i apply early binding and late binding to the above Data tranformation?
I have this code:
SELECTid,room,client->name,functionary->nameFROM rooms ORDERBYidWhat i do to access the "client" name?
set rs = $SYSTEM.SQL.Execute("SELECT id,room,client->name,functionary->name FROM rooms ORDER BY id")
zw rs.%Get("name")
"return functionary name"In Interoperability productions Inbound Adapters extract and separate retrieval logic from actual payload processing, which is left to a BS.
At a high level, an adapter looks like this:
Class MyAdapter Extends Ens.InboundAdapter {
Method OnTask() As%Status
{
Set request = ..RetrieveRequest()
Set sc = ..BusinessHost.ProcessInput(request)
Set..BusinessHost.%WaitForNextCallInterval=1
Quit sc
}
}However, in many cases, RetrieveRequest retrieves a batch payload, so our adapter looks like this instead:
Class MyAdapter Extends Ens.InboundAdapter {
Method OnTask() As%Status
{Hi,
Is there a way to insert new Key/Value in an existing lookup Table via a DTL code? The only thing I found in the documentation is that we could use the following command SELECT KeyName,DataValue FROM Ens_Util.LookupTable WHERE TableName = 'myTab'. In the meantime I just created a table and used it in my DTL to insert new values and validate if the Key exist.
Regards
Integrating Cache with .net may be difficult, as we need to know both technologies and tools involved. Let’s follow the simplest possible example and see the pitfalls lurking on our way.
1. Creating .Net Assembly
.Net assembly is unit that contains compiled code and other resources.
Let’s create the simplest .Net assembly that will contain the code we want to execute.
We will use assembly of type Class Library, as we will use classes and their methods contained within. This type of assembly has .dll extension.
For this the easiest way is to use Visual Studio 2015, you can use free edition.
Visua
Currently we have an SOAP bussiness service "Calculator" in production and this "Calculator" service has following settings:
CustomPackage.Calculator (Extends EnsLib.SOAP.Service)Class DemoPackage.Caculator.CalculatorService Extends EnsLib.SOAP.Service
{
Parameter ADAPTER = "EnsLib.SOAP.InboundAdapter";
Parameter SERVICENAME = "CalculatorService";
Parameter NAMESPACE = "http://test.me/calculator";
Parameter SOAPSESSION = 1;
Method Init() [ WebMethod ]
{
IF '$G(%session)
{
$$$TRACE("%session is undefined")
}Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
⏯ Modern(izing) Full Stack Development on InterSystems IRIS @ Global Summit 2022
Hi guys,
Suppose I have a JSON string as below:
{"MessageID":"11111","save_date1":"2022-02-02 01:01:34","Sender_ID1":"esb","sent_date2":"1985-12-11 11:42:00"}
The two date variables are all formatted as ODBC date time, when I tried to import it to a %JSON.Adapter object, the date format was rejected as below
Error #9406:Unexpected format for value of field, save_date1, using class base mapping
Thus I'm trying to format all possible ODBC date time in the incoming JSON with Regular expression:
ClassMethod DateTimeFormatter(input As %String) As %String
{
Set strTgt = input
set r =
I need to split existing tables from database and put some parts of them into a new namespace. I dont know where to start, other than the installer.cls file. If you can provide clear instructions i would be greatful.
Example:
I have NAMESPACE=NEWTEST and DB
The i need to take TABLES from that DB pull specific data from them and bind it to NEWTEST
Hi Guys,
I have a scheduled task that run every 5 mins to execute a function with 10 things to do, issue that those 10 thing are processed in a loop that takes more than 7 mins to finish, so basically I would like to understand what will happen when the task will run in next 5 mins given that the 10 things to do in my function from the first run didn't finish yet, would it ignore what's left from the 10 things to do and start again or the first run or would the first run continue to execute in some job # and the new run will run in parallel with new Job#, and if that's the case would this
what is the big O of $lf, $lg, $li, $lts and list concatenation by "_"
InterSystems announces another developer preview release, as part of the developer preview program for the 2022.3. Many updates and enhancements have been added in 2022.3 and there are also brand new capabilities, such as the new FHIR SQL Builder, improvements for Columnar Storage, and support to Oracle Linux 9. Some of these features or improvements may not be available in this current developer preview.
Future preview releases are expected to be updated biweekly and we will add features as they are ready. Please share your feedback through the Developer Community so we can build a better
Hey Developers,
Do check out our list of most popular videos of the year 2022 from our InterSystems Developers YouTube Channel:
| Top 10 videos by views | ||
| № | Video | Views |
| 1 | Creating Virtual Models with InterSystems IRIS Adaptive Analytics | 76 308 |
| 2 | The Future of Care Begins with InterSystems and FHIR | 55 472 |
| 3 | What is InterSystems IRIS for Health? | 51 477 |
| 4 | Embed Business Intelligence into your Applications with InterSystems IRIS | 36 910 |
| 5 | Flexible Data Modeling with InterSystems Globals | 32 484 |
| 6 | InterSystems API Manager: Gummy Bear Factories | 19 175 |
| 7 | InterSystems Interoperability Contest: Building Sustainable Solutions | 17 105 |
| 8 | Introduction to Cubes in Business Intelligence | 16 459 |
| 9 | Welcome to the InterSystems Ideas! | 12 687 |
| 10 | InterSystems Grand Prix Contest Winners | 9658 |
We have just released a minor update to the package manager, which has been renamed from ZPM to IPM as I explained in November. It purely a bug fix release, properly interpreting ROBOCOPY return codes and fixing a regression that prevented installation of certain packages.
Get it here:
Hello!
I'm new to the system I'm working on, and I have a part of a statement that needs to grab the previous month.
....and MONTH(TX3.date_of_service)= MONTH(dateadd(mm,-1,GETDATE()))
However, when it hits January, I'm left with month 0.
Does anyone know a workaround to grab December of the previous year, while still functioning normally for the rest of the current year.
Thank you!
As you may well remember from Global Summit 2022 or the 2022.2 launch webinar, we're releasing an exciting new capability for including in your analytics solutions on InterSystems IRIS. Columnar Storage introduces an alternative way of storing your SQL table data that offers an order-of-magnitude speedup for analytical queries. First released as an experimental feature in 2022.2, the latest 2022.3 Developer Preview includes a bunch of updates we thought were worth a quick post here.
Exist some command for return the quantity row of a global?
Example:
^test(1)="aa"
^test(2)="aa"
^test(3)="aa"
^test(4)="aa"
Total rows = 4
I am familiar with $TEXT which can get you any line in the current routine provided you know the offset. For example, $T(+1) will get you the first line of the current routine at the run time. In the same vein, how do I reference the current line number/offset at the run time? Something like $T(+$CURRENTLINENUMBER) where $CURRENTLINENUMBER is not yet known to me function. The sample below would write 3 as the line number.
RTNNAME
S A=1
W $CURRENTLINENUMBER
Hi,
I've overrided the HS.FHIRServer.Storage.BuiltInOperations class, and generally all works fine except of error handling. Where can I find a server setting option to ask IRIS to return OperationOutcome if an Internal Server Error occurs? Currently it returns non-informative HTML instead of JSON/OperationOutcome.
When I'm writing code in Intersystems Studio code completion is different than in VS Code. It would be greate if VS Code would react the same way on code completion .. This happens is studio.png)
When I do this in VS Code it doesn't show the object but it shows ?? all possible items ??
.png)
does anyone have an example of using %DeepSee.Utils:%GetDimensionMembers where you want to apply certain filters
For example I have a date dimension that I want to get all of the months level but filtering for only a specific year.
Thanks
Hello everyone!
I have had problem with XML format in Cache Object Script, it was diffucult to parse XML format,
So i decided to convert XML to JSON and parse json easily
So for that i wrote code in java which convert xml to json and build package with maven
Anyone interested can download jar file and see the instructions at the link:
Hi Community,
My IRIS.DAT file is corrupted on one of my Edge productions in the development environment and as a result, I cannot start production.
I would like to recover it if there is a way to do so, please assist.
Regards,
Date range queries going too slow for you? SQL Performance got you down? I have one weird trick that might just help you out! (SQL Developers hate this!)*
If you have a class that records timestamps when the data is added, then that data will be in sequence with your IDKEY values - that is, TimeStamp1 < TimeStamp2 if and only if ID1 < ID2 for all IDs and TimeStamp values in table - then you can use this knowledge to increase performance for queries against TimeStamp ranges. Consider the following table:
Class User.TSOrder extends %Persistent
{
Property TS as %TimeStamp;
PropertyHi
Is there a way to read JSON and transform it (in DTL) by using a VDOC of this JSON (without transform it to internal message) like I can do with HL7 or XML?
If it possible, I guess that I should have a schema of the JSON so the second question is how to build a schema for JSON and load it to the IRIS?
Thanks, Ori.
Has anybody tried to write custom code to empty out queues when Interoperability shuts down? We run IRIS in Kubernetes cluster and we have compute pods scaling up and down. We have Message Bank operation to keep all messages in one place. We want to see all messages in Message Bank.
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in December 2022: