How to create and delete a namespace from the terminal?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
How to create and delete a namespace from the terminal?
Hello, first of all thanks for your time reading our question 💭
We would need to be able to transform a hexadecimal string to a base64 coded one. 🔄
To be specific, our use case is this:
1º We have our hexadecimal as follows:
4C5803040101020179C3913EC3BA7C4C580708010101021824584D4C
2º We convert it to ASCII:
LXyÑ>ú|LX$XML
using this online tool:
https://www.binaryhexconverter.com/hex-to-ascii-text-converter
.png)
3º Then we should be able to translate the ASCII to base64:
TFgDBAEBAgF5wyYjMTQ1Oz7DunxMWAcIAQEBAhgkWE1M
We are being helped by this useful web:
I'm trying to implement an OAuth2 server, but I have som issues when trying to setup JWT under OAuth 2.0->Client.
I get the error message saying "No match between server name 'localhost' and SSL certificate values 'cache'". I have set up a SSL/TLS configuration as simple as possible without any certificate files. I'm accessing my server via HTTPS with an unsigned certificate.
Can anyone point me in the right direction on how to resolve the issue I'm encountering.
Hi community,
This is another article about how to perform actions that you can do in the web portal but via code.
Today.... Add a default setting value by code
My objective is to find routine's Date/Time Saved someplace inside Cache. The routine's Date/Time Modified as returned by various queries like %Library.RoutineIndex and as seen on the File Open screen is actually Date/Time Compiled last, not Date/Time Saved last. Does anyone know if Date/Time Saved is created when the Save icon is pressed or the routine is imported? Such a timestamp should be immune to subsequent compilations with no changes.
I am also curious about the internal Cache mechanism that marks the routine's tab with + which means saved but not compiled yet.
I am unable to download Cache Studio from the Intersystems web page. The download link times out.
https://www.intersystems.com/developing-with-intersystems-iris/
Scroll down and click on 'Studio'. Spins then times out.
@Andreas Dieckow can you provide any insight?
Joe
In a typical database, changing the type of a column from some kind of date/time to a string would require a degree of migration effort for existing values. In Caché, my suspicion is that this is not the case, and I could simply change a property definition from %Timestamp to %String (MAXLEN = "30") and recompile, without needing to worry about damaging the existing data stored for this property. Is this correct? Or would I find the existing data in this property being lost or corrupted?
Thanks in anticipation
Dear,
From time to time I get the following error after executing a select statement:
[SQLCODE: <-400>:<Fatal error occurred>]
[Cache Error: <<UNDEFINED>Main+65^%SYS.DBSRV *%qsc(1187,8)>]
[Location: <ServerLoop>] InterSystems.Data.CacheClient.CacheException [SQLCODE: <-400>:<Fatal error occurred>]
[Cache Error: <<UNDEFINED>Main+65^%SYS.DBSRV *%qsc(1187,8)>]
After repeating the query, the query succeeds.
How do I start debugging this type of issue?
Thanks,
Bart
Hi,
How to write code in table trigger to send SMS upon any modification on particular column?
Thanks
Hello,
First of all thanks for your time reading our question, and thanks for your replies and help
We would need to know if a patient has less than 65 years old, using their birthday from the PID 7.1
So far we have developed the following code:
//19760422set nacimiento = request.GetValueAt("PID:DateTimeofBirth.Time") $$$LOGINFO("nacimiento: "_nacimiento) //22/04/1976 set nacimientoFormateado = ##class(Util.FuncionesComunes).DateFormatConvertToXML(nacimiento) // "" set nacimientoFormateado65 = $extract($system.SQL.
Hi all,
We have a session values in a cache method and need to get those values in a client method (JavaScript).
Eg :
ClassMethod Method1()
{
Set %session.Data("Param1")="Data 1"
}
ClientMethod onloadHandler [Language = javascript]
{
var ret = zenPage.getSessionValues();
}
ClassMethod getSessionValues() As %String [zenMethod]
{
Set Data = $G(%session.Data("Param1"))
Quit Data
}
This is the code we implemented. But the problem is getSessionValues() method isn't called.
We need to know how to call a class method from client method.
Thanks,
Syed M
Hello, first of all thanks for your time reading this question ◀️
We would need to achieve the following task:
We have a Ens.Response message with this structure:
<?xml version="1.0" ?>
<!-- type: Mensajes.Response.Justicia.PLATINO.EnviarIniciadoresGeneralResponse id: 10986665 -->
<EnviarIniciadoresGeneralResponse>
<EnviarIniciadoresGeneralOut>
<
Read more at Open Exchange.
Right now version 2.0 is like an aircraft at the start of the runway (remember those days before COVID-19?), waiting for the control tower to give final clearance. Will you be an early adopter, downloading the VSIX from GitHub, installing it into your VS Code, and posting back here to confirm that we haven't left anything critical behind at the gate? Then I'll push the throttles forward, publish to Marketplace, and we'll all be on our way.
Server Manager 2.0 is my entry for the current contest. If you like it maybe you'll vote for me it. ![]()
Hi,
What is the difference of class normal and date/time property and how to use in the script and what is the use of MINVAL and MAXVAL parameters?
Thanks