Does anybody have already installed some Angular JS eclipse plugin on Atelier? Can you provide some tips about how to get it working?
Thanks.
Does anybody have already installed some Angular JS eclipse plugin on Atelier? Can you provide some tips about how to get it working?
Thanks.
Introduction
If you manage multiple Caché instances across several servers, you may want to be able to execute arbitrary code from one Caché instance on another. System administrators and technical support specialists may also want to run arbitrary code on remote Caché servers. To address these needs, I have developed a special tool called RCE.
In this article, we will discuss what are the typical ways of solving similar tasks and how RCE (Remote Code Execution) can help.
What possible approaches are available?
I've been using iFind indices in one of my applications but this morning discovered that the index is missing data. I confirmed the issue also exists in our test environment and rebuilt the indices there. That seems to have fixed the immediate problem. However I'd like to understand how this came about to avoid it happening in the future.
Has anyone encountered this before and know the cause?
We've regularly upgraded the Ensemble instance when new releases come out and are now on 2016.1.
I followed the Documentation instructions to install Caché on my Linux box and it seems to be running fine except when I try to modify the configuration. I keep getting errors that a previous cache.cpf file (e.g., cache.cpf_8503) cannot be opened. Is my Linux "user who owns instance" account deficient in Linux permissions?
Hi!
There is a question for Ensemble on Stackoverflow:
I have the below dtl. In the foreach loop, I am just copying the same code in another part under anif condition. How can I avoid this redundancy? Can I reuse using sub transformation?
Here is the dtl class file :https://docs.google.com/document/d/1snJXElyw13hAfb8Lmg5IaySc7md_DE8J40FB79hBaXU/edit?usp=sharing
Good afternoon, I have image files stored on disk. I would like to display those images in an <image> control as the end user clicks on rows in a tablepane. I already do this with image data stored in a cache database:
s imageComp = %page.%GetComponentById("ImgTab"_tLdCnt)
s imageComp.disabled=0
s tId=rsId.Get("ID")
s tPageObj=##class(My.PageObj).%OpenId(tId)
s oid=tPageObj.ImageBLOB.%Oid()
s encryptedOid=..Encrypt(oid)
s imageComp.src="%25CSP.StreamServer.
Hi this is my first post, so a little about my background. I've been programming in PHP/JavaScript for about 10 years.
I've got quite a bit of knowledge surrounding object orientated programming and know the basics.
Last year I looked into the Mirth integration engine and did some work around that.
I've now moved jobs and I'm doing some work (surprise, surprise) with Ensemble.
I've done the tutorial and understand the basics of the web 'frontend' and what an integration engine can do.
Is is possible in Atelier to open a macro declaration? Using the context menu results in a "Current text selection does not resolve to a Script element" error in the status area at bottom of window.
Also the arguments for the macro are not shown on hover.
Doesn't seem to matter if the associated include file is added to the project.
(Version: 1.0.142, Mac OS X)
It looks like the normal usage of calling an Ensemble based Web Service via Ensemble is to create an Ensemble Business service that inherits from EnsLib.SOAP.Service which is then used to call a business operation which inherits from EnsLib.SOAP.Operation and the SOAP Outbound Adapter which can be generated via the SOAP wizard.
But, what if you don't want the extra step of calling the web service class via the operation? Has anyone actually constructed the Business Service to directly invoke the web service class?
I tried logging into https://beta.learning.intersystems.com to view a video. My browser auto filled the login form. The username, the same one I use here and on many other ISC sites, is "sbeeson_MHCX". Now I have a message that says "Only lowercase letters allowed" and any time I visit the login form it just shows the same message. I cannot get back to the form.
I could obviously use an incognito window or clear my cache, but this needs to be fixed.
The following situation always catches out new Ensemble users, and is likely to continue doing this until it is addressed..
A business operation, service or other host that is configured with a dedicated # of actors, (ie, not using the actor pool) runs with the version of compiled code that existed when the host was started.
Hello,
In my project, I am calling a store proc on third party database. I am using SQL Gateway and ODBC. Everything is working fine until the store proc changed. In store proc they have changed the return alias name for a column. In Ensemble Snapshot I am not seeing the modified alias name until I restarted the whole Healthshare instance.
Here is my question, is there any other way? We do not want to take the instance down if it happens after we go live.
Thanks
Raghu
Hello community!
Heretofore is announced a new project which aims at providing a usable library for both running unit tests and collecting code coverage information at the same time:
https://github.com/litesolutions/cache-utcov
I shamelessly admit that this is my first project written in ObjectScript; the only source file right now barely loads a %Studio.Project instance on a given namespace and fails ungracefully on failure (it HALTs; meh); and even on success it will not even list the items correctly.
Found in:
Breaks on FOR SOME when using a table reference:

