Hi Guys
Is there a zen control that exposes the "Copy code to clipboard" functionality , as seen in the code sample of this page?
Cheers
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi Guys
Is there a zen control that exposes the "Copy code to clipboard" functionality , as seen in the code sample of this page?
Cheers
Hello All,
I have a class method on the DocRepo server that needs to query the data value of a global variable on the Edge server.
I have looked at the documentation for 'Global Structure,' but I didn't find anything that helped.
Global Structure | Using Globals | InterSystems IRIS Data Platform 2022.1
I am able to access this global easily from the Edge server using the $Get function, but I need to access it from the DocRepo server.
Any suggestions would be greatly appreciated!
Thanks!
Craig
Hi All
I'm building a ZEN page that will dispay HL7 from a database, and am currently displaying it an textarea.
Is the HL7 viewer that is displayed when HL7 message is selected in a visual trace available as an out of the box tool I can plug into a webpage?
Andy
How can we insert into a table using a stored procedure?
Table structure :
CREATE TABLE SampleHospital (
Hospital VARCHAR(50),
Location VARCHAR(50),
UserName VARCHAR(50),
UserFullName VARCHAR(70),
LastLogin TIMESTAMP,
LoginCount int)
Procedure Name:
call Custom_MENS_Other.samplesp('2021-11-02','2021-11-04','H001')
Hi
The following page references the Zen Demo
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
Where can I find it to download. I'm drawing a blank here.
Cheers
Hello friends,
I am having the following problem when passing a parameter in the execution of a zen query?
If the parameter has more than 50 characters of the error.
Http://127.0.0.1.57772/csp/sistema/CLINICA.Rel.Atestado.cls?nome="José Roberval Benedito da Silveira Gonçalves Sobrinho "
Is there a configuration or solution to this problem?
Hugs
Davidson Espindola
Credentials for a Productions are stored as plain text in ^Ens.SecondaryData.Password and exposed as plain text via SQL table Ens_Config.Credentials which is not ideal as only admins should know the credentials.
I can create my own adapter etc... to store and use encrypted passwords but does anyone know if there is a standard way to do this in a Production?
Alternatively, am I missing how to secure this so the production can run and someone can monitor and operate a production without access to the SQL table or global?
Hi All,
Can you help me how to extract SQL table data into a text file and generate the text file in a particular file path
Thanks,
Smythee
Hello! I am currently creating a class for a small error trap. I have it working and all is good but I really want to change the order of the fields in the SQL return from Alphabetical to something else.
The current Order is ID, ActionType, ErrorCount, ErrorDetails, Model, ResultCode, ResultMessage, Stock and Yard
I would really like for the field order to be ID, Yard, Stock, Model, etc.
Example of current order,

