Skip to Main Content
InterSystems Ideas
We love hearing from our users. Tell us what you want to see next and upvote ideas from the community.
* Bugs and troubleshooting should as usual go through InterSystems support.
Status Future consideration
Categories InterSystems IRIS
Created by Joan Pérez
Created on Jul 24, 2023

Import classes with ES6 syntax

Being able to import classes into another class for example using ES6 syntax, this way you could reduce the use of ##class(Sample). throughout the document when it is needed repeatedly in more than one place.

A possible example would be to be able to put in the class declaration something similar to

import sample from "SampleClass";

and use it inside the class by calling

..sample

accessing whatever properties and methods it has available.

  • ADMIN RESPONSE
    Oct 2, 2023

    Thank you for submitting the idea. The status has been changed to "Future consideration".

    Stay tuned!