</Stream>
</Type>
Let's say I need to process these urls in one REST method:
http://host:port/REST/arg1/arg2/arg3 http://host:port/REST/arg1/arg2/ http://host:port/REST/arg1/arg2 http://host:port/REST/arg http://host:port/REST/
Currently I need to define URL Map like this (assuming /REST web app):
XData UrlMap
{
<Routes>
<Route Url="/:arg1" Method="GET" Call="GET"/>
<Route Url="/:arg1/:arg2" Method="GET" Call="GET"/>
<Route Url="/:arg1/:arg2/" Method="GET" Call="GET"/>
<Route Url="/:arg1/:arg2/:arg3" Method="GET" Call="GET"/>
</Routes>
} Is there a way to get all these URLs in one route:
XDa
After a five-part series on sample iKnow applications (parts 1, 2, 3, 4, 5), let's turn to a new feature coming up in 2017.1: the iKnow REST APIs, allowing you to develop rich web and mobile applications. Where iKnow's core COS APIs already had 1:1 projections in SQL and SOAP, we're now making them available through a RESTful service as well, in which we're trying to offer more functionality and richer results with fewer buttons and less method calls. This article will take you through the API in detail, explaining the basic principles we used when defining them and exploring the most important ones to get started.
This earlier article already announced the new iKnow REST APIs that are included in the 2017.1 release, but since then we've added extensive documentation for those APIs through the OpenAPI Specification (aka Swagger), which you'll find in the current 2017.1 release candidate. Without wanting to repeat much detail on how the APIs are organised, this article will show you how you can consult that elaborate documentation easily with Swagger-UI, an open source utility that reads OpenAPI specs and uses it to generate a very helpful GUI on top of your API.
Can you create ad-hoc Caché relationship objects that are not part of the original Caché class definition? One of the drawbacks with relationships is that that the more relationships you have defined, the more difficult it can be manage. I was wondering rather than having all your relationships defined in the Caché class, could you programmatically create relationships between classes as and when they are required? We mostly use parent-child relationships in our classes.
Hi, Community!
Here are some news on Developer Community enhancements.
In March we fixed a lot of bugs and rearranged the notification system, so I hope you'll be happy with it now.
Enhanced content of the notification
With this new release in every email notification you'll see the reason, why did you get this particular notification and the option to unsubscribe of this types of notifications.
The notification will indicate whether you are subscribed to everything, or to particular group/tag, post or you got the message because you are following some member.
I'm pretty new to Ensemble and Cache, and I ran into an error today that I haven't seen before: "ErrNoResponseClass: No Response Classname is assigned for Request class <<someNumber>>". I haven't found much documentation about this beyond the Ensemble Error Codes document, which is essentially just a duplicate of the information I can see in the error message when this problem occurs. Is there any further information about this error and the conditions that cause it? Or perhaps what the <<someNumber>> value represents?
Hello,
i'd like to create a directory chain with
i'm using it like that with the class file and it's working:
But now i'd like to create a directory chain with the FTP Outbound but i don't know how , i didn't see a method to do that.
Thanks in advance.
Hi,
I have a xml stored in a globalCharrachter Stream.
I would like to get a full node parts of the xml to store it in an other file.
Exemple of an Xml store in cache
<doc> <header></header> <product></header> <market></marker> <doc> </aaa>
I would like to generate new xml from this one like
<product></product> to product.xml
<market></market> to market.xml
s xml = ##class(MyExemple.test).%OpenId(1) --> my object with XML <doc> store s doc = ##class(%XML.Document).%New() d doc.GetDocumentFromStream(xml.TXML)
Dear InterSystems Community! Do you control your Caché or Caché controls you?

