Recently I was asked by a customer with this question. In MS SQL Server, there is a function called host_name() that will return the work station name.

Here is how I would do it in Caché :

With default SQL schema name, in my case SQLUser in SQL (which is equivalent as User in Caché class definition), I have a class called User.dummy, I added a classmethod called hostname and expose it as SQL function host_name:

 

Last answer 2 June 2016 Last comment 3 June 2016
0   0 2
761

views

0

rating

I have a ZEN page with buttons, text boxes and a tab group. The tab group contains a single tab which I use to display an image(src). When the user, uses the browser zoom capabilities to reduce or enlarge the image, the other controls are reduced or enlarged as well. How can I reduce or enlarge the tab src alone? Thank you for any and all input.

Last comment 2 June 2016
0   0 2
0

answers

147

views

0

rating

NewBie's Corner Session 6 If and Kill commands

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.

As in other computer programming languages, the If command is the primary decision makes.

If command with numeric operands

0   0 1
0

comments

215

views

0

rating

Hi all - I'm running a Zen page that inherits from %Zen.Component.page, and I'd like to step through code and debug it.  Is this possible, and how?

 

I've tried to attach to a process that I think is mine (it has my internal IP address) but is using "Unknown User".  Any ideas on where to start debugging the page  -- this page calls lots of other pages.  I'd thought I'd start at the home page.  

 

Perhaps I need to navigate to my page that I want to debug, and attach at that point.

 

Any info on the debugger in this atypical use is appreciated.

Last answer 31 May 2016 Last comment 2 June 2016
0   0 2
463

views

0

rating

What would be the easiest or best way to filter the options presented by a filter control?

For example, suppose that I create a query using HoleFoods that uses a named filter to filter the product categories according to some criteria. When I display the query on the dashboard, I would like to provide a filter control that will allow users to further constrain the product categories. However, a simple filter control will display all the product categories available in the cube many of which are irrelevant to the current query.

Thanks for your help!

 

Last answer 2 June 2016 Last comment 2 June 2016
0   0 1
201

views

0

rating

This is more of an eclipse thing, but I couldn't really find an answer when I searched.  I created a new workspace, but I had updated my keyboard shortcuts in the first workspace and now I'm trying to import the changes.  I successfully exported them as .csv, but I cannot find a way to import the changes into the new workspace.

Any help would be appreciated.

Last answer 2 June 2016 Last comment 2 June 2016
+ 1   0 1
254

views

+ 1

rating

I am just trying to make a quick hand off HTTP production. I have the class built and compiled onto the server and the production is running as a service. When the production is called (by an inbound job) I can see that the HTTP.InboundAdapter is being used successfully and the stack continues all the up to ProcessInput where OnProcessInput is called in Ens.BusinessService.

Last answer 25 May 2016 Last comment 1 June 2016
0   0 2
830

views

0

rating

I need to pass a parameter string that contains slashes to a REST call.

I tried URL encoding, or making URL map to accept query parameter instead of path parameter but apparently we only allow for path parameters.

I can come with several workarounds, but these involve some transformation at client and then on server, but I'd prefer a direct support.

Q1: is there any Cache specific trick to pass slashes in path parameters

Q2: are we going to support query parameters in REST?

something like this would help: 

Last answer 1 June 2016 Last comment 1 June 2016
0   0 0
14872

views

0

rating

Hi,

Assume an architecture where an ECP Database Server is connected to by one or more ECP Application Servers inside a firewall.The application server hosts the web application that web users connect to.

The Web servers are outside the firewall, and, (using the CSP gateway/server mechanism) issue requests over the SuperServer port and into the application server.

I know that the traffic between the Web Server and the ECP application server can be encrypted using HTTPS, and access to the CSPServer on the Application server is username/password secured.

Last answer 31 May 2016
+ 1   0 1
0

comments

2600

views

+ 1

rating

 

This article is about DeepSee Listing Groups, a new DeepSee feature that was introduced in release 2015.2.

DeepSee Listings have always been a part of DeepSee.  DeepSee Listing Groups provide increased flexibility by allowing you to create new DeepSee Listings without modifying the cube definition.

Last comment 31 May 2016
+ 3   0 1
202

views

+ 3

rating

Hi ,

In HSBUS we have out of box operation HS.IHE.XDSb.Repository.Operations to route CCD's from HSBUS to Edge gateway.

Earlier it was working fine, but for maintenance we have to rest the DEV environment, Now its throwing below error. I have verified all registry configuration and the CCD feed is also same, nothing is changed except reset. Can someone help me, where to look for this problem or what I am missing here.

Last answer 31 May 2016 Last comment 27 May 2016
0   0 1
693

views

0

rating

I have a tool I absolutely love for HL7 v2 analysis and manipulation. It's called 7edit.  I'm wondering if there is anything similar for HL7v3/CDA/CCD.  I know it is considerably more complex, but I still have hope.

So far the best resource I've found is http://www.cdapro.com/.  I'd love to hear anyone else's tips for tools or resources.

Last answer 31 May 2016
+ 1   0 1
0

comments

752

views

+ 1

rating

We are receiving XML documents and storing them. When we click to go into the clinician portal and again to view a patient, we can see the documents but none of the data is mapped to their respective buckets, i.e. allergies or medications.

I am thinking that I need to build an XSLT parser and change the format to SDA3, is this an appropriate approach? Or would using the Data Transformation (Ensemble -> Build -> Data Transformation) be a better idea? Lastly, if the XSLT idea is preferred, where would I call it within the stack?

Last answer 31 May 2016
0   0 2
0

comments

269

views

0

rating

Hello there Intersystems Developer Community,

This year while at the Global Summit, I came to learn of a component that Stephen Morrison of Intersystems had written that was capable of infusing SVG content into a PDF document.  Apparently Stephen was approached about this and was amenable to sharing the code with us as we have recently encountered a similar need.  I'm hoping this post will lead to the sharing of this utility code, so that we can determine if it will indeed suit our need.

Last answer 25 May 2016 Last comment 31 May 2016
0   0 1
277

views

0

rating

Steve Glassman is on vacation today so in his place I wanted to announce the availability of a new kit for the 2016.3 Field Test. The kit details are: 2016.3.0.628.0

 

Most of the changes are related to DeepSee, DocDB data models and dynamic objects. You can find a complete listing here:

https://wrc.intersystems.com/wrc/WRC.StreamServer.cls?FILE=/wrc/FieldTes...

 

Bill McCormick

Director of Product Management

0   0 0
0

comments

197

views

0

rating

Hello, I'm new to Ensemble, and my first task is to become familiar with the Production and create a basic outline of it for the users to view (which servers, where are the input files, where are the output files, how many records...).  What are the Production tables?  I'd like to start there.

Thanks,

Laura

Last answer 27 May 2016 Last comment 27 May 2016
0   0 2
335

views

0

rating