Hi,
Just wondered if anyone has either implemented CSP compression using ZLIB or IIS compression for csp pages? Any advice or issues encountered?
Thanks,
Gary
Hi,
Just wondered if anyone has either implemented CSP compression using ZLIB or IIS compression for csp pages? Any advice or issues encountered?
Thanks,
Gary
I tryinfg to alter a column definition data type with a user that seems that doesnt have priviledges, but the user has this priviliedge.
Documentation:
Privileges and Locking
The ALTER TABLE command is a privileged operation. Prior to using ALTER TABLE it is necessary for your process to have either %ALTER_TABLE administrative privilege or an %ALTER object privilege for the specified table. Failing to do so results in an SQLCODE -99 error (Privilege Violation). You can determine if the current user has %ALTER privilege by invoking the %CHECKPRIV command. You can determine if a specified user h
Hi all.
I was wondering if anyone knew if the purge tasks in Ensemble consider a day to be midnight to midnight, or 24 hours from the time of running the task?
Thanks!
Hi Community!
I have very good news for the developers, who are using GitHub to host projects with InterSystems ObjectScript. GitHub introduced the support of InterSystems ObjectScript this week!
How does it work?
Now all the .cls files in your repository are considered as InterSystems ObjectScript and highlighted according to the language rules of ObjectScript. For example WebTerminal, Samples-Data.
The 2019.2 version of InterSystems IRIS for Health is now Generally Available!
Container images for IRIS for Health are available via the WRC's download site. The build number for these releases is 2019.2.0.107.0.
InterSystems IRIS for Health 2019.2 is the first CD (continuous delivery) release of IRIS for Health. It has many new capabilities including:
HI
How to force a specific index in SQL?
During testing your code you are often confronted with the need to examine
the actual content of an object. Either using ZWRITE or $system.OBJ.Dump()
you get a picture of simple properties as "--- attribute values ---"
while "--- swizzled references ---" are more confusing than informative
and with "--- calculated references ---" you are just left in the lurch.
This small helper class allows you to dump an object to terminal or
e.g in background to some stream for later review.
By default, you see just properties with content,
DO ##class(Z.obj).dumpToDevice(obj)
or if explicitly requested a
I have a custom process that is parsing HL7 and inserting it into a table. Periodically the inserts fail with # due to error: ERROR #5803: Failed to acquire exclusive lock on instance of....
Traditional databases would wait until the lock is removed then do the insert, but cache fails. I'm sure it's my coding approach.
How can I work around this? A Try/Catch loop?
Thanks in advance.
hi, i am new to Studio and also new to objectscript, but i am not new to programming and
want to implement some synonymfunctions e.g. LOCATE should be used as InStr (.. like in much languages ;o)
more generally spoken, i want to implement a library for my string routines BUT of course i want an need autocomplete.
defining a macro $$$InStr does no autocomplete when i type $$$In<CTRL-SPACE>
example: my lib is called STRINGS and the functions are: InString, Split, ...
when i type STRINGS. it should autocomplete
i also don't want to write ##class(xxxxx.yyyyy).InString() every time.
so how ca
I have one persistent, xml-enabled class.
I need to convert objects of this class to XML.
However I need to project each object in different ways (depending on
where I send it), for example:
Is there a way to do that with XML Adaptor?
I have a FullBackup.cbk file generated by Caché Backup Online.This file has many databases.
Is there a Caché feature to restore only one database?
I've tried EXTSELCT^DBREST(), but this routine runs through all databases (skipping the unselected).This process becomes slow, lasting 1 day to finalize the process.
Hi Community!
This is the update on what are the new applications submitted on OpenExchange in May 2019
New Applications
Background Jobs over ECP published by @Robert Cemper
An internal variant of a PIPE
Simple Remote Server Control published by @Robert Cemper
Simple monitoring of several servers at a lightweight level
iris-nodejs-101 published by @David Reche
This application demo a REST API build in node.js able to receive HTTP GET, POST and DELETE of custom JSON
Sea Battle published by @Evgeny Shvarov
Simple terminal game an approach to "Sea Battle". Example of simple ObjectScript method calls and terminal interaction The code is an ObjectScript remake of Python example in CodeAcademy
PHP-module for Caché published by @Sergey Kamenev
This is PHP-module for InterSystems Caché. In current moment module works only locally, on same server where running Caché. Module has excelence speed because uses c-callin interface for access to DB.
PHP-module for IRIS published by @Sergey Kamenev
This is PHP-module for InterSystems IRIS. In current moment module works only locally, on same server where running IRIS or Caché. Module has excelence speed because uses c-callin interface for access to DB.
TSQL Checkers v.1.0.0 published by @Anton Umnikov
Demonstration of TSQL support in InterSystems IRIS. Checkers game
isclib v.2.1.0 published by @Kyle Michel
Go library for interacting with InterSystems Corporation products like Cache and Ensemble
Hello,
I assume there is a simple explanation for this, but I do get <OBJECT DISPATCH> error, when I am trying to set a global to a value.
My example is huge, but I reproduced it using Samples namespace:
First I delete the Title from ##class(Cinema.Film) - 3
Secondly:
SAMPLES>s ref=##class(Cinema.Film).%OpenId(3)
SAMPLES>w ref.Title
SAMPLES>set ^AK(1)=$G(ref.Title)
SET ^AK(1)=$G(ref.Title)
^
<OBJECT DISPATCH> *Property 'Title' in class 'Cinema.Film' must be MultiDimensional
$D also does not work, same error, however this works fine: if ref.Title S ^AK(1)=ref.Title
I am almost 100 % certain it's workin
InterSystems has corrected a defect that can result in application data integrity issues following an abnormal shutdown.
This problem exists for:
The defect breaks the journal sync guarantee that all updates in the journal buffer have been written to the journal file. The failure is silent: it does not generate an error message and there is no entry about it in any log file.
Speci
Has anyone done any integration with Kafka, especially prior to IRIS? If yes what was your experience such as specific pain points to be overcome.
David
Earlier, I've written about command pipes.
This is the internal variant of a PIPE.
To make this more tangible and visible for you, I prepared a small example
The scenario is to run a monitoring process that receives
input from an unknown number of sensors. (Could be Lab equipment or similar.)
The monitor should not poll its sensors nor run
in a hang loop to scan a common global and work independently of any disk access.
To try it log into a terminal
. DO ##class(IJC.Demo).%Start()
The Highlander principle applies for this example: There can only be one
Next, open a new terminal and
Hi Community!
Recently we added polls in DC functionality.
How to add it?
Create a usual post. Go below to the bottom of post settings and click on

