Question Andy Stobirski · Jan 16 Authentication on a EnsLib.SOAP.Service service Hi All I have created a SOAP Service from a tutorial, using sample code, as follows: #HealthShare 0 1 0 35
Question Andy Stobirski · Dec 11, 2024 Listing CONNECTION parameter of tables extending %Library.Persistent I need to do an audit of Linked tables which are using a specific SQL Gateway connection, and there are many. This is defined by the parameter CONNECTION contained within the table class which extends Extends %Library.Persistent Is parameter exposed within a table somewhere? #Databases #InterSystems IRIS 0 1 0 45
Question Andy Stobirski · Aug 23, 2024 How do I get the instantiated name of a class Hi Guys How do get the item name of a class? I have several items derived from the same class, and for error reporting I want to get the name of the item which created it, rather than the class it is derived from from. e.g. InPhase.LEGACY.GetUpdateNotification, InPhase.LFPSE.GetUpdateNotification and InPhase.ADHOC.GetUpdateNotification are all derived from the same class InPhase.Services.LoadInPhaseUpdates #ObjectScript #HealthShare #Health Connect 0 6 0 179
Question Andy Stobirski · Jun 6, 2024 Terminal in error state after runny buggy code is apparently unusable afterwards Hi I have a question about terminal, when I run a class from it that contains an error I get a report of error as I would expect, and then an apparently random three letter code is appended to the namespace name in the prompt, as shown below. GMMHTIE>do ##class(temp.Nothing).What() w !, tParisAnswer ^<UNDEFINED>zWhat+23^temp.Nothing.1 *tParisAnswerGMMHTIE 2d1> Then, when I try to enter a command I get an error #Terminal #InterSystems IRIS 0 4 0 124
Question Andy Stobirski · May 23, 2024 SYS.VSSWriter is generating alerts in Messages.log Hi I've started seeing the following alerts in the message log of my Primary HealthConnect server 05/23/24-11:20:09:718 (6732) 2 [Utility.Event] Process 7248 generated 3 alerts in 10 seconds. Suspending alert notifications for this process. Process 6732 corresponds to #System Administration #Health Connect #InterSystems IRIS 0 5 0 103
Question Andy Stobirski · May 1, 2024 Debugging code doesn't work Hi Guys Two of the HC servers I manage (a mirrored pair) have lost the ability to debug code, and I am unsure as to why this has happened. Clearly something has changed, as the other three are working just fine. When I select a Class Method as debug target, add a few break points and run it, I get the following Output #Debugging #Studio #Caché 0 2 0 156
Question Andy Stobirski · Jan 23, 2024 Sharing code across namespaces Hi I'm having a tidy up of code across my multiple namespaces, and have moved the common code to a new database called DEVTOOLS. Currently, I'm copying code and updating code into new namespaces. How might I make code from namespace available to others? Cheers Andy #Namespace #ObjectScript #InterSystems IRIS 1 2 0 166
Question Andy Stobirski · Jan 21, 2024 How I access a REST web service I've created? I've created a Rest Service as described here Configured the webapplication as described in the previous link, and now have a URL which I call in PostMan #REST API #HealthShare #InterSystems IRIS 0 6 0 322
Question Andy Stobirski · Jan 20, 2024 Using ^%REST to Create a Service - Correct OpenAPI 2.0 version was not specified Update - I answered my own question, so I'll just leave this here in case it can help someone. Hi All I'm following the tutorial Creating and Editing REST Services and have reached the step Using ^%REST to Create a Service and have encountered an error. #REST API #InterSystems IRIS 0 4 0 191
Question Andy Stobirski · Nov 14, 2023 Cleaning text, removing characters which break XPATH Hi All I'm having a problem with cleaning user inputted text from a HealthCare system my HealthConnect system interfaces with. The input can be anything posted into an RTF box on an app which stored in oracle, and extracted by HealthConnect from oracle via an XML based API. When the XML is returned, various values are read out of it using %XML.XPATH.Document and it is the presence certain characters entered into the RTF fields cause XPATH to throw an error. For example, #XML #Health Connect #HealthShare 0 4 0 527
Question Andy Stobirski · Jun 29, 2023 Preventing healthconnect services from restarting after restarting the OS Hi all I need to do hardware maintenance on a physical HealthConnect server which forms one half of a mirrored pair, and It will require multiple restarts. So, I will need to prevent any HealthConnect services from restarting until all maintenance is completed. Is this just a case of disabling the service "HealthConnect Controller for <SERVERNAME>", or is there anything else I need to be aware of? Andy #Health Connect #InterSystems IRIS 0 2 0 187
Question Andy Stobirski · Mar 17, 2023 XML.Reader correlate produces ERROR #6277: Type attribute does not specify valid type for XML input tag I'm using %XML.Reader to open an XML file and use it's correlate method to try and convert it to a class. The conversion fails with an error of: ERROR #6277: Type attribute, LimitedFreeTextFieldInstance, does not specify valid type for XML input tag: Field (ending at line 3 character 118). This is the XML #ObjectScript #XML #InterSystems IRIS 0 7 0 475
Question Andy Stobirski · Jan 16, 2023 %SQL.Export.Mgr not formatting exported data correctly Hi Guys I've been using the example code %SQL.ExportMgr taken from here (an example from the intersystems community) an am having a few problems with it. The code I have is below, and I'm having the following problems: #ObjectScript #SQL #Caché 0 4 0 293
Question Andy Stobirski · Nov 30, 2022 Left outer join on tables returns no matches Hi I have two tables: one a local table using cache and the other is via an SQL gateway connection to an MSSQL Server via a 64bit ODBC driver (ODBC Driver 17 for SQL Server). When I try to join them on a date field I don't get any matches, and I know that there are matches, e.g. running both views separately returns resuls for 30/11/2022. The following statement returns rows for the first table r, but nothing for the table l #SQL #Caché 0 5 0 392
Question Andy Stobirski · Nov 7, 2022 Displaying custom icons in Zen TablePane Hi Can anyone explain how to display custom icons in a TablePane? Andy #ZEN #Caché #TrakCare 0 3 0 346
Question Andy Stobirski · Nov 1, 2022 tablePane with OnCreateResultSet returns no results when referencing other namespace Hi I have a Zen Page with tablepane which has a datasource in a different namespace to that of the Zen Page. When the page is run, no data is returned and the tablepane is not populate, even though the rerferenced table contains dat. The tablePane code is as follows: #Namespace #ObjectScript #ZEN #Caché 0 4 0 298
Question Andy Stobirski · Sep 27, 2022 Hyperlinks on Zen Toolbar menu items - how to add? Hi So, I have a zen toolbar and I've figured on how to populate with menu items. How do I add a hyperlink to menu items - I've been all over the support docs, and don't seem to be able to find anything. Also, I see that this component is marked as deprecated - is there a recommended replacement? Andy #ZEN #InterSystems IRIS 0 1 0 209
Question Andy Stobirski · Sep 26, 2022 Populating a toolbar Hi I have a Zen toolbar which I want to share across many pages as common feature - I know it can be populated with a javascript clientmethod that returns a JSON on each page as per this example - https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY... #ZEN #Caché 0 1 0 208
Question Andy Stobirski · Sep 10, 2022 Copy code to clipboard button zen control Hi Guys Is there a zen control that exposes the "Copy code to clipboard" functionality , as seen in the code sample of this page? Cheers #ZEN #Caché 0 0 1 289
Question Andy Stobirski · Sep 5, 2022 Hl7 viewer component Hi All I'm building a ZEN page that will dispay HL7 from a database, and am currently displaying it an textarea. Is the HL7 viewer that is displayed when HL7 message is selected in a visual trace available as an out of the box tool I can plug into a webpage? Andy #ZEN #Caché 0 2 0 280