Now that 2016.1 has been released I would like to draw everyone's attention to the Ensemble release notes that describes the new features.
Is there a way to manually compile a class or package without having to save?
Using the perforce integration I did a "Undo Check Out" and the code was revered but not compiled.
CLARIFICATION: From the Atelier UI.
I have a Cache classes with %TimeStamp (e.g. 2016-04-18 12:29:11) and %Date (eg. 64027) properties. And I have a javascript client app, which needs full CRUD over this properties.
But in javascript date/time are defined by ISO8601 (e.g. timestamp 2016-04-18T12:29:11Z, date 2016-04-18).
Does Caché support SQL CREATE SEQUENCE as in PostgreSQL?
If not, what would be the best alternative? Create my own sequence logic as the example bellow?
Class Util.MySequence Extends %Persistent [ ClassType = persistent, ProcedureBlock ]
{
Property dummy As %String;
Property myvalue As %Integer [ Calculated, SqlComputeCode = { Set
{myvalue}=##class(Util.MySequence).CurrentValue()}, SqlComputed ];
ClassMethod CurrentValue() As %Integer
{
s x=$I(^MySequence)
Quit x
}
Method myvalueGet() As %Integer [ CodeMode = expression ]
{
..CurrentValue()
}
}Thanks.
Greetings.
I'm currently struggling with launching a routine from the command prompt using ccontrol.
Basically I have a routine with a parameter which works fine using the following:
ccontrol cterminal ^ANDYTST(\"c:\temp\\\") USER
This receives c:\temp\ then in the routine.
However, when there is a space inside the parameter it assumes that it receives a script.
I can still run it using ccontrol terminal, but that then tells me the argument is invalid.
Therefore, is there something like a placeholder for whitespaces?
And, is it possible to hand it the credentials?
Hi!
In every Atelier project you can find following hidden files:
.buildpath
.version
.connection
.project.
Should I include all of them into commit?
I understand that .project is mandatory. But what about the rest? Is there any general rule?
F.e. if we work in team and everybody has their own connection on locale machine .connection should not be included. Yes?
Hi!
Please find all the source code Global Summit 2016 Sessions and Experiences in following GitHub repositories:
Codes are in UDL form which is native to Atelier IDE.
Here is small guide how you can check out this project into your Atelier:
Let's see how to load code directly from GitHub URI.
Open Atelier. Go to File -> Import -> Git -> Clone URI
2. Specify URL for repository and press Next
3.
MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.
Any chance of adding support for MessagePack?
Hello,
For CachéQuality I'd love to be able to create issues when the programmer uses classes which are deprecated for this or that version of Caché... But short of reading all the changelogs of all versions, I can't really tell when a command appeared (for instance RETURN; I know now that it appeared in 2014.x, but it took me some time to realize that), or when a (set of) class(es) became deprecated (for instance %GlobalCharacterStream to be replaced with %Stream.GlobalCharacter -- I don't even know since which version this is true :/).
Is there an existing source which I am missing?
This is handy when debugging errors with a line reference and complex macros.
Hello,
I hereby announce the creation of an IRC channel dedicated to Caché development:
* network: FreeNode (connect to server: irc.freenode.net)
* channel: ##cos (yes, two hashes).
Topic is anything related to Caché development in spite of the name (and the fact that of Caché development I only really know about COS anyway), so sorry in advance for the restrictive channel name :)
Waiting for you here! (my nick is idletask on freenode)
Side note: that would be a good opportunity to launch a project of an IRC bot in COS.
Hi,
I'm trying to create an Ensemble workflow with a custom task form that includes a dynaform zen component.
Is it possible to do that? Any sample code?
Thanks for your help
Blaise
I am happy to share the news that Zen Mojo 1.1.1 has been released. This release includes many improvements and bugfixes, the most important are:
During a fine breakfast at Global Summit 2016 I was asked about the %DEFAULTDB database that now appears when creating the %ALL namespace. Until the documentation on "Mapping a Package Across Multiple Namespaces" is updated to include the use of subscript level mapping for all namespaces here is a brief explanation for this change in 2016.1: When creating a global subscript level mapping in the %ALL namespace the database that was used for the non-subscripted global could not be set to be the default database for each namespace.
Hello everyone,
I have discussed extensively with Andrew Cheshire, the author of the Atelier parser (which I'll be able to hack on and reuse for CachéQuality -- yay!), and while we were at it, we also discussed code coverage.
We ended up talking about the ZBREAK command and its /TRACE option.
It appears that combining this command and the unit test runner, we can indeed do code coverage (Andrew also told me about a way to map "back" routine lines to original lines in the source code).
Presenter: Danny Wijnschenk
Task: Help people make better decisions by letting application deal with all the data.
Approach: As an example, we’ll extend a demo asset management application for portfolio and trade compliance, using iKnow technology to translate agreements into rules that ensure portfolio compliance prior to trade execution.
In this session, we’ll discuss how easy it is to extend a classic application that deals with straightforward transactions, to also offer insights and actions based on more complex, unstructured data. We’ll present a use case on portfolio compliance from the financial services industry.
Content related to this session, including slides, video and additional learning content can be found here.