Recently, I decided to start the project about control of Caché instance. The control is based on communication with chat bot.
For example, below text message shows current statistics of the certain Cache instance.
/stat <cache-instance>
Another example (start the certain Caché instance).
/start <cache-instance>
One more example (stop the certain Caché instance).
/stop <cache-instance>
What do you think about the project? What do you think about additional functionality?
Please, feel free to share your thoughts.
Hi Community,
This article assumes that you are familiar with Zabbix and SNMP monitoring, if not, there are some very interesting posts on the Community, especially this one (https://community.intersystems.com/post/creating-custom-snmp-oids) which contains a lot of information on how to configure and request an SNMP Cache server.
With Cache, all MIB data objects are organized into tables, so you need to know the index of an object to be able to get its value.
I have a 100% ZEN application combined with 100% ZENReports and am also using IFind which is part of the solution.
Our application is a cloud hosted solution where we lease a server which does not have a website, only Cache configured under IIS. Connectivity to our site is premised on a URL string such as u12345.usa-server.com/csp/namespace/Cache.cls
With the release of Firefox V52 this connection string is now seen as security threat as we have an application login page using two <password> controls.
GT1|1|1|Test^Test||123 Building^123 Building^Brooklyn^NY^11220^United States^^^Kings|^PRN^PH^^^^^^^^^(111) 111-1111~^PRN^CP^^^^^^^^^(222) 222-2222|||""|IN|DGH^Daughter
I'm trying to clear the phone number completely.
Remove target.{GT1(1):GuarantorPhNumHome()} still gives me _~_
Given location in INT code, as Cache usually reports on error (zWriteReport+25^SomeFile.1), is there any programmatic way to determine corresponding place in original source code?
Jiri
I discovered a possible error in one of the courses but unlike other learning platforms, it isn't obvious how to report it.
Hi All,
We using cache 5.02.We have some problem regarding license usage.
Goal:
The main web method call requires that key I received as a Soap Header element. All I can pass to the SOAP Operation business class is the request object with the data I plucked from the HL7 payload. Nothing in that particular request message has anything in it that tells anything to send the header, too.
I have a number of Business Process and due to the complexity these were created as "custom code" instead of BPL.
These processes currently invoke other components using SendRequestSync. For a couple of reasons I would like to be able to change these to use SendRequestAsync:
Hi,
English word ="Other anemias" It is converted to french as printing "Autres anemies".But correct word is " Autres anémies".I wrote a program in the cache. But did not get the correct output.So How to solve this issue
Let's say I have two classes: A and B. They share no common parent except %SystemBase. But these classes have some properties with the same name (type may be the same or not):
Class A {
Property data As C;
Property data2;
}Class B {
Property data As D;
Property data3;
}I need to automatically convert object of class A into object of class B. I'm planing to write a class generator that generates a separate class that converts A to B. It would work like this:
1.
Currently, we have an application running in one namespace ("Database B") that has globals and routines mapped to another database ("Database A"). After enforcing clean up on Database A, we found that 90% of the disk is free. We would like to compact Database A and release the unused space. However, we are running OpenVMS, which seems to be the issue.
For databases consisting of only globals, we are able to use ^GBLOCKCOPY; however, we need to ensure that the routines and mappings are also copied.
What would be the best recommended way to do this?
Is there some setting I'm missing with Atelier when it comes to auto indentation or something not supported yet? I noticed that it won't set the correct indentation when it comes to closing curly braces, as well as no auto indentation when I go to the next line after a beginning curly brace. If it's not something currently supported, is there any ETA on this?
Hy.
Is there a way to migrate MySql db to Cache (like export from MySql and import to Cache - not just the data, but the properties of the table too)?
Thank you.
Hi All, In Cache Table i have stored the data value as horlog format ,by query how to retrive the data when i give the data field as date format.
Ensemble 2014.1.5
Inbound EnsLib.HTTP.GenericMessage
</Stream>
</Type>
Hi,
I was wondering if we have some documentation and sample code how to create APNS and GCM using Caché ObjectScript.
Thanks
Kumar
Has anyone done an ebXML implementation using the out of the box classes?
I would like to hear about your experience and any issues you encountered using the classes provided.
I have been asked to assist in the planning of the a new server for our database, which we will be changing operating systems from OpenVMS to Linux (RedHat distribution). However, its difficult to find material regarding what would be recommended, which is likely due to the database being proprietary.
In looking at the information provided below and hoping to decrease processing time, would anyone be able to recommend type of configuration we should have for the new Linux server? Please feel free to ask any clarifying questions.
Hi all,
How to download file in CSP ?
Thanks,
Victor M.
We are using Cache in our application. We are using default username/password for connecting to the Cache Database through Cache Manege Provider. Can we limit the permission of the user _SYSTEM to access only limited database/namespace.
Can we create new user for ODBC connection? Is there any API provided for creating user with limited access so that the user creation process can be automated.