Find

Question
· Jul 9

Why isn't my SearchTable Generating Anything When I Run BuildTable

I'm trying to gather more data for one of my namespaces so I can do some analysis. However when I run .BuildIndex() nothing populates in the resulting SQL table. I've tried deleting the class and reimporting and compiling and still nothing. I feel like I'm doing something OBVIOUS that's wrong but I can't quite figure out what it is. Here's what I'm doing (Customer name redacted)


 

Class CUST***.System.Cerner.Hl7.SearchTable Extends EnsLib.HL7.SearchTable

{



Parameter DOCCLASS = "EnsLib.HL7.Message";



Parameter EXTENTSIZE = 4000000;



XData SearchSpec [ XMLNamespace = "http://www.intersystems.com/EnsSearchTable" ]

{

<Items>

<Item DocType="***_CernerORU:ORU_R01" PropName="AccountID" PropType="String:CaseInsensitive" StoreNulls="false"

Unselective="false">{PID:PatientAccountNumber.ID}</Item>

<Item DocType="***_CernerORU:ORU_R01" PropName="EventID" PropType="String:CaseInsensitive" StoreNulls="false" Unselective="false">$PIECE({ORC:FillerOrderNumber(2):entityidentifier},"^",1)</Item>

<Item DocType="***_CernerORU:ORU_R01" PropName="ContentType" PropType="String:CaseInsensitive" StoreNulls="false" Unselective="true">{OBX(1):ValueType}</Item>

<Item DocType="***_CernerORU:ORU_R01" PropName="FileType" PropType="String:CaseInsensitive" StoreNulls="false" Unselective="true">$EXTRACT([OBX(1):5.1],1,5)</Item>

</Items>

}



Storage Default

{

<Type>%Storage.Persistent</Type>

}



}

3 new Comments
Discussion (3)3
Log in or sign up to continue
Question
· Jul 9

How to set up a "silent" error?

I like Application Error Log a lot, both for its full stack and a big list of variables. I'd like to "hack" this functionality and record the same in this log when a certain variable has a certain value. This quasi error should not be visible to the user, and it should not interrupt the application flow. Is that possible?

Throwing an error in a try-catch block does not record the error, tested. I am considering recording variables and the stack differently, I know how to do both, but that would miss the nice Application Error Log functionality.

Upd: I got an immediate DC AI Bot reply. Offhand seems reasonable :-)

5 new Comments
Discussion (5)2
Log in or sign up to continue
Question
· Jul 9

<DIRECTORY> Error while connecting the studio

Hello Community,

I got below error while connecting the IRIS studio. However, executes Write ##class(%File).DirectoryExists("c:\intersystems\irishealthcomm\mgr\hscustom")returns true and terminal and SMP works

thanks!

4 new Comments
Discussion (4)4
Log in or sign up to continue
Announcement
· Jul 9

Kick-off Webinar for InterSystems Developer Tools Contest 2025

Hey Community,

We're pleased to invite all the developers to the upcoming kick-off webinar for the InterSystems Developer Tools Contest!

Date & Time: Monday, July 14 – 11 am EDT | 5 pm CEST  

Discover the exciting challenges and opportunities that await developers in this contest. We will also discuss the topics we would like the participants to cover and show you how to develop, build, and deploy applications using the InterSystems IRIS data platform.

Speakers:  
🗣 @Raj Singh, Project Manager - Developer Experience, InterSystems
🗣 @Evgeny Shvarov, Senior Startups and Community Programs Manager, InterSystems
🗣 ​​​@Derek Gervais, Developer Relations Evangelist, InterSystems

✅ Register for the kick-off today!

Discussion (0)2
Log in or sign up to continue
Question
· Jul 9

How can I get the value of a submit button (ie the name on the button) from a CSP Object?

I am trying to get the value of a Submit button on a CSP object page.

<input type="Submit" value="Assign" name="action" id="action">

I tried getting it thru $GET(%Request.Data("action")), but it throws an Undefined error. Isnt $GET supposed to handle it if its undefined anyway?

How do I get the "value" of the button pushed when the form is set to POST?

5 new Comments
Discussion (5)1
Log in or sign up to continue