Question Flávio Lúcio Na... · May 20, 2021 ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON() don't show %DynamicObject items Hello everyone, I created a Class with this 3 properties Class TestDynamic Extends (%RegisteredObject, %XML.Adaptor) { Property number As %xsd.string; Property exam As %xsd.string; Property result As list Of %DynamicObject; } I'm adding objects to list normally set objTest=##class(TestDynamic).%New() set objDynamic={"field":"value"} do objTest.result.Insert(objDynamic) But when i use this method to convert to JSON #JSON #Caché 0 7 0 481
Question Flávio Lúcio Na... · May 19, 2021 Variable <Undefined> using Xecute command Hello everyone, I have a question, I am trying to use xecute command, but something wrong happen when i was using the command, and i don't know why hahahaha.I created a file .mac with this code: label(test) public{ set routine="variable" set call="write routine,!" xecute call quit } But when i run the command, show me this message error: <UNDEFINED>label+3^tstFJR3 *routine After that i changed the code to: #Code Snippet #Caché #InterSystems IRIS 0 4 0 242
Question Flávio Lúcio Na... · May 6, 2021 Interface using Caché Hello everyone, I have a doubt, its possible to use interface like C# using COS? Remember, interface is different from Abstract Class, because a abstract class can implement code in the method, so I don't want this, I want only define the methods from Class, not allowing implement code. #Caché #InterSystems IRIS 2 5 0 707
Question Flávio Lúcio Na... · Mar 31, 2021 Which ways i can save a photo in to the Caché or Iris Database? I usually save the path in database like "C:\folder\picture.png", but now i want to save the photo in Iris or Caché database? Which way is better to recover the image and to maintain the original quality? #Caché #InterSystems IRIS 0 6 0 557
Question Flávio Lúcio Na... · Mar 3, 2021 When I translate an article do I need to ask the creator for permission? I and other developers want to know if do we need to ask permission for the creator to translate an article to portuguese? Sometimes we send a message requesting authorization, but we don't receive a answer, what we do? Regards. #Other 0 2 0 214
Question Flávio Lúcio Na... · Nov 17, 2019 Call a Procedure with PHP Hello everyone, I am searching, but i cannot find a way to call a Procedure in Caché with PHP. Using .NET we have the Intersystems.Data.CacheClient.CacheCommand and we make a call in a Procedure. How i can do the same in PHP? Regards,Flávio #Caché 0 5 0 540
Question Flávio Lúcio Na... · Oct 28, 2019 Error SQL Select Hello, I am having a problem with SQL Select, the command in portal is OK, show all items, but when I use a CacheDataAdapter in VB .NET show the message 'Incorrect list format 0>=0'. What could be this message? Because is the same SQL command. Best Regards. #.NET #Caché 0 8 0 728
Question Flávio Lúcio Na... · Oct 21, 2019 What do you prefer use abbreviation or normal commands? Hello Everyone, I'm want to know, what is more common for your company to use, the abbreviation syntax or the complety name of commands, and why? Ex. S VAR=10 / D FUNC^ROUTINE F 1:1:1000 Set VAR=10 / Do Func^Routine / For 1:1:1000 set var=10 / do func^routine / for 1:1:1000 Here in my company, we are familiar with the abbreviation syntax, because to spell is more faster. #Beginner #Code Snippet #ObjectScript #Caché #InterSystems IRIS 2 35 0 1K
Question Flávio Lúcio Na... · Aug 27, 2019 Does Anyone Know if IRIS or Caché has functionality for Excel DDE or RTD? Hello Everyone,I want to Know Caché or IRIS has some way to communicate with DDE or RTD from Excel?Att. Flávio. #Compatibility #Caché #InterSystems IRIS 0 7 0 412
Question Flávio Lúcio Na... · Aug 23, 2019 Open a Executable from Caché Hello Everyone,I Have an executable on my server and want to open it locally by a Caché Command.Ps. Caché database is also on the server side. #.NET #Caché 0 4 0 395
Question Flávio Lúcio Na... · Aug 7, 2019 How to Install Ensemble Hello everyone,I'm tryingt to install Ensemble from an existing Caché installation, is this possible? if possible, please send me links.Best Regards.Flávio. #Beginner #Caché #Ensemble 0 4 0 332
Question Flávio Lúcio Na... · Apr 3, 2019 Compiler for Visual Studio Code Hello everyone, I'm trying to migrate the IDE for programming in COS, we normally use the Studio, but we want to use a more modern IDE. Our team has knowledge with Visual Studio plataform, but we couldn't configurate the compiler and terminal, I installed the extension InterSystems ObjectScript and tried to configurate to connect with my local machine, unfortunately the connection don't sucessed. Someone has material for how i can connect and compile? Some material i saw show how to use the compiler, but not how can i do the configuration. #Compiler #Development Environment #VSCode #Caché 0 6 0 1.1K