Hi Team,
I am Working on one data transformation, In the data transformation the data transformation data needs to be saved in the globals.
Can you please help me to save the data into the globals in a Persistent class.
Thanks in advance
Hi Team,
I am Working on one data transformation, In the data transformation the data transformation data needs to be saved in the globals.
Can you please help me to save the data into the globals in a Persistent class.
Thanks in advance
I have a .woff2 file I'm trying to serve over CSP.
If I set:
^%SYS("CSP","DefaultFileCharset")="UTF8"
Then it "just works" - but I'd rather not do something so heavy-handed/instance-wide, on principle. (This is for something that will ultimately be published on the Open Exchange.)
A more granular option, it seems, is described in the %CSP.StreamServer class reference:
if you need to define settings per extension (in uppercase) you can use ^%SYS("CSP","MimeFileClassify",$zcvt(ext,"U"))=$listbuild(type,bin,charset) where:
Hi All....
its possible get all extended classes from abstract class?
Could someone tell me a method that does this? or will I have to implement something by reading the data dictionary?
I am use cache 2018
Hi Community,
Below Query is returning boxes in place of values, I want to list all tragetconfigs , IP addresses, and ports for each business hosts components.
Could you please help me, Otherwise I need to do manually will take a long time to prepare list?
.png)
Hi everyone, how do you run multiple quires?
I have tried couple of different ways, but not working.
SET sql = 2
Set sql(1) = "UPDATE QUERY"
Set sql(2) = "UPDATE QUERY"
Set sqlStatement=##class(%SQL.Statement).%New()
Set sc1=sqlStatement.%Prepare(.sql)
If $$$ISOK(sc1) {
Set tResult = sqlStatement.%Execute()
}
else{
$$$LOGERROR("Failed")
}
To Programmatically Edit Productions (interfaces) you can use a combination of the interoperability apis and SQL queries.
At a high level, it is important to know the namespace and production you are working in at the moment.
// Object script
// The active namespace is stored in this variable
$$$NAMESPACE
// Print namespace
Write $$$NAMESPACE
# Python
import iris
# The active namespace is returned from this method
iris.utils._OriginalNamespace()
# Print namespace
print(iris.utils._OriginalNamespace())
>>> DEMONSTRATION
Hello, good morning
First thank you for your time in reading and answering our question.
We have been reading, inquiring, researching about how to make multiple dispatches from 1 Process of type "DICOM.BP.QueryProcess" to several target Operations.
We need some help to further develop this use case, and some advice 🧭, examples or recommendations
Currently we are using the basic example, the one that includes Ensemble, and this has DICOM Process which has a property by which from Web Production we write to which Operation it sends our FIND/QUERY/RETRIEVE messages:
.png)
The circuit is shown graphically:
.png)
Be
I have a linked procedure class and SQL gateway setup and I can't seem to get any response, status or error from using the stored procedure, I think it must be something big I'm missing to not even get a status.
Can someone see what my problem is please, any help would be very much appreciated.
Class generated by linked procedure wizard:
Include %occInclude ///
Class dbo.MrnLookup [ Not ProcedureBlock ]
{ ClassMethod MrnLookup(pp01 As %String(MAXLEN=8), ByRef mrn As %String(MAXLEN=20)) As %Integer [ ProcedureBlock = 1, ReturnResultsets, SqlName = MrnLookup, SqlProc ]
{
ifHey Developers,
What is the best way to containerize your InterSystems IRIS application? Discover your options:
A question has come up that I am not finding the answer for....Does the daily purge process re-index EnsLib.HL7.SearchTable or other SQL tables? In looking at the purge process documentation I am not seeing anything that mentions EnsLib.HL7.SearchTable.Do we have to manually constantly re-index tables that we create?For example I created another search table based off of EnsLib.HL7.Search table, will I need to constantly watch this as it grows?How do tables get index, is there some kind of mechanism that automatically does it, or are we responsible for indexing tables ourselves?
Since the ObjectScript plug-ins for VS Code use web services to connect to IRIS, is it possible for a VS Code user to authenticate against IRIS using OAuth?
I am referencing the documentation here: https://docs.intersystems.com/ens201815/csp/docbook/DocBook.UI.Page.cls…
I have embedded html within a <script language="cache" runat="server"> block. Within that I'm defining and using a macro, but it doesn't display at all. Something like:
<script language="cache" runat="server">
s stringData=obj.data
#Define displayString stringData
&html<
<p>$$$displayString</p>
>
</script>If I 'w $$$displayString' outside of the embedded html, the string is written to the page as expected so I know the Macro is being
Hi
I'm using an embedded SQL statement with a a cursor-based Embedded SQL query that uses host variables in the where clause, however, what I'm doing doesn't seem to work. Can anyone help?
The code I'm using is
set tMessageName = "AssessmentsMessage"
set tIdentifier = "SectionCode"
set ID = 0
&sql(
Declare IDs Cursor For
select %ID
INTO :ID
from GMECC_DocmanConnect_Tables.ParisConnecMessagetSettings
Where MessageName = :tMessageName
and Identifier = :tIdentifier
)
&sql(Open IDs) For {
&Sql(fetch IDs) If SQLCODE Quit // SQLCODE = 100, now rows foundI tried to convert IRIS globals to pandas dataframe.
I can do it as follows if there are no Japanese included in globals,
Type quit() or Ctrl-D to exit this shell.Hi,
i have made a testing package (name "test.a") and want to move it now into an other new package (f.example work.a)
is that possible?
Michael
Hi,
Is it possible to use the IRIS' Interoperability's Foreground Window option for Business Operations when IRIS is running in a docker container ?
Thanks -
Steve
How can I get the Python error object(exception return value) from the embedded python method?
I have an embedded Python method like as below;
ClassMethod test2() As XXX [ Language = python ]
{
try:
a=1/0
except Exception as ex:
print("Exception: %s" % str(ex))
return ex
}I'm not sure what kind of return type to set for this classmethod. "As XXX" <--
I tried to set "ClassMethod test2() As %Exception.PythonException [ Language = python ]"
However, I got the following return value when I run the method in the IRIS terminal.
USER>set st=When looking at the "Current License Usage Summary" web page, there is a line for both local and distributed "Maximum Connections". I have scrutinized every class that seems reasonable to contain this information but have found nothing that matches the values on the web page. I do not believe these are related to license specifically though I did review all of the potential attributes of the license related classes to no avail.
Hi Developers,
New video is already on InterSystems Developers YouTube:
Hi everyone.
I'm using a Buisness operation which have a SOAP outbound Adapter :
.png)
Hi,
I have wrote an article about how to install the intersystems cache driver in a Docker container, and then deploy it using Azure Functions:
How to run a (Python) Azure Function as a Docker container & Deploy it using Bicep | Victor Sanner
This might be useful to others, especially the dockerfile which I have copied below. This builds a debian docker container and installs the Intersystems Cache driver, which python can then use :)
To enable ssh & remote debugging on app service change the base image to the one below
# FROM mcr.microsoft.com/azure-functions/python:3.0-python3.6-appserviceHi Guys,
I know that there a way to view global content from the Terminal rather the SMP but I can't remember the command, I think it's something like D ^Global or something !?
Thanks
I need to remove double quotes (") from a string and can't remember how to escape it in input string in ReplaceStr or Strip.
Thanks in advance
Kong provides an open source configuration management tool (written in Go), called decK (which stands for declarative Kong)
deck ping
Successfully connected to Kong!
Kong version: 2.3.3.2-enterprise-editiondeck dumpdeck diff
updating service alerts {
"connect_timeout": 60000,
- "host": "172.24.156.176",
+ "host": "192.10.10.18",
"id":Hi community:
Excited to report that you'll find session titles and descriptions posted to our event website. Follow the registration link to view.
I expect you'll be able to build your schedule online very soon. We're finalizing everything before we load it into our scheduling app. Will keep you posted.
Hi Community,
When we terminate a process that is in a transaction, the system (fortunately) performs a rollback.
As part of some troubleshooting, I'm wondering if there's a way around this behavior to avoid rollback (or force commit) before termination.
Recently we had an issue on a test server with a process stuck in a huge transaction (around 100GB).
The out-of-control process was suspended and then terminated causing a rollback.
In the case of a test server, this is not really a problem.
If it happens on a production system, depending on the situation we might prefer to avoid rollback (journal
Hi Community,
Let's meet together at the online meetup with the winners of the InterSystems Globals contest! A great opportunity to have a discussion with InterSystems Product Managers on Globals. Our winners' demo included.
Date & Time: Thursday, April 14, 2022 – 12:00 EDT
Recently I needed to generate a Swagger spec from persistent and serial classes, so I'm publishing my code (it's not complete - you still need to hash out the application specifics, but it's a start). It's available here.
Let's say you have these classes:
Classes
Hi everyone,
We are trying to verify a signature against a certificate without success.
Apologies in advanced if my post lack info.
I've added the cert under the X509 credentials under the management portal (alias Cert).
The code snippet that we are using to verify the cert:
set tX509 = ##class(%SYS.X509Credentials).GetByAlias("Cert")
set tData = "hello"
set tSignature = "CUBMPlVbEKbjFg0nUNz3pwuSwq7tJPg4obsj6LpwbMsEQaDNNw/93V9X0BdgBVzoWN1K7XrG1WX1focFj+EIkeXOJJF7KjQv4p9Xc8JT0wWZ9ivw0+pYvBtMSzP9JEVzapt2Cr+QoBT47yEMeCAxt7Ka7q7xLpxxpAvDQ+QE3Mg="
set isValid = $SYSTEM.Encryption.RSASHAVerify(256, tDat