Hi all,
I have a API operation that is calling to a external process. The answer is a big json but I only want a pice of the full content.
My first attempt is:
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi all,
I have a API operation that is calling to a external process. The answer is a big json but I only want a pice of the full content.
My first attempt is:
InterSystems has identified an issue with product distributions containing Certificate Authority certificates that expire at the end of 2020. This issue does not affect system operation or system security in any way, although it does generate alerts about expiring certificates in the cconsole.log or messages.log files. The messages may be ignored and there are instructions below to eliminate them.
The issue affects the following versions:
We would need some help,
Thanks in advance for your replies,
We can POST directly via POSTMAN only if we disable "SSL certificate verification"
We see the response:
However if we turn on "SSL certificate verification" it shows:
So, when we use Ensemble and a REST Operation, it outputs:
Currently in Visual Studio Code when we connect to a Cache server and export the CLS and MAC files, they get placed in the following:
\Comp;anyName\src\Packages
Where the Packages folder corresponds to the different class packages we have. The MAC files are placed in the src folder and not contained in it's own folder.
Is there a way to configure the export for the MAC files so that it's contained in it's own folder like this:
\CompanyName\src\mac
Thanks in advance for your help.
-Roberto
Hi,
I am wanting to get the results of SYS.Database class's List query into a result set.
I have code that does it, but I get a cursor error at the end.... should I just to a try/catch and ignore this error below? Or can I call this in a different way to avoid the error?
My code, in the %SYS namespace
Set Statement=##class(%SQL.Statement).%New()
Set status=Statement.%PrepareClassQuery("SYS.Database","List")
Since some months ago we automatized source code analysis for projects on Github, so anyone with an open source project can have its code analyzed with no cost.
You only need to create the file ".github/workflows/objectscript-quality.yml" in your project with following contents:
Hello everyone,
I have an issue with using "Open" function.
My goal is to execute a shell script with parameters like as:
/trak/FRXX/config/shells/transportIDE.sh "login|password|NOMUSUEL|PRENOM|NOMDENAISSANCE|1234567891320|199999999999999999999999|09%2099%2099%2099%2099|31%2F12%2F1999|242%20IMPASSE%20DES%20MACHINCHOOOOOOOOSE%20||99999|SAINT%20BIDULETRUC%20DE%20MACHINCHOSE|isc%24jhu|123456|123456798"" 2>&1"
But when some parameters are too long, I have a <NAMEADD> error.
Hi -
I'm trying to figure out an elegant way to select a row on a table pane when I don't have an index, but I DO have a value.
Hi everybody,
Is there any functionality I could use that triggers real time user-defined code on certain audit events? Right now I am interested in triggering such code on a routine modification event, like the one below. I do know how to access this record programmatically, via %SYS.Audit.
Thanks in advance,
Anna
As a Belgian leader in developing and operating entertainment solutions in the sports betting and casino games sector, Bingoal is a dynamic and ambitious company looking for a passionate Back-End Software Engineer. Together with the IT team, you will be working to create scalable and easy to maintain software having an impact on the core of Bingoal’s activity.
We are looking for a developer with InterSystems ObjectScript Experience.
Hi,
So I am a front end developer working with REST API with Cache database on the BE. The BE guys are currently using Cache through a Windows virtual machine and they claim it is not possible to have a development server to work with. All the work they are doing is directly on the production server and changes are immediate and I think this is a bad idea going forward and we most definitely need a development server that has access to the same code base and different version (through git) to be able to do development. We also do all the testing on this production server with test accounts, but we cannot do automated testing with this setup.
I need another set of eyes to look at the following. Instead of a Data Lookup table, I wanted to try to lookup a value against a Cache table that I had build. So I thought I could write a function to run a simple SQL query against the Cache Table and return me a %Boolean value back to my routing rule. However today I found that it was not working properly.
Can someone take a look at the following method and verify that I am doing this correct?
index = column name
value = HL7 field that I am passing into the method
I'm just clarifying that 2017.1 is viable on 8.4-1H1. can someone please confirm, also what kind of support would we receive if we upgraded to 8.4-2L1? I know that 2015.2 works on it. yet it says it's not supported.
we really need to get to 8.4-2L1. any help would greatly be appreciated.
thanks
Paul
Two permanent job opportunities for Caché Developer/Programmers. Small company, remote positions. Offices located in Philadelphia and Ft. Myers, FL. Development team retiring in next two years. Looking for new team. Excellent benefits including stock options and work environment. Travel and financial services industries.
For further details, please send your CV to patrick.glynn@shelbyfinancialcorp.com
The docbook chapter "Importing XML into Objects" has the following tip:
You can call the Correlate() method repeatedly to correlate more than one element, although the examples in this chapter show only one correlation.
Does anyone have a good example of multiple correlations? I've got code running that does multiple imports of the same file while changing the correlation and it's inelegant and not really what I want.
Hello,
We would need some help, please;
We would like to handle when we have a date with hours:
20201204090000
And when we have it without the hours part, as follows:
20201204
For the first case we used:
##class(Ens.Util.Time).ConvertDateTime(source.{ORCgrp(1).RXA:DateTimeStartofAdministratio},"%Y%m%d%H%M%S","%d/%m/%Y",,.tSC)For the second one we wrote:
##class(Ens.Util.Time).ConvertDateTime(source.{ORCgrp(1).RXA:DateTimeStartofAdministratio},"%Y%m%d","%d/%m/%Y",,.tSC)
However each way only works for one case
How could we handle both cases with just a line of code?
We have read:
Hi,
I am very much a newbe on the subject of JWT, so please except my ignorance.
The Trust I am currently working for wish to create a framework whereby they can create REST API Services, within HealthConnect, and grant access to these using JSON Web Token Authorisation and Bearer Tokens. This would be similar to the way the Trust currently connects to other REST API's, i.e.: DocMan Connect and GOV.UK Notify.
Can anyone offer any advice / sample code and / or point me into the direct of suitable documentation to achieve this?
Currently running on limited hardware, Online Backups are becoming a bottleneck for our system.
For now, we are exploring an option to backup individual databases, or groups of them, thus reducing RAM requirements per individual backup task. To do that, however, we'd need a separate Backup List for our Backup Tasks. We did not find an option to do so in web portal, so currently we are looking at inheriting from system backup tasks and Backup.General classes to generate Backup List before backing up and then performing the backup as normal.
Hi everyone, do you have any idea how to find this error or the meaning of this error <STORE> 15 ^%SYS.BINDSRV i always get this once a week.
1) Does web service access consume license?
2) In web service program, we used a connection pool to reuse the session id, but it doesn’t work, the license consume increased quickly, it seems connection pool didn’t work, do you have any sample to do it?
Hello everyone!
I'm new with cache and I wold like to know if I can integrate cache with node.js and how I can do this?
Hi:
I'm looking for some help with JSON notation for a global structure. I need a way to represent a global structure in JSON where the global structure both has a value at a given node as well as sub-nodes.
Hi:
I've looked on many of these examples and questions how to post the JSON body but all the posts are a little complexly worded for me to follow.
so i have an EnsLib.REST.Operation
The example in ENSDEMO Directory Request says
Set tSC=..Adapter.PostURL(tURL,.tHttpResponse,"",pRequest.Body)
What i can't see is how in Demo Rest Directory request it happens to get the value of the message fields into
/// For JSON content submission
Property Body As %GlobalCharacterStream;
I have also played around with converting objects to JSON ect. All i want to do is post an example like this to the API
Hi, I am a novice. how run main method by stdio -> objectscript?
Class test.TestClass Extends %Persistent
{
// main
Method Main()
{
//how run main method
}
}
While the integrity of Caché and InterSystems IRIS databases is completely protected from the consequences of system failure, physical storage devices do fail in ways that corrupt the data they store. For that reason, many sites choose to run regular database integrity checks, particularly in coordination with backups to validate that a given backup could be relied upon in a disaster. Integrity check may also be acutely needed by the system administrator in response to a disaster involving storage corruption. Integrity check must read every block of the globals being checked (if not already
Hi ,
We have requirment to use SSO using SAML with windows azure.
Currently we are looking for sample cache code to implement the process.
Thanks,
Srinivasan
I have two tables in a row in my report, but if the first table gets too big to the point that tables 1 and 2 don't fit on the page, the page breaks.
The problem is that the page break is happening in the middle of table 2 and I wanted the page to break and leave table 2 on the second page.
No table grows to the point of occupying more than one page alone.
Any tips on how to guarantee this?
Remembering that the reports were made using Zen Report.
Hi Everyone,
I am trying the Export and Import application as per this link referred here: ExImData
I have the following sample class I am trying to import:
I have a case where our EMR is sending data, but not all the values needed for the Ancillary are valued properly and causes that message to error/halt processing on the Ancillary system, not ideal but its what they do. I would expect them to still process the message except that 1 field, but they don't.
I want to add validation to make sure certain fields are valued correctly for the Vendor.
So I add some statements to take those items that don't pass this validation out to a batch file with headers.
I created a csp that will capture image data from a html canvas element. I created a button element to save the contents as a dataURL string from jpeg and make a server call.
the string is too long
I would appreciate any suggestions in saving the data into the server, currently just a global.