Has anyone written a custom http adapter that simulates entering data into a web portal? My support person said to check with the Developer Community.
Sometimes you can face the situation when you did update the web app on Caché server but you cannot get the newest version of the app in a browser.
Here are couple recipes which help me to solve it. From simplest to more sophisticated and not obvious.
1. Refresh page in a browser
In Chrome it is Ctrl+R or 'Refresh' button. Obvious, but helpful.
2. Hard reset in a browser
If you are in Chrome, open Developer tools

and then right click on Refresh button. Less obvious and very helpful sometimes.
3. Clear cache in CSP Gateway
If 1 and 2 don't work for you, try to flush the CSP Gateway cache.
Open Caché
Hi,
I have a class with around 400k lines and 60 columns. Class storage is Cache SQL storage (Mapped from a global).
I want to create multiple indices on certain fields.
I am familiar with two approaches:
1. Create a new map (Index type) on a pointer global.
2. Create a bitmap index
Which approach is more recommended to be used in the case I described? If there are any other approaches, I will be happy to hear.
Thanks :)

Greetings,
I'm pleased to invite you to InterSystems Developers Meetup being held in Cambridge on October 25th at 5:30 PM at the Cambridge Innovation Center!
Hi Community!
Check a new session recording from Global Summit 2017:
Angular, JSON, and REST – Oh My!
InterSystems is pleased to announce the availability of these maintenance releases:
- Caché and Ensemble 2017.1.2
- HealthShare Health Connect v15.03 for 2017.1.2
Caché and Ensemble are available on the same platforms as 2017.1.1
- The full list of corrections can be found in the release notes
- The version number of the kits for these releases is 2017.1.2.217.0
- Oracle Solaris 10, 11 for SPARC-64 and Oracle Solaris 10, 11 for x86-64 are not yet approved for release. They are expected to be included in the next maintenance release.
HealthShare Health Connect v15.03 on core technology
I have a class. In class there is an index. This index is for quick search on name property.
Class User
{
.....
Property Name as %String;
Index NameInd On Name;
.....
}This class is mapped to some global ^GL(userId) = "Name*other data....****"
And there is also index global ^GLNameIndex(Name, userId) = ""
When I add new User entry through class, f. i.
S user = ##class(User).%New() S user.Name = "Some name" D user.%Save()
calling method %Save() adding new entry to index automatically.
And this way index ^GLNameIndex is always actual.
But in my program new user entry can be added
InterSystems is pleased to announce the release of Caché, Ensemble, and HealthShare Health Connect v15.03
Some highlights for Caché and Ensemble are:
- Parallel dejournaling to improve throughput of mirroring and journal restore
- New iFind and iKnow features like co-occurrence search, performance improvements, and more
- SQL enhancements in Query Auditing, optional ANSI SQL operator precedence, and Frozen Plan Evaluation, along with several query optimization improvements
- Ensemble updates include DICOM enhancements, XML performance, and XSLT2 activities in BPL.
- For complete technical details
Hello!
We have had incidents with the scheduler in some integrations.
The problem is that the scheduler do not execute at seemingly random occasions.
Has anyone else experienced this? If so how have you handled it?
Is there a smart way to be informed about these non events.
I have an idea to build an integration that goes thru all the other integrations, looks at their schedules and compare it with lastrun information in someway but I am not sure if it is doable.
Another scenario occurs during maintenance windows, if there are "tasks" scheduled to be run during that time.
In my understanding they
I have a method would return %Status,
this method would run some sql queries and if the execution of these queries fail, I would like to return asap.
So how could I wrap the %SQLCODE into a %Status variable?
Thank for your help.
Hello,
I've been manipulating XML objects via Cache, but have had some difficulty understanding how to use the following method detailed within EnsLib.EDI.XML.Prop:
Method choiceGetCount(Output pCount, pDOMPath As %String, pRef As %String) As %Status
From what I've read when walking through the code for this method, it appears to count a listing of repeating XML elements. However, despite my attempts to search for examples or attempts to implement this function, I am unable to do so.
Would anyone have any examples or ideas?
Dear All,
I'm to create a HL7 business operation that uses the Enslib.Email.OutboundAdapter to create and use AttachStream() to create a file attachment of the HL7 contents, using the RawContent property of a Enslib.HL7.Message.
The class compiles okay, however when I send a message to the class I get the following error:
Event Log
')+'
';
content += '';
return content;
},
"modalShow": function() {
// add ensExceptionModalGroup to class for floating div
var modalGroup = EnsException.modalGroup;
if (modalGroup) {
var div =
It was my answer to the question appeared in GoogleGroups. And when I answered there I figured out that it might worth to post an article and to add some light on how Unicode is stored in Caché.
I setup an account in Cache and when I try to sort the dictionary item in the file by using the command SORT DICT filename, where filename is the name of the file i.e. SORT DICT TEST, I get the following error CMQL: The DICT entry "FIELD.ASSOC_" is not defined
The LISTDICT works correctly. Any thoughts on how to correct this error?
As I mentioned in an early post the roots of COS were laid in the late 60ies of the 20th century.
Close to that time, BLISS was designed at Carnegie-Mellon University (January 15, 1970)
https://en.wikipedia.org/wiki/BLISS
Similarly in 1972 C language was written at Bell Labs.
https://www.bell-labs.com/usr/dmr/www/chist.html
Both were designed to overcome the portability limits of code written in assembly language.
While BLISS was running on DEC machines and vanished with Digital Equipment Corporation
C language and later C++ expanded on almost any processor technology until today.
Both had the need
Hi World
I've a problem when in extract a float value from my database
the problem is that i get an interger instead of float.
my record is 2,56 but when i do a select , the request extract only 2
can you have a solution for it.
thank you
I want to call ZenMethod when page is closing. Is it possible?
I tried
ClientMethod onunloadHandler() [ Language = javascript ]
{
zenPage.SomeZenMethod();
}
Method SomeZenMethod() [ ZenMethod ]
{
// to do some work
}
but it is not working
Hi, Community!
Say you have a standalone Caché server on Linux (E.g. Ubuntu) (no mirroring) and you have sudo access via ssh.
What is the easiest, safest and simplest way to upgrade Caché to the new release?
How do you do this?
HI,
I have a query like below but its syntax is not accepted by Cache.
I would like to perform a left join on two tables first and then make a inner for this result with another table.
Given the constraint that we only allow one SELECT in the query, it is possible to achieve this semantics ?
Thank for your help.
Select *
FROM ( sample . employee e
LEFT JOIN sample . company c
on c . id = e . id ) g
JOIN sample . vendor v
on v . %id = g . attr
I am trying to read a csv file and transfer it to a XML file without storing the objects to a database I have this code here doing the reading and have another method transferring the object read to a file but the reading one reads fine when it comes to the converting one I run to problems nothing happens any help appreciated
ClassMethod Write(obj, directory As %String = "C:\40_Test\") As %Status
{
set writer=##class(%XML.Writer).%New()
set writer.Indent=1
// set the file
Set filename=directory_"Generatedfile"_".xml"
setHello again and welcome to the next tutorial on this series: Part 4 - Sharing data across router methods. Here we are going to learn how to share a object containing data that is available for read across every router methods.
You're required to complete at least the Part 1 before entering this one. Still, this is supposed to be a really short tutorial, since there isn't much to be said about data sharing.
- Core concepts
- Getting started
- Creating a simple request
- Query parameters
- Aliasing query parameters
- Changing output format
- Rest query parameters
- Inferring object instances
- Using literal notation
- Seamle
If the session is in inactive state for some time. It should be logging out automatically. Is there any settings for that??
I have a business service that brings in a xml virtual document to the production and also a csv service that brings in a csv file and have a process that transforms both to a xml output but I have a problem with the csv as it is giving me this error when I try to trans form it ```ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zOnRequest+1 ^EnsLib.MsgRouter.VDocRoutingEngine.1 *DocType``` I have read here followed the suggestion but now I do not get any errors but my message is not being routed here is the rule set that I am using
I am sending a file in Postman and receiving a status 200OK. but i need to get the response in the body too. I have Implemented the class %CSP.REST to get the %request and %response. There is no default method to invoke and post the content via %Response class. Can any one suggest me the sample code for that.
We need to use MAPI protocol to retrieve email since the POP3 is disabled at our site. Ensemble inbound adapter currently supports only POP3 protocol.
Any suggestions/ workaround ? We might have to call .net / com program to do this. Just want to check if anyone has done that already.
Thanks,
Sushant
I'm trying to write an installer manifest that can create a namespace, resources (%DB_namespace) and a role (with the resource, above), based on the namespace. So you could pass in "ABC", or "XYZ", and it would create the %DB_ABC resource and the ABC role with %DB_ABC:RW permissions; or it will create the %DB_XYZ resource and the XYZ role with %DB_XYZ:RW permissions, accordingly.
I have a variable set up for the name of the namespace (in my code it's called PMGNAMESPACE), and I create a variable for the resource name, called PMGDbResource ( this == %DB_ABC)
The installer manifest is not
Hi, i want to configure my business operation for sending Emails to my clients , but any ideas .
i know that the settings will be on the "EnsLib.EMail.OutboundAdapter" but how?
please can you help me?
thank's
I just deployed my production from test to acceptance but I found that the deployment misses some Soap Webclient classes which are used by my business operation components.
Hi, Community!
Please welcome a new session recording from Global Summit 2017:
A Mocking Framework: Laugh at Unit Tests


