Question Kurro Lopez · Jul 21, 2022 Webterminal broken :( Hi all, I've just update the version of WebTerminal using the link, but now it doesn't work. When call to /terminal is displaying the following error: #Terminal #Caché #InterSystems IRIS 1 3 0 245
Question Kurro Lopez · Apr 26, 2022 Webterminal - Error connection to server Hi all, We just migrated the new Iris server 2021.2 all our productions in a develop server. It's a Windows 2019 server. I've installed Webterminal to have a good connection to this server remotly, but it is throwing this error message: #InterSystems IRIS 1 3 0 379
Article Kurro Lopez · Mar 4, 2022 4m read How to become a time lord - Time travel Time travel is like visiting Paris. You can't just read the guide, you have to throw yourself into it. Eat the food, use the wrong verbs, get double the charges, and end up kissing complete strangers. The Doctor We are now going to travel through time, that is, we are going to see future and past dates and how to calculate them in different formats. The TARDIS doesn't wait, take the controls and hold on tight. #ObjectScript #Tips & Tricks #Caché 8 5 0 471
Article Kurro Lopez · Mar 1, 2022 5m read How to become a time lord - The birth Good men don’t need rules. The Doctor. It's not an easy task to be a master of dates and times, it is always a problem and sometimes confusing in any programming language, we are going to clarify and put a few tips to make this task as simple as possible. Get on the TARDIS and I'm going to turn you into a Time lord #ObjectScript #Tips & Tricks #Caché 15 3 1 677
Question Kurro Lopez · Feb 17, 2022 How to don't throw Ens.Alert for messages from a Business Operation Hi all, I have a rule to throw a message when there is an error. I want to prevent send the email if the origin of the error is the API to send the email This is my rule Now, If there is any error in any process, it works, but if there is an error in MyProduct.BO.SendEmail it is trying to send the error again, and it is a infinite loop. Is there any way to check what is the origin and don't process if the origin is MyProduct.BO.SendEmail? #Business Rules #Error Handling #Caché #HealthShare 1 2 0 314
Question Kurro Lopez · Nov 4, 2021 How to convert datetime ISO 8601 to ObjectScript datetime Hi all, I have a process that recive a datetime in ISO 8601 format (YYYY-MM-DDThh:mm:ss+001) to %timestamp value. Example: set myDatetime = "2021-11-04T11:10:00+0100" I've triyed use $SYSTEM.SQL.CONVERT(myDatetime,"SQL_TIMESTAMP") but it doesn't work. Any idea? Regards,Kurro Lopez #Caché 1 7 0 839
Question Kurro Lopez · Oct 29, 2021 Use Rule to call WS 1 to n Hi all. I'm trying to create a route rule that can call to a web service according to a parameter of a message. My first attempt is the following: I have a common class with all information, BuscarHuecoRequest, and check what is the value of property "CodigoProveedor". #Business Rules #Caché #Ensemble 1 1 0 247
Question Kurro Lopez · Sep 23, 2021 Unexpected ContenType when call a WS Soap Hi community, I have a SOAP Client class that connect to a WS Service. This structure and configuration is the same for some providers that are integrated with my solution. If I call to a provider, it returns the XML expected. But there is a provider that raises an error: ERROR #6243: HTTP request to SOAP WebService returned response with unexpected CONTENT-TYPE: application/wsdl+xml #SOAP #Caché #Ensemble 1 3 0 325
Article Kurro Lopez · Aug 9, 2021 4m read Add a default setting value by code Hi community, This is another article about how to perform actions that you can do in the web portal but via code. Today.... Add a default setting value by code #Beginner #Management Portal #Tips & Tricks #Caché #Ensemble #InterSystems IRIS Open Exchange app 8 0 3 518
Article Kurro Lopez · Aug 4, 2021 4m read Add a business item in your production by code Hi community, This is another article about how to perform actions that you can do in the web portal but via code. Today.... Add a business item in your production by code #Beginner #Business Operation #Business Service #ObjectScript #Tips & Tricks #Ensemble #InterSystems IRIS 8 0 2 435
Article Kurro Lopez · Jul 30, 2021 3m read Add a Web application by code Hi community, I'm going to publish several articles on how to perform actions that you can do in the web portal but via code. Today.... Web Applications via code #API #Beginner #Code Snippet #ObjectScript #Tips & Tricks #Caché #Ensemble #InterSystems IRIS 9 0 3 577
Question Kurro Lopez · Apr 28, 2021 Query method in a class %Persistent using itself as parameters Hi all, I'm wondering if is possible to get the values of itself to run a query. I want to create some query to find a value into a %Persistent class but each one use diferent values. #SQL #Caché #HealthShare 1 6 0 269
Question Kurro Lopez · Apr 23, 2021 Sort alphabetically a list of names Hello everyone, I don't want to believe that Intersystems didn't add a method/process/rule to sort alphabetically a list of names (in array, $ LB or whatever) I haven't found any documentation about this. I've even tried comparing two strings but have not found a solution. My cry for help is... Does exists any command to compare two strings and check if one of them is lower or upper according to aphabet? Please, give me a light in this dark Best regards.Kurro Lopez #Caché 1 7 0 984
Question Kurro Lopez · Mar 10, 2021 SOAP Error CONTENT-TYPE response text/html instead of text/xml Hi all, I have a very weird error when I'm calling to a SOAP Webservice as client. I've create all objects to invoke to this SOAP using the add-in "Assistant SOAP" in Eclipse, it has created all objects (Response, Request, Business operation WS class, etc...). When I call to this service it retuns the following error message: ERROR #6243: HTTP request to SOAP WebService returned unexpected CONTENT-TYPE response: text/html. #Business Operation #Interoperability #SOAP #Caché 2 4 0 4.4K
Question Kurro Lopez · Feb 25, 2021 Export partial JSon to a response message Hi all, I have a API operation that is calling to a external process. The answer is a big json but I only want a pice of the full content. My first attempt is: #Caché 1 2 0 253
Question Kurro Lopez · Aug 25, 2020 Search an object in a ListOfObj Hi all. I have a reponse message that has a property of the type %Collection.ListOfObj and I need to search for an item in this list. Let me show you. #ObjectScript #Caché 1 5 0 417
Question Kurro Lopez · Apr 17, 2020 Failed to acquire exclusive lock error Hi all, I have a class that has been working so far :( The class extends the EnsLib.RecordMap.Service.FTPService class and add some information for each rows. Now, when it saves the object it is raising the following error ERROR #5803: Failed to acquire exclusive lock error I've seen the other question in the community and I've tried to unlock #Interoperability #Caché #Ensemble 1 5 0 1.4K
Question Kurro Lopez · Oct 30, 2019 API RESTful Version Hello, We need to create a versioning of an existing API, so we going to set a default version (so far) for current connections to version 1 My first attempt is: #Business Service #REST API #Ensemble 3 5 0 433
Question Kurro Lopez · Sep 4, 2019 BS FTP error waiting for files Hello everyone,We have a process that is listening to an FTP service to collect some CSV files and process them. The process works correctly and when it ends it clears the directory waiting for it to enter some other file.We have been receiving the following error message for a long time: #Business Service #FTP #Ensemble 1 4 0 891
Question Kurro Lopez · Jun 24, 2019 Create a Pass-through SOAP WebService Hi all,I'm triying to create a SOAP Pass-through acording to Configuring Pass-through Business Services instructions, but I'm not able to run it I'm using the following WebServicehttp://www.dneonline.com/calculator.asmx?wsdl #Interoperability #SOAP #Ensemble 2 3 2 983