I want to convert the image to base64.
I have only a remote image URL.
please suggest the solution with allow cors origin.
I want to convert the image to base64.
I have only a remote image URL.
please suggest the solution with allow cors origin.
There will be serious errors and garbled code when I use the Data Migration to connect to MySQL through JAVA gateway. In fact , there are always many problems when I import data to the Caché database.
Hello,
I'm using $ZF(-1) in a class method which will be invoked from a csp page.
What determines the environment of the spawned process? If I use $ZF(-1,"echo hello world > output.txt"), the resulting file is owned by cacheusr:cacheusr. However, when I use $ZF(-1,"printenv > output.txt"), the environment is from my personal unix account, no matter which Cache username I'm logged in under when running the web application.
Thanks
How to I use ..CurrentDateTime() so it returns in format YYYY-MM-DDTHH:MM:SS+ and in eastern time? Need code to be in DTL, not in ObjectScript.
Hi Community,
I am trying to access another process's content of objects like %request and %session. I am using the class/method "%SYS.ProcessQuery:VariableByPid". Does anyone knows how to get the value of the properties like %request.Data("ID",1) from one process that is running on the DB server?
Example of what I am trying to do:
set rs=##class(%ResultSet).%New("%SYS.ProcessQuery:VariableByPid")
set tsc=rs.Execute(ProcessID,"%request")
while rs.%Next() {
w "Name:"_$g(rs.Data("Name")),!
w "Value:"_$g(rs.Data("Value")),!
}
do rs.Close()
Today we have only 'Snippets' to classes:.png)
how i can custom this Snippets to show my labels or variables of atual routine?
gj :: connect is a demonstration extension that shows how to extend the Intersystems Server Manager to perform custom actions.
It makes use of the context menu contribution points to add both in-line and right click menu options.
It also demonstrates how to create a new top level folder in your workspace corresponding to the server and namespace selected in Server Manager.
You may think it isn’t too difficult to get from label+offset^routine to the actual source line responsible for the error. For an expert it isn't that hard... most of the time. But there are enough oddities and special rules that even an expert can get it wrong, whilst spending a lot of time trying to get there.
gj :: locate is the latest tool from George James Software – it debugs any error, class or routine by converting the location of an error in compiled .int code to the corresponding location in your source, and then taking you right there.
Image this scenario…
Hello,
First of all thanks for your time reading this question,
We would need some help,
The challenge is that our Ensemble does not start.
If we Launch Ensebmle we see:
When we open: C:\InterSystems\HealthShare_2\mgr\cconsole.log
We read:
04/13/21-13:00:29:878 (8084) 3 Error: ERROR #5001: Could not start SuperServer on port 56773, may be in use by another instance - Shutting down the system
When we use: netstat -oan
We observe:
TCP [::]:56773 [::]:0 LISTENING 2396
Then we write: tasklist /svc /FI "PID eq 2396"
And we have:
I checked out a Git-Branch and want to Import all Objectscript-Objects to my localhost.
While using Import without Compilation I receive a lot of errors.
request to http://127.0.0.1:57772/api/atelier/v3/TSTCBW/doc/MusLT01LCOD.int?ignore… failed, reason: connect ECONNREFUSED 127.0.0.1:57772
While using Import and Compile I receive much more of this errors.
Is there a setting, that I have to key in?
Or how can I synchronize my namespace to test my changes?
hi,
I have redhat 8.3, after installation Cache and everything looks good , when i stop the DB by /usr/cachesys/cstop i get :
Hi all,
I need some help in studio.
Is there a way to create a variable to determine if it is in the test or live environment?
Thanks
Adrian
We are seeing more and more customers being lured with latest infrastructure technologies, particularly Composable Infrastructure. Coming with all sorts of data center consolidations and costs savings.
Question is: are there any concerns for HealthShare/TrakCare being run on these platforms or things to look out for? Anyone out there, already on these platforms?
To be more specific this is HPe Synergy with 480 Compute blades booting as bare metal.
Regards;
Anzelem.
If you work with Portal on multiple instances of Caché, Ensemble or HealthShare you might find it useful to set the System Mode of the various instances, so as to give yourself a visual reminder of the role of the one you're currently working on.
For instance:

