Thanks @Vishal Pallerla
- Log in to post comments
Thanks @Vishal Pallerla
Thank you @Fellipe Anselmo Gemio
Thank you @Graziele Fonseca
Thanks @Karthickraja S
Thank you @Robert Barbiaux
Thank you @Brad Nissenbaum
Thank you @Evgeny Shvarov
Skip the documentation and go straight to the source: READY 2026 is where you gain the insider expertise to turn your most complex data challenges into your team’s greatest competitive advantage.
Thank you! Well done to the winners and a huge hats off to everyone who joined in.
Thank you @Harshitha
Kudos for all the winners!
Thank you @Liubov Zelenskaia
Thank you! @Muhammad Waseem
Thank you for recognition and kudo to the team!
Thanks @Prasanth Annamreddy
Thanks @Vachan C Rannore
Thank you @Irène Mykhailova
I’m incredibly grateful for the opportunity to serve as a Community Moderator in the InterSystems Community! Thank you for the trust and recognition. I’m excited to continue contributing actively and supporting our amazing community.
Thank you!
Hi everyone! 👋
I’m based in India and would love to join a Random Coffee Chat ☕
Availability: Mon–Fri, 11:00–20:00
Happy to connect and chat!
Done!
Hi @Scott Roth
The /api/mgmnt endpoint was previously used to retrieve OpenAPI 2.0 (Swagger) information for the web application. Therefore, if the web application class (%CSP.REST) is created using the traditional approach (manually created), use.
/api/mgmnt/v1/:namespace/spec/TableLookupto get the openapi 2.0 information.
Get all REST apps
/api/mgmnt/v1/:namespace/restapps The invalid oref error because of the target object "osuwmc.Epic.FHIR.DataStructures.PatientSearch.Response" not initiated. instantiating the target if it's not OREF.
If '$IsObject(target){
Set target = ##class(osuwmc.Epic.FHIR.DataStructures.PatientSearch.Response).%New()
}'Class queries (%SQLQuery) are designed specifically for SELECT operations (retrieving data) rather than for data modification (INSERT, UPDATE, DELETE). This is because the class compiler translates the query definition into ObjectScript code that implements Cursor Logic, which consists of three distinct segments:
Because this framework and its constraints, it does not support INSERT, UPDATE, or DELETE.
Glad to hear that. Thank you!
To get specific details like the line number, class, and function name during an exception, you can use the traceback module to extract the "execution frame" from the error.
By incorporating this logic into your code, we can generate a structured error message in IRIS format. However the PYTHON EXCEPTION has stack information but not detailed error information
ClassMethod pyClsError() [ Language = python ]
{
import traceback
import iris
class MathOperations:
def divide_numbers(self):
try:
print(1/0)
except Exception as e:
tb = e.__traceback__
stack = traceback.extract_tb(tb)[-1]
name = f"<{type(e).__name__.upper()}>"
cls = self.__class__.__name__
loc = stack[2]
lineNo = stack[1]
data = f"{loc}+{lineNo}^{cls}"
errobj=iris.cls("%Exception.General")._New(name,2603,data)
a=errobj.Log()
print("Caught exception: " + str(e))
obj = MathOperations()
obj.divide_numbers()
}ClassMethod pyFuncError() [ Language = python ]
{
import traceback
import os
import iris
try:
print(1/0)
except Exception as e:
tb = e.__traceback__
last_frame = traceback.extract_tb(tb)[-1]
# 2. Extract specific parts
error_name = f"<{type(e).__name__.upper()}>" # e.g., <NAMEERROR>
line_no = last_frame.lineno # e.g., 6
func_name = last_frame.name # e.g., <module> or my_func
filename = os.path.basename(last_frame.filename).replace('.py', '')
iris_error = f"{func_name}+{line_no}^{filename}"
errobj=iris.cls("%Exception.General")._New(error_name,2603,iris_error)
a=errobj.Log()
}Application Error Log
.png)
Thank you @Stephen Canzano
I'll try myself.
Thank you! ZPM load actually skip the .dfi file and eventually failed with " ERROR! Unable to import file '/home/irisowner/dev/Test/Test-UTest.pivot.DFI' as this is not a supported type"
Hi @Evgeny Shvarov
Thank you for the details. So, Do I need to keep the files in .xml format in my repo not in .dfi
Kudos to all the winners and the participants!