My questions are regarding ClassMethods with a private keyword tags.
When we use a wizard to add a new method, we are given a options to
select private checkbox to make it a private method as well as
Class Method checkbox in the same time.
1. What would be the reason and the case to select and use them both?
2. Secondly, if there is such a case in already developed application is it
safe to remove the private tag from ClassMethod? Obviously if it's not a
ClassMethod private tag cannot be removed as easily.
Thank you,
I've inherited a business service that takes a large XML document with repeating elements, extracts them via %XML.Reader and chunks them into separate persistent objects for delivery to a EnsLib.MsgRouter.RoutingEngine-based routing rule. Unfortunately, the lack of GetValueAt() for the message's class leaves me without much in the way of complex decision-making options.
Hi,
I want to monitor some variables in my program.
So I do this "zb *varname", however, i don't really want to get break went the program touch "varname" every time.
I only want to get break when certain conditions are meet. For example, $d(varname(1,2,3)) > 0, then break.
Is there any way to achieve this?
Thanks.
Hello everyone,
What has been the best way for you to store and retrieve session information about a user for CSP projects? I can use these methods easily:
however I'd like to know if there's a better way to keep more permanent information, or should it all be kept in a class?
Additionally, using whatever method, what would be the best way to block user access to certain portions of the website or entire pages? Such as an admin section. With normal web development this wouldn't be too difficult, but I need help connecting this into CSP terms.
Thank you!
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.
If I open http://localhost/csp/bin/Systems/Module.cxw I see that it is using the IIS as I expected.
I've created a WebApi and I've deployed in my server
If I call the check method it works
however, if I call it directly (localhost/myapi/check) it doesn't work.
Error HTTP 404.0 - Not Found
If I check the list of application access in the CSP Web Gateway management, it is in the list.
Hi Guys,
Basically I'm looking for a sample what I can send data in aJSON format to a a webservice using an http request pls?
I've found some documentation on %Net.HttpRequest but a sample on how to connect to a Webservice and send data to it would be really helpful?
Our clients are running Cache & Ensemble 2014
Thanks
Is there any way to extend the lookup table to have more than one value against a key?
Hi,
I installed Cache2015. I went to %SYS namespace and d ^JOBEXAM it shows around 12 background jobs running. Can i know what is the purpose of that jobs?
Thanks, Selvakumar
I use zf(-2) to spawn a external a Java application in a *nix instance.
I would like to kill this process after some conditions met.
I would like to leverage $zf("kill ... ") but this requires its the pid of this child process.
So is there a way to acquire the pid for the child process when I create it ?
If not, how is the suggested way to kill this process?
Thanks.
I could launch a external process via $zf(-2).
However, this child process need to refer some shared libraries in RUNTIME,so I have to set up the proper paths to the environment variable LD_LIBRARY_PATH, is anyone know how to do this?
Thank for your help.
Hi all,
I have started using the UPS in my application for shipment and cancellation.
I have the WSDL from the UPS.
I have imported the WSDL via Studio->Tools->addins and finish the process to get the Package implemeted in my studio.
Now the SOAP method contains a URL which is for their live system so i manually changed the URL with their Testing URL.
They are also providing the sample shipment numbers which we can use to test the cancellation process.
I am trying that shipment number to void(cancel) the shipment by call the method.
And i am facing the error as below,
In part 1, part 2, and part 3 parts of this series we set up three user types. In part 4 we saw how to secure model elements and DeepSee items. In this last part of the tutorial we conclude with some remarks on DeepSee security and troubleshooting tips. In particular, we see how pivot tables in User Portal can be "hidden".

In part 1 we started working on a security model for DeepSee and create a user type having privileges typical of end users. In this part we are going to create a second user type with ability to edit and create DeepSee pivot tables and dashboards.