Hey Developers,
You asked - we did it! We're glad to announce the next competition for InterSystems Developers! Please welcome:
🏆 InterSystems Programming Contest: Developer Tools 🏆
Submit an application that helps to develop faster, contribute more qualitative code, helps in testing, deployment, support, or monitoring of your solution with InterSystems IRIS.
Duration: March 29 - April 25, 2021
Total prize: $8,500
I am attempting to POST a Bundle containing a resource to an ISC-based Resource Repository. Documentation says "batch" interaction is fully supported - so I assume this is possible.
I post to the FHIR base URL, but I get the following back: " The requested URL /customfhir/r4 was not found on this server."
The bundle I use to post to create a patient resource is very simple (see below). I am using a request.method of POST because I want the Resource Repo to create a new fhir resource id.
Greetings all,
Need to connect your VSCode to an InterSystems Server?
Heard of this option?
.png)
Hi Developers,
In the previous article, we describe how to use config-api to configure IRIS.
Now, let's try to combine the library with the ZPM client.
The goal is to load a configuration document during zpm install at the configure phase.
For this exercise, a template repository is available here (this is based on objectscript-docker-template ).
We attempt to :
MYAPPDATA.dc.PackageSample.*.SQLUserRO with read-only SQL role access.SSLAppDefault./rest/myapp.When creating pivots in DeepSee, there is the ability to group date dimensions by Day, Week, Month, Quarter, Year. For some of our reporting the Week option is desired. However the display looks like the image shown below. Notice the "YYYYW##" formatting.
Is there any ability within DeepSee to modify the display of grouped week dates? E.g. instead of 2020W14 it could be 03/30/2020-04/05-2020, or even just the start or end date, etc.
Hello,
We would need some help, please
First of all thanks for your time used reading this question
Also, thanks for your patience
We need to generate an ACK in a Process and return it to the Service to reply
We have currently written a code block with:
Some changes in IRIS configuration require a restart of IRIS.
This is no big issue as long as I have access to the server command line with sufficient privileges.
In a container, this is not always given.
Stopping IRIS from the terminal/session prompt is no problem.
But the restart after is.
Note1: container start-stop is no option as it might be removed by option --rm in docker run
Note2: the target is linux (manly in docker). Windows is excluded
When you have more than ten thousand users in your database, it becomes time-consuming and inconvenient to assign group access rights through the standard IRIS interface. In this artilce I want to introduce you an application to automate this process.
I’ll show you how to assign and change the role lists for the users, selecting them by context, and I will also show you how to expand this application’s functionality. you know how to apply your work as an administrator and developer to the new features of the well-proven apptools software complex. With the addition of an adminLTE template, you can now quickly and easily create interface interactions for any entity and many functional modules. The goal while developing this toolkit is to write as little JavaScript as possible as well as transfer and implement all the dynamics as much as possible in the ObjectScript.
Hello everyone,
First, thanks in advance for your help :-)
I noticed that a query called directly in a method of a class of a business operation does not return the same result as if I apply the same query in the same Caché database from Squirrel !!!
I don't understand why ???
Here is the query :
Hi Developers,
We are pleased to introduce new reward on Global Masters available for advocates on Expert, Ambassador and VIP levels:
Apple AirPods with branded case!
Hope you'll enjoy new prize!
Also! Now you'll see "unlockable rewards" in your Rewards catalogue with a note which level you'd need to achieve to unlock a reward:
Getting the error "ERROR #9406: Unexpected format for value of field, alternateId, using class base mapping" in the trace. I have it defined as:
Class CDSM.MemberAPI.Response2 Extends (%Persistent, %XML.Adaptor, %JSON.Adaptor) [ Language = objectscript ]
{Property alternateId As %String;
Property benefitPlanId As %String;
and the reply is sending:
[
{
"alternateId": "",
"benefitPlanId": "FLSN4444",
Is there a way to handle the empty fields in the reply that is sent back?
Hi,
I'm trying to add a DR async member to a mirror but when I add this member I get this messages in the mirror monitor (on the DR member):.png)
The message im talking about is the "missing Mirrored Databases report".
The only step I did was the " System Administration -> Configuration -> Mirror Settings -> Join as Async" an fill the blanks. Maybe Im skipping a step?
I dont get how to make this DBs start getting synchronized, the cconsole log dont show nothing
Thanks a lot!!!
Hi Developers,
Please welcome the new video specially recorded for Developer Tools programming contest:
⏯ Deploying InterSystems IRIS docker solutions to GKE cloud in 5 minutes
I have a CSP page that is supposed to show some user info (Full name and some other properties retrieved from AD)
I am unable to get them outside of %SYS namespace using Security.Users class. Is there another mechanism to do that, or I am using Security.Users class incorrectly?
Hi folks!
Often while debugging you want to know the values of all the parameters.
Using VSCode Debugger is not an option.
What do you use to know what parameters came to the method?
My hope if you have a "magic" macro that will store all the variables with their names into a global?
And share your approaches, please?
We released a new version of ZPM (Package Manager)
New in ZPM 0.2.14 release:
See the details below.