Move it outside the `objectscript.conn` object please.
- Log in to post comments
Move it outside the `objectscript.conn` object please.
That's one of the things the new extension is designed to achieve.
Great article, thanks! But is the first paragraph of the section titled "Insert con archivo" a test that we read carefully? Or intended to prove it wasn't written by a chatbot (which of course it wasn't)?!
@Evgeny Shvarov
Did my suggestion help you get started with this extension?
I'll be showing DX Jetpack on one of the stations at Drinks & Demos on Monday evening at Global Summit 2023.
I guess you need this one:
.png)
Since you are working client-side I think you need to set a intersystems.testingManager.client.relativeTestRoot setting to contain the workspace-relative path to the tests folder that's showing at the beginning of the breadcrumb in your screenshot.
Please see point 2 of https://github.com/intersystems-community/intersystems-testingmanager#w…
Yes, I recommend you migrate away from using XML exports of class definitions.
Also welcome are reviews, which can be posted on Marketplace and on Open Exchange.
Thanks for the positive response. IMO the main thing needed before the Preview tag gets dropped is feedback from %UnitTest users.
One motivation for publishing the Preview is the upcoming Global Summit, which I hope will be a good opportunity for in-person discussion about this extension and others. Find me at the George James Software booth in the Partner Pavilion.
Outline information is always available in the CHANGELOG, and instead of waiting for a post here I suggest you configure VS Code to check for extension updates without installing them automatically. That way you'll know when you update this extension, and it's easy to review the CHANGELOG in Extensions view afterwards.
I think there's also a Discord channel that notifies about releases.
%UnitTest mavens may be interested in this announcement:
https://community.intersystems.com/post/intersystems-testing-manager-ne…
Unit testing from within VS Code is now possible. Please see https://community.intersystems.com/post/intersystems-testing-manager-ne…
@Michael Davidovich you might find this extension useful for exploring inherited methods etc:
https://marketplace.visualstudio.com/items?itemName=georgejames.objects…
@Iryna Mykhailova please also look at VS Code's recently-introduced Profiles feature. I imagine this could be useful in learning contexts.
It looks like you are trying to use "Import and Compile" with an XML export. This won't work, as it only supports UDL-format exports. VS Code users can create those exports from the ObjectScript view.
Based on the hl7, inc and mac folders visible in your screenshot it looks like you might want to set the following in your VS Code settings before using the export if you want to replicate that style.
"objectscript.export.addCategory": true,
I also suggest you start off by opening an empty folder in VS Code, then export into that. This will avoid polluting your existing working folder structure while you get the hang of using VS Code with InterSystems servers.
@Larry Overkamp my reply was focused on what @jaroslav rapp had posted.
You also wrote:
(We don't use a source control system.)
Have you considered changing this situation? If so please take a look at Deltanji from George James Software (my employer). Some videos are available at https://www.youtube.com/playlist?list=PLGnA3ZIngG4oOUCEmplIYgSknQpNOtF08
Yes, you can do this in VS Code. Even better, when using the server-side editing paradigm a single VS Code instance can connect simultaneously to multiple namespaces on one or more servers, and you can drag/drop and copy/paste between them.
With our 2023.2 release we are deprecating InterSystems Studio (deprecated
designates a feature or technology that InterSystems no longer actively develops, and for which better options exist). We will continue to maintain, release, and support InterSystems Studio for quite some time, and we appreciate that it is still an important tool for some customers. However, customers should be advised that we are not investing in it. Our focus is on VSCode.
In what sense is this an "attack"?
For animated GIFs it would be neat if the DC software could use a technique such as this to automatically add a play/pause button:
https://codepen.io/chriscoyier/pen/pogQJER
That Codepen sample plays such GIFs by default unless user's browser preference is set for reduced motion (see the JS in the sample), but by not setting the 'open' attribute on the details tag (line 5 of the HTML in the sample) it could always start paused.
The technique relies on having a static image containing one frame of the animated GIF, so that would need to be done server-side when an animated GIF is uploaded.
Did you try using the "Add/Remove Programs" option in Windows (might be named differently depending on your exact version)?
By doing a second install using Normal level security, then comparing webapp settings, I have tracked down the cause of my problem.
My install was a Minimal security one, after which I changed the settings of the /csp/sys web app and its sub-apps /csp/sys/* by clearing the Unauthenticated checkbox and setting the Password one.

But it seems that unless I do the same for the /api/interop-editors webapp I get a Rule Editor authentication page which I am unable to get past, not even by entering the credentials of the same %All-role user I logged into /csp/sys (i.e. Portal) with.
As soon as I made the change to /api/interop-editors I was able to get into the new Rule Editor, seeing only a brief flash of its authentication paged.
Here are the tweaked Minimal-security settings that work for me (i.e. authentication required to access Portal, from where I can move without challenge into the new Rule Editor):

The technique I have seen used is to run a JS timer which will run for, say, 120 seconds less than the session timeout. Restart the timer each time something happens that will cause the server-side session timeout to restart. When the JS timer expires, display the "2 minutes before timeout" message, perhaps with a countdown run by another 1-second JS timer.
Hi Brendan, at https://wrc.intersystems.com/wrc/endusernewprob2.csp the Product dropdown I get doesn't include any Preview entries.
This seems to include a new Rule Editor, but I'm unable to get past the authentication page it displays after I use my usual pathway from Portal (Interoperability > Build > Business Rules).
.png)
I have logged WRC 972106 about this (though WRC Online doesn't yet offer 2023.1 as a version choice).
Can you help us understand why you want each routine exported into its own separate file?
Third choice could be phrased better:
.png)
I suggest "Doesn't matter, I will use Community regardless of interface color."