#ObjectScript

13 Followers · 1.6K Posts

InterSystems ObjectScript is a scripting language to operate with data using any data model of InterSystems Data Platform (Objects, Relational, Key-Value, Document, Globals) and to develop business logic for serverside applications on InterSystems Data Platform.

Documentation.

New
Question Jean-Michel Rault · 18 hr ago

Hi everyone,

I am testing an OAuth2 setup on InterSystems IRIS 2026.1 (Community Edition), based on a workshop with separate Auth Server and Resource Server instances (https://community.intersystems.com/post/learn-how-use-oauth2-openid-con…).

On the Resource Server, when I try to use Dynamic Registration and Save in OAuth 2.0 Client Configuration, I get this error:

ERROR #8881: Dynamic client registration endpoint is not configured.

What I already checked:

  1. OAuth2 Server configuration exists on the Auth Server.
  2. Issuer endpoint is set and reachable.
1
0 15
New
Article Dmitrij Vladimirov · Jun 16 3m read

Hi folks!
Our community is growing rapidly, and the knowledge base is incredibly vast. Whether you're a newbie, confused, and unsure where to start, or a seasoned IRIS veteran who occasionally forgets a few basic rules (it's normal and happens to everyone!), you'll find this brief overview of IRIS basics and all its wonders useful.
Here I'd like to begin a series of articles dedicated to this topic.
There will be eight main topics in total:

  1. InterSystems ObjectScript
  2. Build with REST APIs
  3. Managing Data Models
  4. Explore Integrated ML
  5. Interoperability & Integrations
  6. Introduction to IRIS HealthShare products
  7. Analytics & Business Intelligence
  8. Deployment & DevOps

Each of them will consist of four parts: Courses, Community articles, Documentation, Applications

This particular part will cover InterSystems ObjectScript. For your convenience, all categories will be hidden under a spoiler.
 

0
2 87
Article Jonathan Card · May 28 5m read

There seems to be a generous use of ClassMethods in ObjectScript code generally. I hope my own experiences aren't representative, but I bet they are. Forgive me for giving away the ending of this article, but in short: don't use them. Unless you can make a pretty convincing case that you have to, just never use them.1

What is a ClassMethod? In an ObjectScript class, you can define methods in two different ways: in a Method, you must instantiate an instance of the class to call the method, and in a ClassMethod, you can call the method without instantiating the class. Of course, in a ClassMethod, you don't have access to any properties of the object (because there's no object), but you can access globals (they are global, after all) and Parameters (which are class constants).

8
2 266
Article Ben Schlanger · Jun 8 4m read

Back when I was a Developer Support Engineer in the InterSystems Worldwide Response Center (WRC), I would occasionally receive cases involving large message backlogs in a production. The customer would discover that a subset of queued messages were no longer useful and would ask a question similar to the following:

Is there an established best practice for mass-aborting messages in a specific component's queue that match a particular set of criteria?

0
1 72