Those who code IRIS solutions in VSCode using Docker often use the convenient ObjectScript menu, which contains links to Management Portal, Class Reference, Unittest portal, Productions, etc.
While drilling down to a Dev Container to code Embedded Python there is no such option, at least within my settings:
I programmed some server command by my own. That server commands worked fine for a long time.
Suddonly I received
Studio Action "Attempted Edit" not supported on 127.0.0.1:57772[CTAE01]
by using one of my server commands.
There is an explanation:
Error running command vscode-objectscript.serverCommands.contextOther: Running the contributed command: 'vscode-objectscript.serverCommands.contextOther' failed.. This is likely caused by the extension that contributes vscode-objectscript.serverCommands.contextOther.
Is CR/LF changes to DTL files edited/committed to git via VS Code a known issue?
We had an issue with exporting files from one server and importing on another, using XML code exported from Studio: ERROR #6301: SAX XML Parser Error. Turns out that issue was down to CR/LF changes made when transferring the XML from one server to the other.
i'm starting to try to switch to VS Code with ISC integration plugins. Everything seems fine until i get to and environment with CCR enabled. I can't open any class in RW and i don't know how to check the class out.
Is there a way to include a prefix for the instance name in the server connection? I have 1 server with multiple iris instances, using 1 webserver. Each instance can be reached using a prefix in the url: (for example https://localhost/instance1/...).
I want to use VS code remote, but can't add the prefix to the hostname (or ip), and also not to the port, as this is numeric. Any idea how to solve this?
I am trying to set up VS Code so that it will connect to a new server running IRIS 2023.1, and I can't seem to get the setup to accept my errors. I enter all the requested information, and at the end I receive a message:
I recently moved to a Mac M2. I was already using VSCode on my intel-based Mac, and used the plug "objectscriptQuality for VSCode". It installs nicely, but it does not seem to do anything, not even an error. I installed the same java version (but ARM based) as on my old machine so that prerequisite is met. Also set the path to java in VSCode.
Any clues/has anyone got this working on a Mac based on Apple silicon M1/M2 chips?
Upgraded IRIS/Connect to 2022.1 and /api/atelier no longer works through a Web/CSPGateway. Also upgraded the Web/CSPGateway to version WebGateway-2022.1.0.152.0 on Ubuntu and HTTPD Server version: Apache/2.4.29 (Ubuntu) with no luck as well.
It doesnt seem to matter if I add /api/atelier or /api/monitor to the enabled applications list, these routes do not make it back to the instance, however /csp, /csp/sys still does.
When we add a new class in VSCode, the name automatically is set to <Folder>.<Filename>.
Because we are doing interoperability, we remove the default and type "interop" to get assistance on creating the class. This works fine on some machines, however on others it generates:
I want to develop a web application in which a user can log in through the user credential of intersystems that is created in Management Portal for a specific role. How can I authenticate the user and get any token or login cookie through which user can call other apis
Hi. This is my first post on this forum; I've tried to open an issue on the official repo , but it seems inactive from more than a year, so I can't receive an answer from there. I would like to know if someone use that extension and know how to use it when working server-side on an IRIS server. I have no problem when coding on a file saved locally. Thanks in advance
Every class on the server throws this same error when trying to run the debugger. I've already made sure I don't have the %SecureBreak role assigned which seems to typically fix this issue. Any advice on how to troubleshoot this would be greatly appreciated!
Error is : <COMMAND>zDebugStub+40^%Debugger.System.1
I'm very new to this ecosystem so please bear with me:
I've startted learning online and have installed everything I need. I have VS code and I have most definitely installed the pack (3 packages) needed for working on it with ObjectScript. Even though this is the case I'm running into 2 problems:
1. when I type "class" I only get 4 option for auto complete. no "class with multiple inheritances" or anything of the sort. In fact, no Class at all, only ClassMethod. ClassResponse etc.
Context: Ensemble development with ObjectScript in a healthcare context - lots of HL7, and some web service stuff. We've used Studio up till now, alongside a lot of leaning on an external developer, but are expanding our team and doing more in-house. We are wondering about Visual Studio Code - not least because it looks easier to hook up to source management solutions. And we've noticed that the test environments that you get connected to when doing many of the online training courses on learning.intersystems.com give you a Visual Studio Code environment.
My VSCode folder was set up to connect to a namespace, but the namespace was deleted. I tried changing the namespace from the menu but it fails (could not retrieve list of namespaces), but I do get the following error message:
I am trying to adjust my VSCode settings.json to make my repository to Server Side Source Control. When Adding "uri" to the settings.json to change the setting but VSCode is telling me that the Property uri is not allowed.
We are in the process of migrating from Ensemble to IRIS.
After the migration I would like to find all usages of deprecated classes and methods in all of our code. This is to align with the changes in package like %SYSTEM.SQL for example.
Is there an easy way to do this, or maybe a tool that can assist?
is there any way how to hide or remove storage "Histogram" section in the file with persistent class definition, but keep the data both in globals and sql table? The reason is that we use on-premise version control system and since the data is sensitive, it cannot be uploaded along with the files.