I am trying to make architecture for my project. And for it, it needs to make list property in which there is list of objects of another table, the data must be unique, therefore I make sql-query to check objects of another table if it is used or not, but I can't make sql-query to check elements in list in property with elements of another table. Can you help me? In property ID of object is used.
I'm playing with Cache web apps (CSP pages) and local dev . . .
My understanding is that when you run Cache, it spins up a very lightweight Apache web server with the web root C:\InterSystems\Cache\CSP (or where your CSP folder happens to be).
However, if I put the index.html at C:\InterSystems\Cache\CSP\index.html or if I create a new folder and place it
I'm having trouble with a server printer where nobody can open a particular device. I've seen all over documentation that you can't open a device if another process already has it open, but I haven't been able to find out what process has a device opened already.
I have a database which needs to be synced to another system and considering to use the SQL Inbound adapter to 'watch' the database.The other system, however, has a bulk API so I'd prefer to send multiple SQL rows in a single message to that system.The SQL Inbound adapter seems to trigger a single call (to a process or business operation) per SQL-row.
Hi Community,
Please welcome the new Global Summit 2019 video on InterSystems Developers YouTube Channel:
⏯ Rapid Intelligent Application Development
does Health Connect have an out of box setting to send some type of "Keep Alive" packet? This is for a TCP connection. I have a vendor that will disconnect from the engine if there is a 2 hour idle time. would like to send something across every hour (if its idle) to prevent the disconnection. I'm assuming this may be something custom that needs to be created, but thought I asked the community first.
Is it possible to use a class parameter in class query?
Example:
Class SomeClass
{
Parameter SOMENAME = "Name1";
Query SomeQuery() As %SQLQuery
{SELECT ID || ..#SOMENAME || Name FROM Table}
}An exciting position has arisen for an Application Support Analyst 3rd Line, in an established support team. The role will suit candidates looking to work in the software industry who want to provide good customer service, enjoy finding solutions for problems and are enthusiastic about software and technology. http://codas.com
Key Responsibilities:
- Provide support for bespoke applications including its users, associated services, and configurations
- Troubleshoot applications using custom code and tools
- Provide effective root cause analysis investigations for problem management process
- Liais
An exciting position has arisen for a Junior Application Support Analyst in an established support team. The role will suit candidates looking to enter, or are at the start of their career in, the software industry who want to provide good customer service, enjoy finding solutions for problems and are enthusiastic about software and technology. http://codas.com
Key Responsibilities
- Provide 1st / 2nd line support for bespoke applications including its users, associated services, and configurations via telephone, email and remote access
- Diagnose incidents
- Coordination of support queries to
Hello everyone,
I try excuting a SQL Query like this SELECT ID, CompanyName FROM Company WHERE CompanyName LIKE 'condition'
But if I want to search CompanyName have special char %, ex: '100% Co' , 'Group of Mr.%', 'The %TaxProp'...
How can I take % to query, with
SELECT ID, CompanyName FROM Table1 WHERE CompanyName LIKE '%%%' it'll get all record in table.
Someone give me an idea. Thanks so much!
In the previous article, I have demonstrated a simple way to record data changes. At this time I have changed the "Audit Abstract Class" which is responsible for recording audit data and the data structure where the audit log will be recorded.
I have changed the data structure to a parent and child structure where there will be two tables to record the "transaction" and the "fields its values" changed on that transaction.
Take a look at the new data model:

Take a look at the code changed from "Audit Class":
{
Trigger SaveAuditAfter [ CodeMode = objectgenerator, E
Hello,
Astronaut, LLC needs Meaningful Use QRDA c1 requirement passed. We do not have a spare engineering team to write it all from scratch. Indian Health Service RPMS https://code.osehra.org/journal/journal/view/1576 has it in the public domain as a sub application called eCQM.We would like to backport eCQM to its close cousin our Veterans Affairs(VA) VistA variant Astronaut VistA. We would first like to simply get eCQM working in its native environment before attempting to back port to Astronaut VistA. RPMS currently uses Cache and Ensemble.I've been directed to use IRIS.
Hello good afternoon!
We're testing a REST Operation, to View Devices using OneSignal API
We are sending the request from Production's Operation Test tool, using the following code:
.png)
What happens is that it tells us error of SSL Configuration:

It should be noted that the test was done without https, to:
set path = http://onesignal.com/api/v1/players?app_id=...
If we see the trace of the browser, we get that OneSignal when receiving an HTTP request, redirects it to HTTPS:
Receives HTTP, redirects:
.png)
to HTTPS:
.png)
With what we have written, we get an empty answer (the 1st redirection) and an SSL error (the
Hi,
It turns out that on windows if you run a command with a windows command file you need to escape the % character as %%
In my case I could test freeze and thaw calls at the command line successfully as
..\bin\cache -s. -U%SYS ##Class(Backup.General).ExternalFreeze()
...but when my freeze script ran it would fail.
it turns out that a single '%' is striped when run in a windows command file, and it must be escaped as '%%' windows gets:
..\bin\cache -s. -USYS ##Class(Backup.General).ExternalFreeze()
So make sure your freeze and thaw scripts and include a double %%;
..\bin\cache -s. -U%%SYS
Hello.
I want to grant access only to the Message Viewer page to an specific user, in all Namespaces. I have created a rol with this privileges:
%Ens_MessageContent
%Ens_MessageHeader
%Ens_MessageTrace
%Ens_Portal
But if I want to see the list of messages, I have to grant SELECT access to the Ens.MessageHeader and Ens.MessageBody tables of each Namespace.
Is there anyway to grant access to this tables in all Namespaces at a time, even if new ones are created?
Thank you in advance.
Hi,
I believe the healthshare Debug module did this (if you added it) but I no longer have access to Healthshare to look so am asking here.
Suppose I have;
Set fruit="apple"
set person="john"
d ..Something(fruit, person)
quit
ClassMethod Something(objs...) {
; Names of variables passed in
}
In side "Something" how can I see the original name of the variable passed in (i.e. know the variables passed in were called fruit and person and not just their values).
I appreciate this is rare and not idea but I am 90% sure the Healthshare debug service allowed this so there must be some obscure "call"
We're back with more AI, more ML and more presenters!
We are pleased to invite you to the upcoming webinar in English: AI Robotization (Python, R, Interoperability) for InterSystems IRIS on November 7 at 11:00 EST!
I have a task that has been working successfully for some time now but when I attempt to recompiled I get this error:
ERROR #5475: Error compiling routine: ACLIB.Utils.PurgeOrphanedMessages:PurgeOrphaned. TEXT: .
Hi Developers,
New challenge on Global Masters: Review InterSystems IRIS on G2 and get 3000 points!
The page for InterSystems IRIS is new on G2, and we need so much your voices and experience to be shared with the worldwide audience!
Write a review on G2 using this link, complete the challenge on Global Masters and get 3000 points after your review is published!
A few years ago, I was teaching the basics of our %UnitTest framework during Caché Foundations class (now called Developing Using InterSystems Objects and SQL). A student asked if it was possible to collect performance statistics while running unit tests. A few weeks later, I added some additional code to the %UnitTest examples to answer this question. I’m finally sharing it on the Community.
Hi Community,
New video, recorded by @Stefan Wittmann, is already on InterSystems Developers YouTube:
Is %CSP.BinaryStream compatible with %StreamGlobalBinary because reviewing the classes this doesn't look to be the case?
What I am trying to do is zip large documents before sending over a REST interface. I compress the file and add that to an Ens.StreamContainer which is then passed to the operation to build the REST payload. We are using %Net.MimePart class to build the payload and use the BodySet method to add the zipped Ens.StreamContainer.
The issue is when the REST interface receives the POST, it doesn't recognize the data as a zip compressed item.
Here is the code snippet from the REST
Hello community!
I have a question about the %OnSave method of a class. We have a class that has two properties that are classes.
Class A
Class B
Class C
Class A.PropertyB as Class B
ClassA.PropertyC as Class C
Classes B and C also need to point back to Class A - it's just the way it is. We need to be able to use any one of these classes and get to the others (it's actually even more complicated than this, as Classes B and C also have a PropertyC and PropertyB as well, respectively) :
ClassB.PropertyA as Class A
ClassC.PropertyA as Class A
To see a simpler version of this question, see ** at
Hi All,
I'm currently trying to modify the provider portal using Trak to add a new column. Using the column editor to get the column to display on the page is relatively simple, but where I'm running into problems is modifying what will display in the column.
Essentially, it just needs to run a simple "if value in column A is in this list, display x, else display y" which is easy enough to write in ObjectScript, but the ISC documentation is relatively sparse about how to get a specific column to run that bit of code to display what I need it to.
Appreciate any insights you all can provide.
Hello,
I loaded a WSDL from a webservice into my project where executing it returns me a series of Orders related.
My problem is that the provider of this webservice sometimes adds new fields, which I don't even use, and from then on it starts giving Iris a bug, so I need to import the updated WSDL again so that it creates the new property that the provideradded.
Is there a way for me to set up after the first WSDL import so that it ignores if the provider makes a response schema change by adding 1 new field for example, and I always keep working with the first structure I imported functionally?
Hello Community,
We have two live servers running DeepSee dashboards for users. One of the servers can print a widget to a pdf file, and the other can't.
I learned that 1) a Java JRE needed to be installed on the second server, and 2) it's trying to run an OS command to render a pdf file (details below).
An audit log of the event shows this:
| Routine | convertXslToPdf+44^%SYS.cspServer2 |"^^c:\intersystems\ensembleprod\mgr\"| |
| O/S Username | CSP Gateway |
| Event Data | Execute O/S command Command: C:\InterSystems\EnsembleProd\fop\fop.bat -fo |
We are currently implementing the Data Innovations Instrument Manager product. In setting up our backup process we are wanting to use Veam snapshots. The application runs in a Caché 2016.1/Windows Server 2016 instance. We are running an HA primary/secondary/arbiter config. The statement below is from DI. I am curious to see what others that have implemented the DI Instrument Manager in the same or similar config have in place for backup.
"DI recommends is recommending that we not perform snapshots, but if you do choose to do so, here is some important information to consider.
Sometimes
Hi There
I've created a new WebClient using Studio Addon-s Soap Wizard.
I've tried to send a soap request using InvokeMethod.
However the Body comes empty <soapenv:Body></soapenv:Body>
I needed it to be
<soapenv:Body>
<ns:Ping/>
</soapenv:Body>
I am sending a PUT FHIR message for a CodeSystem Resource using the defailt Service and server that was installed when I installed the FHIR on the NameSpace.
When I try to use the FHIR Request "id" property it is empty; e.g. pFHIRRequest.id is EMPTY. I really need to get this value, how can I get it?
I added a trace ion both the HS.FHIR.Service and HS.FHIR.Server.Process, details to follow:
The trace in HS.FHIR.Service is as follows, this is inside the OnProcessInput where the Id is validated I added the "else", it prints the line in the "else" and the result is an EMPTY input.id (nothing):
//
Hi Developers!
Those who use Dockerfile to work with InterSystems IRIS often need to execute several lines of ObjectScript. For me, this was a game of "escaping this and that" every time just to shoot a few commands on ObjectScript to IRIS. Ideally, I'd prefer to code ObjectScript without any quotes and escaping.
Recently I found a nice "hack" on how this could be improved to exactly this state. I got this from @Dmitry Maslennikov's repo and this lets you use Objectscript in a way as you would type it in IRIS terminal.
Here is what you have in dockerfile:
///
COPY irissession.sh /
SHELL ["/irissession.sh"]
RUN \
do $SYSTEM.OBJ.Load("Installer.cls", "ck") \
set sc = ##class(App.Installer).setup()
# bringing the standard shell back
SHELL ["/bin/bash", "-c"]
CMD [ "-l", "/usr/irissys/mgr/messages.log" ]
///

