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:
.png)
Any help?
Thanks in advance
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:
.png)
Any help?
Thanks in advance
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.
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:
set tSC = ..Adapter.SendFormDataArray(.tHttpResponse,"POST",tHttpRequest,,,URL)If the external API responses throws a 400 Status (Bad Request)
.png)
the tSC values is an error status and the value of tHttpResponse is empty, so I'm not able to check what is the Status Code and the content.
tSC="0 "_$lb($lb(5002,"<WRITE>zSend+120^%Net.HttpRequest.
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:
{
"errors":[ {
"code":5002,
"domain":"%ObjectErrors",
"error":"ERROR #5002: Error de cache: <INVALID OREF>zWrite+5^WebTerminal.StaticContent.1",
"id":"ObjectScriptError",
"params":["<INVALID OREF>zWrite+5^WebTerminal.StaticContent.1"
]
}
],
"summary":"ERROR #5002: Error de cache: <INVALID OREF>zWrite+5^WebTerminal.StaticContent.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.

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

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
.png)
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?
I've tried to set a condition in when node but it doesn't catch any property of Ens.AlertRequest
.png)
It doesn't work.
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
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:
.png)
I have a common class with all information, BuscarHuecoRequest, and check what is the value of property "CodigoProveedor".
The table T_PROVEEDOR contains the list of code with the code of the provider, if is F, calls to WSF, if is C, calls to WSC, etc... Using a transformation to convert the values to this provider.
It raises an error, because the property CodigoProveedor doesn't
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
I've tried to set the ContentType to the adapter.%Client with this value, but it doesn't work.
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
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
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
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.
Class Kurro.
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
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.
However, If I call the same WS using SOAP UI or Postman, the header of response has the content-type "text/xml", as expected.
What is
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:
.....
// The code of prepare the request is omitted.
set tSC = ..Adapter.SendFormDataArray(.tHttpResponse,"POST",tHttpRequest,,,tURL)
if $$$ISERR(tSC) $$$ThrowStatus(tSC)
// Get the response directly
set response = ""
while (tHttpResponse.Data.AtEnd = 0) {
set response = respuesta_tHttpResponse.Data.Read()
}
// Convert Json to generic object, get the node returnValue.data and convert to JSon again
set objJson =
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.
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
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:
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:
ERROR <Ens>ErrGeneral: Error in SFTP Dir() ERROR #7500: Error DirEnum SSH '-2146430967': 'SSH Error [80101009]: Would block waiting for status message [80101009] at SFTP.cpp:150,0
This happens when there are no files to process and appears from time to time, maybe every 20 minutes.
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 WebService
Hi community,
I need to create a DTL to get values from a JSon (%DynamicObject) to a class.
Thre first items is copied fine, however when it tries to get the values from an array it raises an error.

Hi all,
I am trying to delete an item from a production through a routine that installs and disables items.
To add any item, I have no problems, even to enable and disable some particular items.
The problem arises when I try to eliminate the production item, because when it does, the production become unstable and only works again when this item is added again in the collection (or the item is deleted manually in the production.cls)
This is my code attempt:
set productionName = "MyApp.production" set itemDelete="MyApp.BP.item" if ##class(Ens.Config.Item).
Hi all,
I wonder how to sync my server code to my local code using Visual Studio Code.
Previously, using Atelier, you could open a view of server and can copy the code to the current project, also if I change a BP, I could sync the code because I had a signal that It's warning me that there was a change and it needs to be updated.
Hi all,
I have a class that I want to serialize to JSon. So I'm using the object %ZEN.Auxiliary.jsonProvider)
set myClass = ##class(myapp.myclass).%New() set myClass.property1 ="value 1" set myClass.property2 = "value 2" set myClass.property3 = "value 3" do ##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(.tStream,myClass ,,,1,"ed") write tStream.Read()
By definition of myclass, all properties are serialized, that's fine. But I want not serialize the property3. I think is using a XML attribute in the property, or something about. But I didn't find anything about.
Hi community.
I need to get the parent classname of a class, but I don't find how to do it.
I have a class Parent (MyLibrary.ParentClass) and two classes inherited from the parent class
MyLibrary.ParentClass
├─── MyLibrary.ChilcClass01
│
├─── MyLibrary.ChildClass02I have a Business Process that entry class is MyLibrary.ParentClass. If I'm calling with any child class (i.e. MyLibrary.ChildClass01) it works, then I'm using the method $Classname(request) to get the name of the class and redirecto to other process.
Hi all,
I'm wondering if is possible to extend the UrlMap.
I want to create a base class and one method will be in all extended classes, so I've tried to create the map route in parent class, and the specific methods in extended class. But it doesn't work.
I've create the method in parent class and I've wrote the map in extended class. It works, but I want to put it in base class to prevent forget this call.
Note: The base class extend to %CSP.RES
Best regards,
Francisco Lopez
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.
// begin customization code// get the Filename, attach the time stamp to it and move the file into the Archive directory// the Rename method below is using RNFR and RNTO FTP commands (RFC 959), effectively moving the file into the new directorySet tSource=pInput.Attributes("Filename")Set tArchive=..Adapter.CreateTimestamp(tSource,"%f_%Q")set fullPath =