Question Kurro Lopez · Oct 28 Rename a namespace has removed all my code Hi all. I hope you can help me. I've renamed a namespace and its databases names. Old Namespace: LABORATORIO New namespace: SRV-LABORATORIO The rename of all has worked fine. When I've tried to access to the portal, it is no available, displaying the message "Tha namespace SRV-LABORATORIO does not support productions" So, I've run the following command in terminal #Databases #Namespace #InterSystems IRIS 1 2 0 104
Question Kurro Lopez · Oct 18 How to get the native sql error in SQL outbound adapter? Hi all, We have an restriction in a SQL database with a unique index. We want to catch that exception when it tries to insert or update a value that violates the unique index condition. #SQL #HealthShare #InterSystems IRIS for Health #Health Connect #InterSystems IRIS 0 3 0 53
Question Kurro Lopez · Oct 3 How to call BO to other BO Hi all, I'm wondering if it is possible to call a Business Operation from other Business Operation. I have a BO that writes logs into a database, using a personal message. I can create a set obj=##class(MyLogs).%New() but the BO has all parameters about connection. Is it possible? Best regards. #Business Operation #InterSystems IRIS for Health 0 3 0 82
Question Kurro Lopez · Jul 7 How to "real" training a machine learning model Hi all, Some days ago, I've seen a youtuber talking about how to create a neural network (sorry, is in spanish) https://www.youtube.com/embed/iX_on3VxZzk[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings] #IntegratedML #Machine Learning (ML) #Python #SQL #InterSystems IRIS 1 4 0 110
Article Kurro Lopez · May 21 9m read Open AI integration with IRIS - His master voice’s – Are you angry? Continuing with the series of articles on voice file management, we are going to see how we can convert text into audio and receive the file with the chosen voice.We will also explore how a service from OpenAI can help us analyze a text and determine the mood expressed in it.Let's analyze how you can create your own voice file and how it can “read” your feelings. #Artificial Intelligence (AI) #API #Business Operation #Framework #InterSystems IRIS Open Exchange app 2 0 2 250
Question Kurro Lopez · Apr 9 Convert %Stream.GlobalBinary to Base64 Hi community, I'm calling to a API that it is retrieving the content of a file as Content of response. I'm catching the binary but I need to convert this Stream to a Base64 string. I'm trying to convert a %Stream.GlobaBinary to a Base64 string using the following code, but it doesn't work. #API #JSON #Caché #InterSystems IRIS 0 6 0 306
Question Kurro Lopez · Mar 15 Event onPostDispatch %CSP.Rest or similar Hi all, For a requirement of the customer, we have a BS Rest api with a lot of methods, we need to get the IP of the caller, the method and what is the time that the API has taken to process. I've found the event onPreDispatch where I can take the IP, ClassMethod, etc.. I'm using a global variable to save this information. #API #Business Service #ObjectScript #REST API #InterSystems IRIS 0 5 0 142
Article Kurro Lopez · Mar 3 5m read How to send messages to Microsoft Teams Hi community, The aim of this article is to explain how to create messaging between IRIS and Microsoft Teams. In my company, we wanted to monitor error messages, and we used the Ens.Alert class to redirect those error messages through a Business Operation that sent an email.The problem was that we sent those error messages to a support account where there were many emails. We wanted something specific for a specific team. So we investigated how to make these messages reach the development team directly and they could have, in real time, a notification of an error in our production.In our company we use Microsoft Teams as a corporate tool, so we asked ourselves: How could we make these messages reach the IRIS development team? #Business Operation #Monitoring #Tutorial #InterSystems IRIS Open Exchange app 31 14 7 624
Question Kurro Lopez · Feb 12 How to get the Job id for a BS API Rest for debug? Hi all, As you know, it is very complicated to debug a Business Service Rest API because the object is created when the applications receive a request, so we cannot have the JobId that we can use to debug. https://docs.intersystems.com/iris20211/csp/docbook/DocBook.UI.Page.cls?... So, I'm trying to get the JobId when the class is being created, write a trace in OnInit() method and write the JobId in a log info #API #Business Service #CSP #REST API #Studio #InterSystems IRIS 1 3 0 177
Question Kurro Lopez · Feb 8 Deserialize class from JSon with nodes null Hi all, We have a class response inherited from %JSON.Adaptor with the following properties, also dependent classes: #API #JSON #InterSystems IRIS 1 3 0 158
Question Kurro Lopez · Feb 7 Error debug from VS Hi community. Yes, I know that there is other question "VS Code - debugging doesn't work" that is the same issue, but my IRIS instance is not using IIS. Some times ago, I could debug without problems, but after some updates of Visual Studio, I get the following error Failed to start the debug session. Check that the Intersystems server's web server supports WebSockets #Debugging #JSON #ObjectScript #Studio #InterSystems IRIS #VSCode 1 3 0 153
Question Kurro Lopez · Feb 1 How to process parallelly a process from a business service? Hi community. I have an API that is deployed in my production (business service) and it calls to a business process to retrieve the information that is requested. The problem that I have is that the calls are queued and it's creating a bottleneck The business process is taking more time than needed. Is possible to configure the BP to process parallely the requests? #API #Business Process (BPL) #Business Service #InterSystems IRIS 1 4 0 179
Question Kurro Lopez · Jan 31 How to clone a namespace? Hi community, We have a developed a new version of a production, all the code is new and has changed BP. This application load information for some brands and stored in database. The customer wants to implement the changes only for some brands because he wants to check for small brands before to implement for all brands. My proposal is create a new namespace, with the new code, and disabled all load of brands except the brand that he wants to check. I'm wondering what is the best way to clone the namespace. #Backup #Databases #Namespace #InterSystems IRIS #InterSystems IRIS for Health 1 2 0 227
Article Kurro Lopez · Dec 8, 2023 8m read Open AI integration with IRIS - File management Artificial intelligence is not limited only to generating images through text with instructions or creating narratives with simple directions. You can also make variations of a picture or include a special background to an already existing one. Additionally, you can obtain the transcription of audio regardless of its language and the speed of the speaker. So, let's analyze how the file management works. #Artificial Intelligence (AI) #Business Operation #Framework #Generative AI (GenAI) #InterSystems IRIS #Open Exchange Open Exchange app 9 2 1 398
Article Kurro Lopez · Jun 19, 2023 8m read Open AI integration with IRIS As you all know, the world of artificial intelligence is already here, and everyone wants to use it to their benefit. There are many platforms that offer artificial intelligence services for free, by subscription or private ones. However, the one that stands out because of the amount of "noise" it made in the world of computing is Open AI, mainy thanks to its most renowned services: ChatGPT and DALL-E. #Artificial Intelligence (AI) #Business Operation #Framework #Generative AI (GenAI) #InterSystems IRIS Open Exchange app 15 6 3 1.2K
Question Kurro Lopez · Jun 1, 2023 Call to business operation dinamically from HL7 Router Hi all, I'm wondering if is possible to call to a BO from a HL7 Route according to a parameter of the HL7 Message I mean, According to the identify of the laboratory, I want to call to other TCP process to retrieve information about blood tests. We are creating the BO using this partern. LAB.BO.TCP. + name of the laboratory. The name of the laboratory is stoted in the lookup table T_LABORATORIOS I've tried to assign the name into a variable and put it in the "send" instruction, but it doesn't work. #Business Rules #HL7 #Interoperability #InterSystems IRIS 1 3 0 211
Question Kurro Lopez · Apr 19, 2023 Replace text by args Hi all, I'm wondering if exists any command or method to replace a text using parameters. In C# I use the Format property #Key Question #InterSystems IRIS 1 11 1 370
Question Kurro Lopez · Mar 14, 2023 Error installing ZPM Hi all, I'm trying to install ZPM into a new instance of IRIS to download packages of utilities in our develop server. When I'm loading the file zpm-0.5.3.xml it is throwing the following error: Any help? Thanks in advance #InterSystems Package Manager (IPM) #InterSystems IRIS for Health 1 4 0 314
Article Kurro Lopez · Feb 4, 2023 2m read How to deploy your production in the simplest way Usualy, if you want to deploy a solution, you need to add the items, configure your lookup tables and default configuration manually. It's okay if you have all the permissions and privileges to perform these actions. If you want to deploy to a client's production server, and you don't have the permissions, you need to indicate in a document ALL the steps that the deployment manager has to perform. #Deployment #Ensemble #InterSystems IRIS #Open Exchange Open Exchange app 2 0 0 256
Question Kurro Lopez · Sep 19, 2022 Get HttpStatus in a response using EnsLib.HTTP.OutboundAdapter Hi community, I have to do a development that should to connect with a external REST API and it throws different HttpStatus and a body content with the description of the problem. I'm using the following code: #REST API #Caché 1 2 0 297