Is this possible?
Thanks in advance!!
Is it possible to access (read, write) to an external Oracle database via Cache SQL Gateway using JDBC in Cache Object Script? I am currently using ODBC successfully but wanted to see if JDBC was an option too. If it is possible, does anyone have a basic Object Script example(s) that I can review?
Thanks!
In MS SQL Server i can do this:
SELECT
Category, CrewNumber, MedicalCertificationDate, Seat, SeatbeltUsed, Sex, ShoulderHarnessUsed, ToxicologyTestPerformed, childsub
INTO #tempfemale
FROM Aviation.Crew
WHERE Sex = 'F'
The code would create a new temporary table with the fields defined from Aviation.Crew. I cannot find how to do this in Cache SQL in the documentation. Can someone show me the correct syntax or other solution?
Hi,
When i am using $$$LOGERROR("Message is Discarded") in the class i am getting "Referenced Macro Not defined" error
Can you help me how to use $$$LOGERROR in a class
Thanks,
Smythee
Hi Community
I have created a simple package that allows the use of Cache with the Laravel Framework.
From my initial testing everything seems to be operating smoothly but I would like to appeal to the PHP users in the community to help me improve this package.
For those of you out there who have time and would be interested in this, please visit the repo at https://github.com/jeandormehl/laracache
Thanks in advance
Hi ,
When I use jdbc driver to query the column info ,the "REMARKS" field always show the same as the "COLUMN_NAME" field.
When I use the sql "select * from INFORMATION_SCHEMA.columns a where a.table_name='some table name ' " to query columns info,there has a "DESCRIPTION" field ,the value is some comment for the current field.
So is there anyway to return the description to the jdbc remarks field? And is there anyway to update the desciption or remarks field? Or is there some other way that I don't know to manage column comment info?
Hi all,
Does anyone backing up with CommVault version 11 (but lets forget the version for now) and had problems using vss to backup Cache/Iris ?
Can you tell me what you did to overcome that problem/problems?
Thanks,
Yossi.k
Hello community,
First of all thanks for your time reading and answering this post:
We have read the following topics:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
https://community.intersystems.com/post/using-regular-expressions-cach%…
https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic…
Hi,
I am receiving a JSON File as Stream container Using pRequest As Ens.StreamContainer and output as Output pResponse As %Persistent in a Custom Business Operation
Please find the code below
Method OnMessage(pRequest As Ens.StreamContainer, Output pResponse As %Persistent) As %Status
{
Set tFilename=..Adapter.CreateFilename(##class(%File).GetFilename(pRequest.OriginalFilename),..Filename)
Set tSC=..Adapter.PutStream(tFilename, pRequest.Stream)
Quit tSC
}
Question:How can i extract name,DOB,SSN from the pRequest
Hi all,
I'm trying to convert a HL7 section to a XML or JSON string.
We need to save the content of PID section into a SQL Column, therefore we need to convert it into a XML o JSON string
is there any easy way to convert it?
I've tried to convert it directly into a DTL, but all my attempts have been unsuccessful
Best regards,
Francisco Lopez
Hi there have been various posts around how to clean up globals without parent data but none have gone into how you solve these issues.
Our database is approaching 600gb in size so i am looking into how to reduce this.
We use standard purge tasks.
Our cache stream class has a global size of 2463243 from running global size so it is what i would like to tackle first.
1) is there any way i can find based on my oldest message session for where most of these globals
2) in the class where these are created what can be done to ensure purping. Basically we have
set sIn=##class(%GlobalBinaryStream).
Healthcare interoperability is instrumental in improving patient care, decreasing healthcare provider costs, and providing a more accurate picture to providers. However, with so many different systems, data is formatted in many different ways. There are many standards that have been created to try to solve this problem, including HL7v2, HL7v3, and CDA but each one has its drawbacks.
FHIR, or Fast Healthcare Interoperability Resources, is a new format for healthcare data that aims at solving these problems.
Hello,
Is it possible to read an Office 365-mailbox over POP3 with OAUTH.
Basic authentication doesn't work anymore.
Regards,
Kurt Hofman,
ASCI nv.
Hi
I created a password validation routine for the management portal, which is called from the System-wide Security Parameters.
During a major version upgrade it is advisable to recompile the classes and routines of all your namespaces (see Major Version Post-Installation Tasks).
do $system.OBJ.CompileAllNamespaces("u")do ##Class(%Routine).CompileAllNamespaces()
To automate this administration task and keep a log of any errors, below is an example of a class to import and compile into the USER namespace that you can use after each upgrade : admin.utils.cls
Class admin.utils.cls
Your application is deployed and everything is running fine. Great, hi-five! Then out of the blue the phone starts to ring off the hook – it’s users complaining that the application is sometimes ‘slow’. But what does that mean? Sometimes? What tools do you have and what statistics should you be looking at to find and resolve this slowness? Is your system infrastructure up to the task of the user load? What infrastructure design questions should you have asked before you went into production? How can you capacity plan for new hardware with confidence and without over-spec'ing? How can you stop the phone ringing? How could you have stopped it ringing in the first place?
In previous posts I have shown how it is possible to collect historical performance metrics using pButtons. I go to pButtons first because I know it is installed with every Data Platforms instance (Ensemble, Caché, …). However there are other ways to collect, process and display Caché performance metrics in real time either for simple monitoring or more importantly for much more sophisticated operational analytics and capacity planning.
Hello all,
i am currently struggling following the instructions for reading an image file into the database as a base64 string.
My goal is to save an image into a global as base64. I followed different guides like:
https://community.intersystems.com/post/how-save-png-image-cache-base64…
https://community.intersystems.com/post/how-save-fileimage-some-specifi…
https://cedocs.intersystems.com/ens20152/csp/documatic/%25CSP.Documatic…
Here is my current code:
N FILE,BASE64
Set file=##class(%Stream.
Hi all,
I've just update the version of WebTerminal using the link, but now it doesn't work.
When call to /terminal is displaying the following error:
{
"errors":[ {
"code":5002,
"domain":"%ObjectErrors",
"error":"ERROR #5002: Error de cache: <INVALID OREF>zWrite+5^WebTerminal.StaticContent.1",
"id":"ObjectScriptError",
"params":["<INVALID OREF>zWrite+5^WebTerminal.StaticContent.1"
]
}
],
"summary":"ERROR #5002: Error de cache: <INVALID OREF>zWrite+5^WebTerminal.StaticContent.1"
}I'm getting wrapped around the axle with CAST and CONVERT and can't seem to find a way to do this (short of adding a stored procedure wrapping $zdt($zdth(posix,-2),3), which I'm refusing to do on principle, because there has to be some way to make this work).
Any ideas?
I am calling a stored procedure over an ODBC connection and every time I call it there are several warnings written to the log event {Found no Parameter 1 (used as 1) for query}.I seem to be getting this on every query executed and that seems to happen a number of times the query parameters are per query and its filling up my disc.
1) Is there a way to suppress these warnings as the query seems to be executed and data written to the database?
Mixing Object syntax with SQL is one of the nice features in Object Script. But in one case, it gave strange results, so I decided to isolate the case and describe it here.
Let's say you need to write a classmethod that updates a single property on disk. Usually, i would write that using SQL like this :