Question Kurro Lopez · Oct 30, 2018 FTP.Rename doesn't work in SFTP Hi all,I have a FTP.Inbounding service that read a file and move it to a other folder when it is processed. The problem is that is not working fine in SFTP server.The code is coppied from How to - Customize Ensemble Settings article. #Ensemble #Business Service #FTP 1 4 0 1.6K
Question Kurro Lopez · Sep 13, 2018 Purge Task History manually Hi,I've read into console.log that there is some problems writing the global Task History 09/13/18-09:33:00:109 (9052) 0 Error al escribir en global de historial de tareas - Error (ERROR #5002: Error de cache: <DATABASE>%SaveData+20^%SYS.Task.History.1 ^SYS("Task","HistoryD",66179),c:\intersystems\healthshare\mgr\) #Globals #Ensemble 1 2 0 380
Discussion Kurro Lopez · Sep 5, 2018 Remove comment/answer Hi community, This is an idea to improve the community. Add a button to remove a comment/answer in a post. There is not a way to remove a comment, only I can edit. For example, duplicated comment, an answer that it was for a post but I've written in other one. etc... Best regards, Francisco López #DC Feedback 0 1 1 266
Question Kurro Lopez · Sep 5, 2018 Error when displaying message in a production Hi all,We have a big problem because we have the following message when I try to open the messages in a production. ERROR <Ens>ErrException: <DATABASE>zfindStatement+29^%SQL.DynamicStatement.1 ^%sqlcq("MYNAMESPACE","Query",8,"Gns8AZO5dJclytqv13l9gUuLUyo=",""),c:\intersystems\healthshare\mgr\cache\ -- logged as '-' number - @'' SOURCE ELEMENT: %ZEN.Component.tablePane (resultsTable) #Ensemble #SQL #System Administration 1 4 0 451
Question Kurro Lopez · Aug 29, 2018 Error when FTP folder is empty EnsLib.FTP.InboundAdapter Hi community,I've created a BS that uses FTP InboundAdapter. It works, read the file and process it.The problem is when there not any file in the FTP folder, it raises the following error: ERROR <Ens>ErrFTPListFailed: FTP: error en List para *.csv (mensaje='No-transfer-time exceeded. Closing control connection.',código=421)I think it is something about the configuration, but I don't find what is the problem. #Ensemble #Business Service #FTP 1 4 0 652
Article Kurro Lopez · Aug 8, 2018 1m read Translate a number to text (II) Hello community, I am pleased to announce version 1.1 of this project. Now Russian #Tips & Tricks #Tools #Caché 5 6 0 420
Question Kurro Lopez · Jul 26, 2018 Export all code in one file Hi all,I want to export a production in one file, but it has some code in macros, include and class files. I'm exporting using portal (Classes / Select All / Export) but I need the same in macro's tab and copy the content in one file. #Caché #Change Management #Deployment #Ensemble 3 6 2 1.8K
Article Kurro Lopez · Jun 24, 2018 2m read Translate a number to text Hi all,I'm pleased to announce this personal project to convert a number to text, in spanish, english, catalan and russian.the aim of this function is to convert numbers into text. It allows a maximum number of 15 digits. #Git #Tips & Tricks #Tools #Caché 11 12 4 1.1K
Question Kurro Lopez · Jun 12, 2018 "IF THEN - $SELECT - $CASE" - What is the best way? Hi all,I'm wonder what could be the best way convert the sentence "Switch" C# into Cache code. int caseSwitch = 1; switch (caseSwitch) { case 1: Console.WriteLine("Case 1"); break; case 2: Console.WriteLine("Case 2"); break; default: Console.WriteLine("Default case"); break; } My first attempt was: #Caché #Coding Guidelines 1 16 1 2.7K
Question Kurro Lopez · Feb 21, 2018 Migration to Healthshare 2017.2.1 problem %SuperSession ID Hi all, We have migrated our Ensemble instance from Healthshare 2016.2.1 to 2017.2.1, after all process we are checking that all namespaces are working propertly. The first problema was checking a business operation that calls to a WebApi with the following error message: #Ensemble #HealthShare 1 6 0 486
Article Kurro Lopez · Feb 21, 2018 1m read Calculate the age of a person Hi all, I've created a method to calculate the age of a person, or the age of a process, contract or other stuff as you want. #Beginner #Caché #Code Snippet #Tips & Tricks 5 2 0 1.5K
Article Kurro Lopez · Jan 24, 2018 3m read Copy part of the properties to another object Sometimes, we need to copy part of the properties of an object into a different one. The simplest thing would be to do the following: Set obj1.FirstName = obj2.FirstName Set obj1.SecondName = obj2.SecondName What happens if the object contains a large number of properties? or we just want to extract an important group of data, and complement the information in another object? Having the following classes: #Beginner #ObjectScript #Tips & Tricks #Caché 4 6 0 1.4K
Question Kurro Lopez · Jan 10, 2018 Configure IIS for WebApplication in Ensemble Hi all, I've configured my Ensemble instance to use IIS 7, according to the instructions CSP Gateway configuration Guide and I've configure the CSP Virtual application. All the process about Native modules is done. #Development Environment #System Administration #Web Gateway #Ensemble 1 7 0 1.2K
Question Kurro Lopez · Oct 20, 2017 Define PoolSize as system default value Hi all,For special definition of the company, we need to define a PoolSize according to the environment that the "Ensemble" is working.So the first try as been add the parameter into "System Default Setting"However, this parameter is not available in "Setting default values" in Setting tab.I've opened the code of my production and I've noted that this parameter is a attribute of the XML element of this item #Ensemble #Business Operation #Business Process (BPL) #Business Service 1 1 0 477
Question Kurro Lopez · Sep 29, 2017 Export macro in "Export for production" Hi all,Acording to the post How to Export and Import Ensemble Components and Productions we can create a unique file to implement and deploy a production, but I'm not able to export and import macro file in the process.I've been looking for how to implement the macro file in this process but I haven't found anything.is it possible to export and deploy the macro file in the "Export from Production"? #Ensemble 1 7 0 522
Question Kurro Lopez · Sep 19, 2017 Create a task and call to a Business Process [SOLVED] Hi all,I wonder if is possible to create a task object and this task calls to a Business Process (or business operation)My attempt was: #Object Data Model #Ensemble 1 5 0 1.6K
Question Kurro Lopez · Aug 23, 2017 $Order and $Next in Cache Basic script Hi all,I need to create a routine to modifiy some values in a global.My first attempt was: #Globals #Object Data Model #Caché 1 3 0 469
Question Kurro Lopez · Jun 14, 2017 Change login Hi all,I wonder how to change the login email that I've in Comunity.According to My acount - Account setting, I can change it using the http://login.intersystems.com portal, however there is not any link or option to change it.Is there other way to change the email? Currently I'm using the work email and I want to change to personal email.Best regards #DC Feedback #Developer Community FAQ 1 10 0 515
Question Kurro Lopez · May 4, 2017 REST API method name Case insensitive Hi all,I've a RESP API service in a Business Service to server different methodsI've created the route with the name of the method, each one has been created in lowercase XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ] { <Routes> <Route Url="/user" Method="POST" Call="User"/> <Route Url="/emailactivation" Method="POST" Call="EmailActivation" /> <Route Url="/login" Method="POST" Call="Login"/> </Routes> } But only there is a response if the call is used in lowercase #REST API #Caché 1 2 0 1.1K
Article Kurro Lopez · Apr 26, 2017 2m read How to install and use TFS in Atelier Hi,This is a quick tutorial how to install and use TFS in Atelier. It is based on my self experience and some tricks that I 've noted.If you are used to using visual studio maybe you feel that is a bit slow and heavy, but you have the same TFS panel as you have in Visual Studio, so don't need any special "training" to use it #Beginner #Best Practices #Tools #Tutorial 12 3 2 1.2K