This is probably a very naive question but :
Is it possible to create a Windows executable file from a Cache MUMPS (COS) routine, such that the routine can be run directly from Windows ?
If so, could some kind soul direct me to a source of information that describes the process.
I am using the free Intersystems Cache installation (CachePCkit V2017.1) on Windows 10 for my own use & personal development.
Thanks
Hi,
Our ensemble instance has grown significantly since it was first implemented in 2014, and the old interfaces diagram is no longer useful. We started with a few HL7v2 ADT and demographic interfaces, but our use of Ensemble* has grown to include document interfaces, orders and results, ITK and inbound and outbound interfaces from other organisations. (more and more like an Enterprise Service Bus than a simple integration engine)
I'm looking for examples of and methods for creating;
I am using the free Intersystems Cache installation (CachePCkit V2017.1) on Windows 10 for my own use & personal development.
I am writing routines in Studio & running them in the Cache terminal TRM:3672 (TRYCACHE).
From a routine, how do I control print position within the terminal screen. I have tried using $X and $Y but this does not work and I cannot find what I need within the Cache terminal documentation.
Hope this question is not too simplistic for Members.
Any suggestion would be appreciated.
Hi, Community!
Someday you find yourself having a wonderful class package which can be helpful in several projects. So it is a library package.
How to make the classes available for different namespaces in Caché? There are two ways (at least two ways familiar to me):
1. Start the name of the package with %, like %FantasticLib.SuperClass. Wrong way.
If you do that the class would be placed in %SYS and would be available in other namespaces.
This is wrong because of the two reasons:
1. The class will be wiped out with the next Caché update (as all the %SYS Namespace).
Hi, Community!
Please find the digest of the best articles you posted on DC in 2017 regarding InterSystems Data platform.
We had 280 articles in 2017 and split them into 3 categories: posts gathered most of the views, most voted posts and most commented posts.
Here we go!
TOP 20 Most viewed
Vue.js: getting started with a basic HTML/REST/JSON example, by Ward De Backer 1936
InterSystems Data Platforms and performance – VM Backups and Caché freeze/thaw scripts, by Murray Oldfield 1752
Node.js: create a basic web app with React - part 1, by Ward De Backer 1670
Hi All,
I am new to webservice and UPS. I have tried the sample URL's that UPS have given for testing in PHP codes and it works just perfect for me.
But when i try to hit the same URL's in Ensemble. it gives some errors from UPS.
If anyone of you guys here has any knowledge about UPS integration or the webservice please help me. it will be much appreciated and helpful.
The ensemble code that i am trying with is,
I have read here and tried to use the supplied examples to see what they do but keep on getting error please advice:
Hi,
Can you provide a link to a valid license key zip file as the previous key expired December 31st, 2017.
Many thanks.
I am trying to achieve this in cache objects I am using 2014.1 here is the original code in C# and would like to convert this to cache
here is my code first c# and cache follows
Hi!
How do you guys deploy DeepSee pivot variables?
Haven't found it in documentation.
Thank you in advance!
I use SoapUI 5.4.0 test Cache development web service, the parameters I need to send through SoapUI is as follows:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org">
<soapenv:Header/>
<soapenv:Body>
<tem:GetPatInfo>
<!--Optional:-->
<tem:QueryInfo>
<![CDATA[
<Request>
<CardNo>100000220002</CardNo>
<CardType></ CardType >
</Request>
]]>
</tem:QueryInfo>
</tem:GetPatInfo>
</soapenv:Body>
</soapenv:Envelope>I have a Cache object:
In %Net.SSH.Session there is a method settraceMask and that will create a wireshark cap file for help with troubleshooting a connection. I dont see any class in Net.FtpSession that can be used for troubleshooting. Is there a different method that I should use?
Apart from the database server itself, the standard bundle of the Caché DBMS includes DeepSee, a real-time business intelligence tool. DeepSee is the quickest and the simplest way of adding OLAP functionality to your Caché application.
Another standard component is an Audit subsystem with a web interface, which has the options for expanding with your own event types and an API for using in an application code.
Below is a small example of thejoint use of these subsystems that answers the following questions: who did what and when in an information system?