Then fill the question and options for the poll. See the animated gif:

Hey Community!
As you know, InterSystems Developer Community is always evolving. We have a number of different pages in popular social networks. And now we're more than happy to launch the InterSystems Developer Community on LinkedIn! Please welcome:
1.Developer Community Page on LinkedIn: to stay in the know about articles, answers, announcements, hot discussions, best practices based on InterSystems technology - so good if you are an active user of LinkedIn!
2. InterSystems Developers Group on LinkedIn: to network with other developers.
Imagine that you want to invite a high-pro DC member to your event, or you have a question or need advice... How to contact him/her? Now it's easy! Go to DC LinkedIn Group and send a direct message!
I'm looking to see there is a way to create a holding queue in Ensemble. I have a ORM message that is coming into the Engine. I want to convert that message into a ADT^A04. Then send the ADT first and the Original ORM message behind it. How can I hold the Original ORM before I send the ADT message before it?
I use rest service on Health Connect and will has utilized HL7 FHIR for get information of external database. But i don't find exemplo in oficial documentation.
Someone to utilize the HL7 FHIR for info request in to external database?
Hi Community!
We have a new release of DC. What's cool?
1. Polls
2. Tag tree
3. Better site performance
4. Email digests: better monthly digest design and weekly email digest is introduced
And many more.
Hi everybody,
after importing an XML schema from xsd into Ensemble I´d like to add it to my Studio-Project but can´t find the imported schema in the namespace view. For example when working with custom hl7 schema, I could easyly add it to my project under namespace view schemaname.hl7. Is this also possible with xml schema? If so where can I find it on an component level?
kind regards,
sebastian
Hi,
I would like to use EnsLib.HL7.Operation.HTTPOperation for sending HL7 messages via HTTP. It sends the Content-Type as "text/html"
I would like to change it to something else, say "text/plain". I cannot see a way to do it.
I have now written a custom Operation (based on EnsLib.HTTP.OutboundAdapter) and modifying the Content-Type while POSTing using SendFormDataArray(). It's bit frustrating to parse the response etc.,
I would rather prefer to use HTTPOperation of HL7. Can somebody help?
Thanks.
Hi guys
I have always struggled with this, tended to use workarounds but now decided to hear from more experienced people if this is something I am misunderstanding.
I need to basically add a "send" within the ruleset number 2, but without a need to associate a "when" node to it. Is this possible? What I basically need is to forward messages with status 160 to "ManageEDM" and also regardless of the status, it should get sent to "ManageRIS"
So what I need is the "send" to be present where the green arrow points, not where the red arrow points. If I click on rule number 2 and try to add the "send",
.png)
Are there any third party tools that have native plugins for monitoring Cache?
Hello all,
I have a Recordset object which contains data from a table "XYZ".
Currently i use this object to extract data using %Get(COL1,COL2...) in a loop and than pass it to a function which inserts the data into another dynamically created Table "ABC" for each record. This takes a lot of time when 100's of records.
Is there a way i can directly copy a RecordSet to a dynamic table without looping through..?
Something like copy Recordset (COL1,COL2..)--> "ABC"
Thanks,
Jimmy
Say I have a property in a persistent class that stores list of colours and I would like to query that field and return a list and be able to loop that list to get individual colours how will l go about achieving this I have tried something like this but its not working as expected
&sql(SELECT colour INTO :colourList FROM favouritecolours)
While (SQLCODE = 0)
{
for i=1:1:$LENGTH($P(colourList,","))
{
set fvalue=$P(colourList,",",i)
write "the first"_fvalue,i,
}
}
the query returns colours but its just a string no delimiter eg;
green red blue
I have tried
I used Cache 2016.
I used the following statement to sort after paging, but suggested an error:
SELECT *
FROM
(SELECT sslog.userRowid,
sslog.CreateDate,
sslog.CreateTime,
Sslog.SSUSR,
sslog.Terminal,
ssuser.Initials,
ssuser.USName
FROM SUser_Log sslog
LEFT JOIN DHC_SSuser ssuser ON (Sslog.SSUSR = ssuser.userRowid
OR sslog.ssusr = ssuser.Initials
OR sslog.ssusr = ssuser.USName)
WHERE ssuser.USName ['admin'
ORDER BY sslog.CreateDate DES