Evgeny Shvarov · Dec 16, 2025 go to post

You may ask: how to export the file?

There is a special "helper" package "isc dev", once installed via:

zpm "install isc-dev"

and set up then as:

do ##class(dev.code).workdir("/home/irisowner/dev/src")

it will allow at any moment to export all the DFI at once into your dev folder with the command:

d ##class(dev.code).export("*.DFI")
Evgeny Shvarov · Dec 16, 2025 go to post

Hi Ashok!

Yes, you can use IPM to support DFI files.

"Lazy", aka "dirty" way - introduce the following resource:

<Resource Name="*.DFI" />

like here, which will package everything you have in a src/dfi folder. Convenient but not optimal and can introduce problems while working with more than one IRIS BI packages.

in this case resource will import all the 100+ DFIs (pivots, dashboards) into IRIS (via load command) and package/publish then:

Don't ask me, why DFI is an XML in fact.

Evgeny Shvarov · Dec 7, 2025 go to post

Hi @John Murray! Yes, unfortunately, we removed the option of providing demo hosting from the InterSystems community for now. Hopefully coming back with better proposals.

Evgeny Shvarov · Nov 27, 2025 go to post

Ideally, if you share the code sample somewhere so devs can reproduce and see what's really going on

Evgeny Shvarov · Nov 26, 2025 go to post

Perhaps there are no rows that satisfy the dimension conditions?

Or maybe there are build constraints? (1000 rows?)

Evgeny Shvarov · Nov 18, 2025 go to post

Thanks @John Murray ! It's a good idea. I'm not sure if the Ideas portal allows such functionality, as it turned out that we are not the first enterprise to consider bug reporting functionality via a private channel of communication, but it makes sense to me.

Evgeny Shvarov · Nov 18, 2025 go to post

Public exposure of critical bugs is not the best way to support the community. On the contrary, it could be a serious threat to thousands of working and important services. 

Evgeny Shvarov · Nov 17, 2025 go to post

Yes. You find a bug and report it privately to InterSystems, avoiding public exposure. 

I wouldn't name this new service to report bugs as "philosophy" as it is a newly introduced service for developers who encounter bugs. We'll see how it works, and maybe after some time, we can assess if it can be a "philosophy" or a reasonable approach. Let's see.

Evgeny Shvarov · Nov 17, 2025 go to post

Hi @Dmitry Maslennikov ! Thanks for highlighting that! The point is that bugs can be dangerous, so we have the privilege to know it in advance and address and take care of InterSystems customers. 

We introduced this service to have a legitimate way to report bugs found by developers while developing with InterSystems products.

Evgeny Shvarov · Nov 16, 2025 go to post

Could you please elaborate? There are no scripts. The response I'm getting in Postman is "1", so it is $$$OK.

And no evidence of

do ##class(%CSP.Utils).DisplayAllObjects()  

output.

Evgeny Shvarov · Nov 11, 2025 go to post

Or just add a method in a cube class that does what you want and call it via:

%cube.YourMethod(%source.%Id())

Evgeny Shvarov · Nov 11, 2025 go to post

you can go for:

$property(%source.%PackageName()_"."_%source.%ClassName(),"client_name")
Evgeny Shvarov · Nov 10, 2025 go to post

But I must say Postman seems as a great tool to debug REST API in IRIS, even while debugging local stuff. And it can build collections on the fly on open-api spec provided - very convenient!

Evgeny Shvarov · Nov 10, 2025 go to post

Hi @Eduard Lebedyuk !

Unfortunately, this approach is not working (at least for me) while using ^%REST approach and disp->impl implementation classes schema:

If I put this into the impl classmethod, the only thing I'm getting back in Postman is 1:

Evgeny Shvarov · Nov 10, 2025 go to post

Yes. The initial idea for intersystemsdc was to avoid waiting on the Docker build process to install IPM and other syntax sugar and good stuff from OEX.

So, maybe we don't need intersystemsdc now very much to always get along with official containers set.

Evgeny Shvarov · Nov 9, 2025 go to post

It is also possible to install Python packages along with IPM via requirements.txt entry. In case it helps anyhow.

Evgeny Shvarov · Oct 26, 2025 go to post

Another one-liner suggested by @Robert Cemper recently:
 

k ^SPOOL s %io=$I O 2 u 2 ZW %anyvariable c 2 u %io

E.g. if you want to expose the content of %request during REST API method debugging, to write all the contents of %request to ^SPOOL global:

k ^SPOOL s %io=$I O 2 u 2 ZW %request c 2 u %io

and then ZW ^SPOOL in the terminal.

Evgeny Shvarov · Oct 26, 2025 go to post

It is a global, again, though... But a very interesting and useful way to convert any write to a device into a global. 

Deserves a one liner input! 

Evgeny Shvarov · Oct 26, 2025 go to post

Thank you, @Robert Cemper !

This works like a charm! 

So, in my case, I also wanted to see what's in a stream object that comes into the method (you may ask me how I don't know this, as it is method I coded? ) I don't, as it is a generated one via %^REST):

ClassMethod submitForm(formData As %Stream.Object) As %Stream.Object

{

set formDataObj= {}.%FromJSON(formData.Read())

k ^SPOOL s %io=$I O 2 u 2 do formDataObj.%ToJSON() c 2 u %io

return $$$OK

And then I do a REST API call and can see data in the terminal with zw ^SPOOL global:

USER>zw ^SPOOL
^SPOOL(1,1)="{""amount"":0,""name"":""John Doe"",""taxid"":""AB123456C"",""nationality"":""british"",""email"":""john.doe@example.com""}"
^SPOOL(1,2147483647)="{67504,40535{2{"

Simple and easy! Fantastic, @Robert Cemper !

Evgeny Shvarov · Oct 25, 2025 go to post

Wow, thanks @David Hockenbroch ! 

Is it as simple as that? So when we receive a web call, it is all about the %request with the Method and content filled?

This could also be the way to unit-test REST-API methods