I want to debug my class method when call REST service using postman.
Hello,
I am struggling to print out the actual property values of the Security.System class.
https://cedocs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.c…
I was hoping to be able to print the Authentication Enabled properties of a system from the command line using the Get or GetProperties class method. Currently, however, I am only able to get a return 1 or Invalid Oref error.
I would expect one of these to work, but I think I am missing something. Any tips?
%SYS>w ##class(Security.System).Get("
1
%SYS>w ##class(Security.System).
0 {?
Hello! I'm sending get request. When send the request bellow
Set httprequest.Server=url
Do httprequest.Get("/"_par1_"/"_par2)
Set statusCode = httprequest.HttpResponse.StatusCode
I get http status 200, but should get 410 status. Since the parameters passed are not valid.
If I send request differently as below, I get http status 410, which is correct.
What is the difference between these two requests Do httprequest.Get("/"_par1_"/"_par2) and Do httprequest.Get("/2019/0912")?
Hello,
There is a problem connecting clients through ODBC.
"ERROR [08S01] [Cache ODBC][State : 08S01][Native Code 459]
Connection via cconnect failed:
TCP connect() failed - exception satisfied select().
Reason: (10061, 0x274d) No connection could be made because the target machine actively refused it."
Error sometimes occurs. In cconsole.log there are only messages about high CPU usage.
ODBC and Cache version Cache for Windows (x86-64) 2013.1.4 (Build 801).
Any suggestions?
Hi all, I have released the latest version of VSCode extension for ObjectScript already a month ago, and finally a time for the info about this new release.
So, what's new in the release:
What's new in this version
- added export setting "objectscript.export.addCategory" if enabled uses the previous behaviour, adds category folder to export folder, disabled by default
- added Server actions menu, by clicking on server info from status bar. Open Management portal, Class Reference and toggle connection.
- Class Suggestion in ##class, Extends, As, CompileAfter, DependsOn, PropertyClass
- $SYSTEM suggestion by Classes from %SYSTEM
- Import and compile folder or file by context menu in File Explorer
- Server Explorer, now possible to open any other namespace
- Macros suggestion
For details how it works now, look further.
An exciting position has arisen for a Junior Application Support Analyst in an established support team at CDS Computer Design Systems Ltd CDS is an independent SME, based near Manchester City Centre, specialising in the Oil and Gas distribution software market for over 45 years with strong ties throughout the industry https://www.codas.com
The role will suit candidates looking to enter, or are at the start of their career in, the software industry who want to provide good customer service, enjoy finding solutions for problems and are enthusiastic about software and technology.
An exciting position has arisen for an Application Support Analyst 3rd Line, in an established support team at CDS Computer Design Systems Ltd. CDS is an independent SME, based near Manchester City Centre (United Kingdom) specialising in the Oil and Gas distribution software market for over 45 years with strong ties throughout the industry - https://www.codas.com
The role will suit candidates looking to work in the software industry who want to provide good customer service, enjoy finding solutions for problems and are enthusiastic about software and technology.
A SOLID Design in Cache Object
In this session, we will discussing SOLID Principle of Programming and will implement in a example.
I have used Cache Object Programming Language for examples.
We will go step by step to understand the requirement, then what common mistakes we use to do while designing, understanding each principles and then complete design with its implementation via Cache Objects.
If you have any questions or suggestions, please write to me - sethisourabh.hit@gmail.com
CodeSet - https://github.com/sethisourabh/SolidPrinciplesTraining
Hi All,
While Executing Custom SOAP fault got an error.Please help me out of this.
Sample Code:
set fault.faultcode=$$$FAULTServer
set fault.detail="<mymessage>Division error detail</mymessage>"
set fault.faultstring="Division error"
// ReturnFault must be called to send the fault to the client.
// ReturnFault will not return here.
do ..ReturnFault(fault)
Error Details:
<ZSOAP>zReturnFault+3^%SOAP.WebService.1
Advance Thanks
For Cache client install automation, where are the remote server settings stored on a Windows 10 PC?
Are they stored in the registry? I found the Cache registry key, but it only lists the remote server address and not the ports.
Are they stored in an INI file? If so, I haven't found it yet.
I can push the client install via the very helpful CEDocs URL (https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCI_windows_silentinst)
But the remote server must be specified and, so far, I can only specify it using the Cache Client GUI.
Hi,
I have a method that has multiple parameters and is normally used from other classes in ObjectScript. Most of the parameters have default values. Withing the server code that's perfect. In some areas I can call myMethod(,,"sometext") or myMethod(tVariab) and thats fine... I use it as it's required in each place.
But now I want to expose it as a REST service so I need to buld a kind of wrapper.
Hi Everyone!
Please watch the new video on InterSystems Developers YouTube, recorded by @Sourabh Sethi in the "Coding Talks" format:
Informative and Fast WEB API VIA ObjectScript and Ensemble/HealthShare
IRIS provides us with anti login CSRF attack mitigation, however this is not the same as a CSRF attack, as login attacks only occur on the login form. There are currently no built-in tools to mitigate CSRF attacks on api calls and other forms, so this is a step in mitigating these attacks.
See the following link from OWASP for the definition of a CSRF attack:
Hello Community,
For the Business Rules in a process i want to use a constraint where source could be FromA or FromB.
But looks like the constraint does not allow multiple source values.
Is there a way to provide multiple source in Constraint? Or is there a way in Rules to identify the Source ?
Thanks
Jimmy Christian
Hello ,
Need some help to write a Request message to the File using EnsLib.File.PassthroughOperation class.
Request object is sent to the Ensemble operation has below simple structure.
{
Property SiteCode As %String;
Property HospitalCode As %String;
Property PatientFirstName As %String;
Property PatientLastName As %String;
Property EncounterId As %String;
}
But in the operation i am getting error
ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zOnMessage+1 ^EnsLib.File.PassthroughOperation.1 *Stream,ABC.Req -- logged as '-'
number - @'
Quit:'$IsObject(pRequest.
Hi Community:
We're putting finishing touches on our Global Summit program, but I can share it with you now. Use it to plan your conference activities early.
Can it be that Global Summit is just next month, September 22 - 25?
So far we're beating last year's registration numbers, and we expect the sessions will be at capacity. Pre- and post-conference events are filling up fast, so REGISTER soon if you haven't already.
Yours,
Jacquie
We are developing an interface in Ensemble (v.2018) and would like to have common data visible and updatable from more than one namespace (sort of a lookup, but with more fields).
I can create a table in one namespace and inserting into it, let's say using SQL from the portal. I can also map that table to another namespace. It becomes visible there as a table, but new records inserted in one cannot be seen from the another namespace.
I am reading the documentation, but still no answer. Any help to speed me up?
Hi All,
I want to implement SOAP authentication and Security. Please let me know what are all the best ways to Implement it.
Advance thanks,
Hi Community:
If you're interested in the future of InterSystems technology, you won't want to miss these nine Global Summit sessions on our hottest technologies:
Roadmap Sessions
- Business Intelligence (BI) & Analytics Roadmap
- In-Place InterSystems IRIS™ Conversions
- InterSystems IRIS Adoption Guide
- InterSystems IRIS Cloud Roadmap
- Partner Hub: An Overview
- Personas: Your Team's Quiet Partners
- Selling InterSystems to Your Manager
- Showcase: InterSystems IRIS Directions
- User Experience Feedback: Focus on BI
REGISTER SOON. Early bird rates end August 30.
Thank you,
Jacquie
Hi Community!
Here is a digest of the InterSystems Developers videos on the InterSystems Developers YouTube Channel in July 2019. Please check it out!
| Top 10 Videos by Views | |||
| № | Video | Views | Watch Time (min) |
| 1 | Active Directory Integration with LDAP | 1 239 | 4 925 |
| 2 | Building Modern Web Applications | 731 | 3 737 |
| 3 | SMART on FHIR: The Basics | 526 | 5 027 |
| 4 | Developing with FHIR - REST APIs | 228 | 1 376 |
| 5 | Locking in InterSystems ObjectScript | 215 | 1 075 |
| 6 | Create Your First InterSystems ObjectScript Code with IRIS Community, Github, Docker and VSCode | 169 | 530 |
| 7 | Natural Language Processing with InterSystems IRIS | 152 | 393 |
| 8 | Sizing and Capacity Planning | 120 | 922 |
| 9 | GitHub Flow with InterSystems IRIS: Edit with VSCode, Test with Docker, Commit, Push, Pull Request | 118 | 505 |
| 10 | A SOLID Design in InterSystems ObjectScript | 118 | 885 |
Hey Guys,
Have enabled DeepSee on my cache db via
Do EnableDeepSee^%SYS.cspServer(0)
I have created user with access to a profile with all the %Deep_See options (%DeepSee_Admin, %DeepSee_Analyzer etc etc) as well as %All. I have also added %All to unknownuser
When click the DeepSee page and choose a namespace Architect, Analyzer, Reporting Data Definition and Reporting Builder are all greyed out with 'you do not have privilege to view this page
Pre-requisite - Basic knowledge of ENSEMBLE and ObjectScript
My both previous sessions were related to OBJECTSCRIPT.
This time, we are going to add a flavour Ensemble/Healthshare,
to be informative and fast.
In this session we are going to discuss about -
"Informative and Fast WEB API VIA ObjectScript and Ensemble/HealthShare"
Web API can be REST or SOAP. We will taking example of SOAP in this session.
However, whatever I demonstrate today, will also be applicable for REST.
Hi Developers!
This is the digest of new solutions and applications submitted to InterSystems OpenExchange in July 2019!
New Applications
Metrics example published by David Underhill
A simple example of collating database and license metrics
Dynamic SQL to Dynamic Object published by David Crawford
ObjectScript function to convert any SQL query into a dynamic object
Cogs JSON Class published by Sean Connelly
Convert JSON to and from InterSystems ObjectScipt classes
Objectscript Roman Numeral Converter published by David Crawford
Converts numbers into roman numerals using ObjectScript
Random Read IO Storage Performance Tool published by Tony Pepper
Random Read IO Performance Tool for InterSystems IRIS Database
Port published by Rubens Silva
Port is a VCS-agnostic Caché Studio utility to export or import Caché files based on projects instead of namespaces
Forgery published by Rubens Silva
An auxiliary tool used to mimic requests to %CSP.REST and Frontier Router-based classes.
Log Production Queue Counts published by Robert Hanna
A simple scheduled task and persistent table for logging production queue counts.
EnsDemo Iris installer published by Guillaume Rongier
ENSDEMO port to IRIS without HL7 and DICOM examples
Anti CSRF CSP published by David Crawford
A method for mitigating anti CSRF attacks on CSP derived API calls
Frontier published by Rubens Silva
%CSP.REST on steroids. Frontier is a REST framework made with the purpose of reducing boilerplate code and imposing a clean coding style
Python Gateway Samples published by Eduard Lebedyuk
Examples of PythonGateway Usage. Python Gateway for InterSystems Data Platforms
Cogs Library
Over the next few months I will be releasing a number of open source libraries and tools to the Caché community.
Most of the code has evolved from previous production grade solutions over the years and I am collating it together under a single overarching library package that I am calling Cogs.
Hi developers!
Every day coding with IRIS and docker I call the following 3 commands in VSCode terminal. Always the same for any projects:
docker-compose build ; to build the container docker-compose up -d ; to run the IRIS in container docker-compose exec iris iris session iris ; to open the IRIS terminal
Is there any way to map the key sequence which will type me the rest?
e.g.
irisb for docker-compose build, irisup for docker-compose up -d, irist for docker-compose exec iris iris session iris
I know and use keyboard sequences for mac, but it doesn't work in VSCode terminal :/
Preview releases are now available for the 2019.3 version of InterSystems IRIS and IRIS for Health!
Container images are available via the WRC's preview download site.
The version number for these releases is 2019.3.0.302.0
Public announcements will be made shortly, with separate announcements for each product.
InterSystems IRIS Data Platform 2019.3 is a CD (continuous delivery) release of InterSystems IRIS. It has many new capabilities including:
Continuous Delivery Releases of InterSystems IRIS
Node-level Architecture for Sharding and SQL Support
Infrastructure and Cloud Deployment Improvements
Port Authority for Monitoring Port Usage in Interoperability Productions
X12 Element Validation in Interoperability Productions
In many projects I was faced with storing hierarchical data (tree) in classes.
By tree, I mean such data, where each node has a parent node — an object of the same class.
Many examples of such data can be given. For example, a catalog in the online store. Suppose that this online store sells books, in this case, the category tree might look like this:
The number in front of the name is the category ID.
For storage, you can create classes:
The MyApp.Category class is used to store the category tree and contains the property “Parent” - reference to the same class.
In this article we are going to compare $Increment and $Sequence functions.
First of all, a note for readers who have never heard of $Increment. $Increment is a Caché ObjectScript function which performs an atomic operation to increment its argument by 1 and return the resulting value. You can only pass a global or local variable node as a parameter to $Increment, not an arbitrary expression. $Increment is heavily used when assigning sequential IDs. In such cases parameter of $Increment is usually a global node. $Increment guarantees that each process using it gets a unique ID.
Hi Developers!
Happy to share with you the release notes of InterSystems Developers community site in August 2019. What's new?
- Direct messages between registered members;
- Accounts merging;
- Better navigation for serial posts;
- Spanish DC enhancements: translated tags, analytics.
See the details below.
Let's have a round of CodeGolf!
As usual the goal is to write the shortest solution for a specified problem.
Today we have one of the classics: FizzBuzz.
Write a program that prints the numbers from 1 to 100.
But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”.
For numbers which are multiples of both three and five print “FizzBuzz”

