Hello, one of our application partner, is considering modernizing their old CSP laboratory portal by using Zen Mojo with Bootstrap. They have a lot of experience with COS, CSP and some ZEN. They are new to REST/JSON and have some limited knowledge of javascript - perhaps not enough to the extent used by client framework.
NewBie's Corner Session: 5 Operator Precedence
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Click on the Caché Cube in your system tray and select Terminal to try out the commands.
Order Precedence means the order in which mathematical operators are executed. In a Mathematical expression, you may have Multiplication, Addition, Subtraction, and Division. Which of these are executed first, second, third, etc.?
The basic Operator Precedence of mathematics is:
Multiplication and Division has precedence over Addition and Subtraction
When I goto the main developer community page:
https://community.intersystems.com/
When I turn on network monitoring this root page takes over 6s to load, this is with the other pieces of the page already cached on a nice fast network connection, the by the time the other requests are made it is at around 6.7s! A few other attempts were slightly better at around 5s. By comparison if I look at stackoverflow.com I see the browser completely done in <1s, the content itself takes just 433ms.
Has anyone tried to extract a Microsoft SQL Image Column into a JPG file using Ensemble? We currently have a Microsoft SQL Integration Services job that exports a SQL Image column into a JPG and then resizes it. I would like to get this job off of Microsoft so the rest of our team can support it and wondered if we could do it in Cache Object Script using Ensemble.
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
I need to call Ensemble Business Operation by sending authorised (basic auth, cache user) HTTP request (REST-like). How can I achieve that?
Maybe configure a Business Service, but which one has this functionality?
Hi,
Our Cache server(version 5.0.15) has recently crashed. We are in the process of recovery. We had replaced the server's hard disk and trying to install the cache(5.0.15) But getting the following error. Any body show some light on the issue.
CctrlInstallStartCP( CACHE ) failed! Return value: 1 CctrlGetLastError() returned:
I am wish to use the mapping widget provided with DeepSee with my own Google license. What is the best way to make this happen?
(I apologize if this is a duplicate. My first attempt did not seem to get posted)
Hello developer community developers!
Thanks for all of features you create.
I encourage the one simple issue again and again when posting articles. Would be happy if it get fixed.
When publishing an article draft, the date of the post should be the date of publishing, but not the date when the draft was created.
Hi everyone!
I am helping a partner to develop a new application and one of the things we are facing is that this WEB application will be used on different time zones.
My first recommendation is that all timestamps should be drawn from $ZTimeStamp instead of $Horolog. That would allow the system to be draw the correct sequence of events even when they are generated on different timezones.
Hi!
I am trying to create a %Installer script and I noticed from our documentation that %Installer's <CSPAuthentication> will only accept:
<CSPApplication> Optional; within <Namespace>. Defines one or more CSP applications; the supported authentication flags are 4 (Kerberos), 32 (Password), and 64 (Unauthenticated).
Is "Delegated" authentication supported? What is it's code?
Kind regards,
Amir Samary
NewBie's Corner Session 4 The Plus Sign and Concatenation Operators
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Click on the Caché Cube in your system tray and select Terminal to try out the commands.
Plus Sign (+) operator
Typically, the Plus sign (+) adds two numbers together. This is true in COS (Caché ObjectScript), but COS uses it in other ways as well.
Set the variable X to a value of +12
Set X=+12
Write X
12
Set the variable X to the value of +"ABC"
Set X=+"ABC "
Write X
0
Hi everyone!
I am trying to choose the best collation for a new application that will be running on a spanish locale (Chile).
I can see there are database collations for Spanish1, Spanish2, Spanish4 and Spanish5. What is the difference between them? I can't find anything on our documentation. Should I simply choose the latest (Spanish5)?
Kind regards,
Amir Samary
Hi ,
is there anything know about Vista Pharmacy or Vista HL 7
Thanks
kamal
Hi -
Let's say I want to override the HTML that is generated by provided ZEN Mojo Helper Plugins I use the onloadHandler method of my document page, retrieving elements, and modifying them using jQuery syntax.
For example, I'm using bootstrap, and, I want the <button> element automatically generated with the use of the $navbar layout object, to collapse/expand a different <DIV> on my page, to the default one it produces.
Is this the correct spot and approach to use ?
thanks
Steve
Good morning, I am using a tableNavigatorBar on a tablepane. I want to execute the onselectrow method of the tablepane each time the tableNavigatorBar is used to proceed to a tablepane record. Has anyone connected these two component in this way before? Thank you for any hints, input and/or comments.
I am playing with json output from result sets
I've generated a dynamic resultset and now doing the json and I can get Array's with nested Objects but I'm trying to get to Objects nested with another object
s mainObj = ##class(%Object).$new()
set array=[]
While (result.Next()) {
s object = ##class(%Object).$new()
s object.id = result.Data("ID"
s object.reg = result.Data("Registration")
s object.snNum = result.Data("SatNavVehNumber")
do array.$push(object)
}
w !!,array.$toJSON()
Hello!
I am trying to install Caché 2016 on a Debian Jessie machine; so I downloaded the latest release from WRC, OS RHEL x86_64, in tarball format.
I untarred it, then launched cinstall; unfortunately a library was missing. I then elected to kill all the processes (which wasn't easy), remove the two users created, and start again.
Unfortunately, for some reason, when I relaunch the install again, the install process still detects the old instance which I installed previously... And I cannot find where this information came from (I removed the install directory by hand entirely).
Consider a design where there could be three or four or more servers and there is a need to have these eventually consistent between them all (and not considering database mirroring here).
The current Caché documentation here demonstrates this well using object synchronization between two servers, however it doesn't indicate whether more than two servers can participate to create a "mesh type" deployment. Below is a diagram of what I'm curious to know is possible to implement with Object Synchronization.
Hi All,
I am providing support to an AP about using document criteria on Multiple Templates (Explicit Dispatch).
I am trying to set the criteria value from:
view.setDocumentKey('initial-search',{patirntId:tPatId});However it is not possible to get the criteria value on %GetJSONContent through pCriteria parameter object.
How can I do this with Multiple Templates on bootstrap plugin?
Thanks.
Hi,
My name is Sergio Fernandes and I'm from Brazil.
I would like to know how can i use MVBasic at Cache Terminal or .csp.
My original problem is to converter Integer Numbers to Roman Numbers and consulting cache documentation I found "Conversion Codes" at http://localhost:57772/csp/docbook/DocBook.UI.Page.cls?KEY=GVRF_basicfe…
My version is Intersystems Ensemble 2013.1.6.950.0
Thanks a lot,
Sérgio Fernandes
NewBie's Corner Session 2 Variables Set and Write commands
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Session 2 – Click on the Caché Cube in your system tray and select Terminal to try out the commands.
Variables
Like other computer programming languages, Caché uses Variables and the values they represent to control programming. Variables are elements that represent data values. Manipulating and interrogating variables is at the root of programming.
Looking at the navigation, should we consider moving the Logout function under the My Account button? It is kind of oldschool to see the logout functionality as a stand alone menu item.
Maybe the My Account button should have "Account Settings" and "Logout" as the drop menu items?
Thoughts?
Learn about the various options of using SQL within Caché!
Hi all,
I have a dashboard which shows the growth of the months compared with the month from the last year.
The way I found to develop that, it was with a kpi. So, I overrode the %OnLoadKPI method with two mdx:
SELECT NON EMPTY [DataD].[H1].[MothYear].Members ON ROWS, [Measures].[CountVisits] ON COLUMNS FROM SubjectAtendimento %FILTER [DataD].[H1].[Year].&[2016]
SELECT NON EMPTY [DataD].[H1].[MonthYear].Members ON ROWS, [Measures].[CountVisits] ON COLUMNS FROM SubjectAtendimento %FILTER [DataD].[H1].[Year].&[2015]
Hello, our customer, large industrial company, is considering modernizing their old CSP application so it can run on multiple client device types, using responsive design.
They have a lot of experience with CSP and some ZEN.
They are new to REST and have some limited knowledge of javascript - perhaps not enough to the extent used by client framework.
Does anyone have a framework or a set of templates that you would be willing to share?
Thank you!
Dan Kutac
Preview button in comments does not work
I have an sql that is refusing to play fairly.
I have
- tuned affected tables
- made sure I'm on the latest version (2016.1)
- got enough global buffers
- tried forcing the sql to use outliers correctly
Still nothing. here's the SQL
Hello,
I'm trying to connect to a Caché server from Atelier; the Caché server is 2015.x.
The address and port I'm trying to connect to is the SQL gateway server; and I get, each time, an "unexpected end of file from server".
Note that unfortunately, for the moment, I connect as _system... And the Caché install has the default privileges.
What am I doing wrong?
This is a bit weird. I'm trying to use `DATEDIFF()` to calculate the time since the last message on an interface. For some reason, when no messages are received, the number steadily decreases. This is the opposite of what should happen. Here is my current query and a few sequential result sets:
SELECT getDate() as now, max(TimeCreated) as latest, DATEDIFF (s,getdate(), max(TimeCreated)) as difference FROM EnsLib_HL7.Message

