If you had to choose Angular 1 or 2 for a new web project using Caché/Ensemble as a backend, Which one would you choose?
I'm trying to figure this out with a short pros/cons list:
Hi!
I'm trying to implement %OnAfterDelete ClassMethod for persistent class. As a parameter it gets oid As %ObjectIdentity for the deleted object.
ClassMethod %OnAfterDelete(oid As %ObjectIdentity) As %Status
My question is: how to get ID value from %ObjectIdentity ?
I am pleased to announce that Caché and Ensemble 2017.1 Release Candidate versions are now available for all platforms.
We appreciate the many customers who have downloaded, tried it, and given us feedback over the past few months.
Some things not in the original field test that you may want to check out include:
- Ubuntu is now a full production platform.
- OpenID Connect now supports JWKS with OpenID Connect Discovery and OpenID Connect Dynamic Client Registration.
I have one Ensemble EnsLib.File.OutboundAdapter which has several methods, each writing a different file. In my Ensemble Production I have configured this FileAdapter to write to a certain directory, but i'd rather have each method write to a different (sub)directory instead of writing all files to the same directory. How can I achieve that without splitting the methods into different business operations?
The current code just sets the filename and the output:
set tSC = ..Adapter.PutString(filename,output)
I have a business operation in an ensemble production to which I can send a test message which requires a date input. However, I can not seem to find out how I write the date in the test message. 1980-01-01, 01-01-1980, 50000 (cache integer encoding). But I constantly get an error: <ZODAT> zDateOfBirthDisplayToLogical+1^Ckey.Customer.1
Hi,
I am trying the following command in order to freeze the instance before backup is done:
csession CACHE -U%SYS "##Class(Backup.General).ExternalFreeze()"
The command requires user name and password to be supplied when prompted. Is there any way that this command can be run where it doesn't query the credentials? I am wondering if it can use OS level permissions (root or effective user who owns Cache processes etc) .
My test is on a CentOS 6 machine if that helps.
Thanks,
Raghu
Please Give a simple program for how to export data to Xls format in Cache Objects.
Hopefully this is a simple questions to respond to. Can you do Delegated Authentication for SOAP web service calls. I ask as I am not seeing this work as expected. I have this authentication turned on and enabled in for he CSP Web Application yet I keep getting a "Security Token could not be Authenticated. And a global I was setting to capture some of the available data is not being loaded.
I use the HS_IHE_ATNA_Repository.Aggregation table a lot. Someone just referred me to the HS_IHE_ATNA_Repository.Document table, which has an AggregationId column.
I assume that column references the ID column in the .Aggregation table. If so, does this mean that if the same document was requested 1,000 times that there will be 1,000 entries for it in the .Document table? This seems inefficient to me. Why not have one record in the document table and have a DocumentId column in the Aggregation table?
Just curious...
I work for an HIE and it just feels like I'm on an island most of the time.
I mean, there's not even a tag here for HIE or Information Exchange :)
Hi,
First of all, do Cache instance and databases have UUIDs? If so, is there a simple way to obtain these from command line?
Thanks,
Raghu
I have a property, Emails, that needs to contain a list of comma-delimited values, or "". Is there a benefit to making this property a list of %String, a Collection[list] (or however you do it), an array, or anything other than a simple %String type?
I just need to store some values, and return these values in SQL -- so it needs to be SQL compatible. I don't need to index the values or use individual values in the SQL statement (e.g. Select * from table where emails [ "email@co.com" -- I don't need to do this, although maybe this would work anyway if it's of type %String).
Hi, is possible rewind results of %SQL.StatementResult?
I not find a solution.
Hi,
I have Healthshare/Ensemble version 2015.2.1.
I created Business Operation in my ENSDEMO namespace that will connect to an external REST endpoint to send data to this external REST Service.
I also created an http service in Home>Healthshare>Service Registry, under the Service Type: http. I entered the REST endpoint Name, Host, SSL Configuration, and URL.
Hi!
How can I show a number of rows in a given DeepSee pivot?
Amongst the large fonts and chunky icons of Portal's pages, the Menu button in the top left corner is easily overlooked:
When clicked, it often produces the following menu:
When I remember it's there, I find the "View Console Log" option particularly handy.
I wrote "often" above because I've also noticed that the Menu contents change when I'm on a page within the Ensemble section of Portal:
Maybe the contents are context-sensitive elsewhere too and I just haven't noticed yet.
Learn how to configure alerts in a production.
Until recently I didn't pay much attention to Portal's home page:
If it's not showing when you initially launch Portal you can easily jump to it using the button / tab at the top of the left-hand column of options. And later during your session, get there via the Home link that will be visible at the top of every page.
On the Home page the "Recent" section is automatically maintained for you.
To use the "Favorites" section you need to tag your favorite pages. Suppose I want to add the production monitor page as a favorite. Here's how:
1. Navigate the menu to find the link for the page you want.
User interfaces such as Portal often give us multiple ways of doing a task. Sometimes we stick with habits and don't realize that another way might save us time.
Here's one that I learned by watching someone else using Portal.
Use the Search box to get quickly to a page that may otherwise be several layers deep in the Portal hierarchy. For example, suppose I want to check the status of the ECP networking:
Clicking on a match doesn't take me direct to the page (or am I missing a trick here?). Instead it gives me this:
And now a click takes me to the page I want.
We've been noticing that we're getting this (https://community.intersystems.com/post/cach%C3%A9-sql-error-odbc) error more frequently and having to constantly purge cached queries in order to resolve it. Is there a way to avoid the issue in the first place?
thanks!
Hi All, When i try to run the CSP from Studio it shows "Server Availability Error" and management portal and documents also throw a same error.how to recover it.
The following code in .Net using CacheObject.dll version 2016.1.2.206 com library
ConnectionString = "cn_iptcp:10.56.135.160[1972]:PHDEMO:PHSYSADM:***********"
b = factory.Connect(ConnectionString )
objCacheObject = factory.Static("CacheObjectConnection")
clist = factory.GetConnectionList()
for the above code, b is true and clist is Local,cn_iptcp:127.0.0.1[1972]:
After I installed HealthShare, there are some items missing in my local instance. For example, I don’t have Delivery Management, Terminology Management. Under the Relationship Registry, I only have Patient Relationships, but Patient-Clinician Relationships, Relationship Definition and Move Patient-Clinician Relationships are missing. Can anyone help me out here?
IO devices can be assigned to a mnemonic space using, for example:
u device::"^%X364"
Is there a method that will return the assigned mnemonic space for the current device?
I can infer it by attempting to write to the device using a non existent write /mnemonic and then inspecting the error returned, but this is rather messy and could potentially affect the status of the device. For example:
USER>u 0::"^BAR" USER>w /foo <NOLINE>^BAR USER 2d0>
Is there a method or system variable that will give me this information in a cleaner manner?
Thanks
George
www.georgejames.com
What is the difference between $case and $select?.Where places to use $case and $select?
Hi Community!
We are launching the new channel of InterSystems Technology content for you. Please welcome InterSystems Developers YouTube Channel!
What the content you will find there:
- Community Tools and Solutions for Developers - screencasts, promoting different 3rd party solutions for developers.
- Webinars - will contain webinars content made by InterSystems engineers.
- InterSystems Events - live broadcastings and reviews from different InterSystems events for developers.
- video.intersystems.com playlist - featured technical videos from http://video.intersystems.com library.
See how it looks:

I have a web application with html, css, js files (no ZEN/CSP).
Problem: after I update them on a server, Caché still servers old and cached version (browser Cache is disabled).
There is a manual cache purge in Gateway Settings, of course, but is there an automatic solution?
I'll be okay with disabling cache server-wide, but an application-wide solution would be better.
I don't want to host web app on a separate web server.
Here's my web app config:
For reasons that I won't go into here, I need to run Cache Terminal in Linux using Wine.
It starts up ok, but when I try to establish a connection to a remote server I get the following error:
Ctermsecure Read Error Could not obtain terminal server client name. Reason: (10035, 0x2733) unknown error
If I launch CTerm.exe from a command line then I get the following:
In last week's discussion we created a simple graph based on the data input from one file. Now, as we all know, sometimes we have multiple different datafiles to parse and correlate. So this week we are going to load additional perfmon data and learn how to plot that into the same graph. Since we might want to use our generated graphs in reports or on a webpage, we'll also look into ways to export the generated graphs.
Loading windows perfmon data
I created a new class DSW.Addons.htmlViewer:
Class DSW.Addons.htmlViewer Extends %DeepSee.Component.Portlet.abstractPortlet
{
Property Data As %String;
ClassMethod %OnGetPortletSettings(Output pInfo As %List, ByRef pSettings) As %Status
{
Kill pInfo
Set pInfo(1) = $lb("Data", , , "Data", "Data setting")
Quit $$$OK
}
}It's a ZEN component and DeepSee portlet. It's immediately available in the namespace I created it in. DSW package is mapped to %ALL and to Samples, but if I try to create a widget with this portlet I get ZEN class not found error.

