Hi, Community!
Please welcome a new session recording from Global Summit 2017:
A Mocking Framework: Laugh at Unit Tests
Hi, Community!
Please welcome a new session recording from Global Summit 2017:
A Mocking Framework: Laugh at Unit Tests
Hi Community,
Has anyone ever set up a web service that takes a stream data type as an argument? The client will be dotNet.
This is the error I see:-
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Badly formed SOAP Message</faultstring>
<detail>
<error xmlns='http://soap.rmh.nhs.uk'>
<text>ERROR #5002: Cache error: <INVALID OREF>XMLLOOP+9^WebService.eDCGold.GetRootKeyLocalRef.1</text>
</error>
</detail>
</SOAP-ENV:Fault>
I have switched to a string data type for now and that is working fine.
Hi everyone,
I really like using dynamic objects and dynamic arrays, Usually ending up with an SQL query that returns a JSON object i throw into my application via REST and work out things from there.
Recently I noticed that I keep using dynamic objects as simple storage solutions like:
set settings.customerSelection = 1
instead of ending up with several variables flying around.
This certainly is way more inefficient than having simple variables but does it make a huge difference? Especially considering how much more organized the code appears?
Cheers
Hi ,
I am newbie working on Cache .
I have a global ^BB("QA",QDJ,QTM+i) , i want to create a table or a view to access the data from this.
I am expert in creating tables & views on RDBS like Oracle, SQL server. But no idea on Cache.
Can someone guide me from scratch how to pull the data from the global.
I have installed Cache Studio on my machine.
Regards
Hi everyone! My company has a Zen ERP application with CSP delegated authentication. Now, we're developing a separated BI application, using Angular, which consumes DeepSee REST API services. Both applications access the same Caché database.
How to implement single sign-on strategy in order to allow an already authenticated ERP user to access DeepSee REST services? Has anyone already implemented something like that?
Thanks in advanced.
Recently, we scheduled two tasks (1008 and 1009) within Task Manager. Task ID 1008 is set to run after Purge Tasks (%SYS-ID:3), and Task 1009 is set to run at 7:00:00 each day.
In attempt to provide as much detail as possible, each of the tasks are as follows:
WHILE (($p($h,",",2) < $ZTH("10:00 PM")) && ($P($g(^Task.1008(+$h,$j)),"^",1) = +$h)) { J ^ROUTINE, ^ROUTINE2 D SUB^ROUTINE3 H 5 }WHILE (($p($h,",",2) < $ZTH("10:00 PM")) && ($P($g(^Task.1009(+$h,$j)),"^",1) = +$h)) { d ^ROUTINE4, ^ROUTINE5 J SUB^ROUTINE6 }The two tasks both reach an UNDEFINED error, which seems
I want to export a project from Studio, but when I do so I get an error that I cannot use the default name and should rename the project instead. However, I cannot find anywhere how I rename the project.
When starting a post, especially for the beginner there are a lot of buttons, check marks, icons etc. On some of them when you hover you get a very brief descriptions. In reading through some of the responses to the Developer Community Feedback there is a lot of good information.
Could one of the moderators, who know all the tricks put together a one or two page "cheat sheet?" or beginner guide?
This "Cheat Sheet" would be of great help!
I get the impression that there is a great push to encourage others to use the Developers Community.
But maybe many try and become frustrated and quit before
When implementing our Deltanji source control product on Ensemble or HealthShare sites I sometimes encounter places that implement multiple production classes, e.g. one for their DEV environment and another for their LIVE one.
I have an xml file that I read into objects and I am trying to print that file back in nested xml anyone with idea on how that can be achieved or where I can read in order to achieve this, here is an example of what I am trying to do.
From this
<Root>
<FamilyMembers>
<familyName>
</familyName>
<Name>
</Name>
<Age>
</Age>
<Employment>
</Employment>
</FamilyMembers>
</Root>
To this
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<FamilyMembers>
<Family>
<familyName>
</familyName>
</Family>
<Name>
</Name>
<Age>I have an application that as part of the registration process is using reCaptcha to provide a captcha. The issue is that service is served from Google and is unavailable in certain countries, namely China. I've been researching this some and believe it's possible to proxy the requests to the Google CDN to avoid the Chinese firewall ban on Google URLs, however I'm not quite sure how to do this in CSP.
Does anyone have suggestions on how to solve this, either with a technical solution or an alternative service I can fall back to?
An example would be greatly appreciated.
Thanks
I am pleased to announce that Release Candidates of Caché and Ensemble 2017.2 are now available.
Many customers have already downloaded the Field Test over the past few months, and we appreciate your feedback.
This release contains significant improvements, including:
I'm simply trying to evaluate what is available in terms of JSON projection of registered objects within Caché.
If you have an app that uses some Caché client Windows components that are not included into CacheODBC distribution (e.g. CacheActiveX.dll), you need to proceed Caché client installation on end user's client computers and/or MS Terminal Servers. Being a part of Caché client's installation, Caché Cube is installed along with other components and is autostarted with every user's session. So, it becomes visible to every user.
To make it completely invisible, you can just move CACHE.lnk file from
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\"
to some other (backup) folder (assuming
Is there any Test Driven Development tool for Cache for the web development. If so can any one help me on this.
Thanks in advance.
Hi, Community!
How can I manage to show in MDX query months where every month shows the value of the last month?
Say, in HoleFoods the query:
SELECT NON EMPTY [Measures].[Amount Sold] ON 0,NON EMPTY [DateOfSale].[Actual].[MonthSold].Members ON 1 FROM [HOLEFOODS]
will show me the sum of revenue per month.

This query:
SELECT NON EMPTY [Measures].[Amount Sold].MAX ON 0,NON EMPTY [DateOfSale].[Actual].[MonthSold].Members ON 1 FROM [HOLEFOODS]
will show the Max revenue in a day for the given month.
But what MDX will show the months with the revenue for the last day in a month?
how to set some specific value for the variable if the user enter that specific value then only it will go to next step
When i tried to print .txt format,data will be coming without space between each row but when
I tried to print .xls format mean ,it gives gap of each row.what is the reason behind this?
I just noticed a new navigation item - "Back" now appears above the "Links side bar when viewing posts.
It is in the wrong font. Also it seems very odd place for this navigation item.
It alters the page layout by moving the content down & introducing more whitespace.
See image:

You may have already covered this in another place, but how does one insert "Relevant Articles?" in a post?
Hi, Community!
It's October and we have new DC release here. What's new?
1. InterSystems Single Sign-On for Global Masters
As you maybe heard about InterSystems Global Masters (GM) program. With this release, we introduced InterSystems SSO support for GM. So now everyone who has active WRC account can join GlobalMasters and no special invitation needed. You are welcome!
How it works:

You can use your previous credentials as well. And you can get the invite also - just comment here or in this post.
2. Badges
If you like to have badges for your contributions and activities in Developer Community and
Hi, Community!
I'm pleased to announce that we deployed a new release of Developer Community.
With this release we introduce:
1. New post type is introduced: Announcement
Choose Announcement as a post type if you want to say about a new product or feature release, about some new services in your company, if it is event announcement or there is a new job position open in your company.

E.g. here is an announcement, this is another example of event announcement and this very post is an announcement too.
Announcement post has "loudspeaker" sign in the post feed. See the examples:
2.
Hi world, i work on my business process and i meet a problem:
i want to send mail alert to the patient when he misses take his temperature measure
in the method for checking if the measure is missed or no , i want to integrate my code wich allows me to trig an alert an send a mail reminder to the patient .
Do you have any idea how doing it .
thank's
How to show alert message on ZEN when user closing window?
Standart js way to add listener is not working.
I tried this
ClientMethod onloadHandler() [ Language = javascript ]{zenPage.window.addEventListener('onbeforeunload', function(e){
return 'Are you sure you want to leave?';});
}and this, but both are unsuccessfully .
ClientMethod onloadHandler() [ Language = javascript ]{
zenPage.window.onbeforeunload = zenPage.myClientMethod;}Hi All,
I need some clarification on web service (Soap Service). For each Soap request, system consuming 1 license and it is not releasing until CSP session timeout and extra grace period 5.10 minutes(310 seconds).
Due to this, at some time license consumption is full.
If i use with Login credential (i.e password authenticated web service), it consumes one license for 25 connections(request).
But i need to use it as anonymous user(Unauthenticated).
Please advice.
Thanks,
Sabarinathan M
Hi, Community!
This week we have two videos. Check all new session recordings from Global Summit 2017:
1. Containers for InterSystems Technologies
I am confused about the meaning of "rating".
Is it how good the post is?
I did a search on "Rating" and got a lot of hits, but none seems to answer my question, either that or I missed it.
It would be nice to have some basic documentation on questions like these.
I don't mean to be difficult and maybe I don't understand, but what is the reason for having a rating?
Hi, Community Members!
The goal why we are posting questions on Developer Community is to get the answer.
Here is very simple guidelines document on how to ask questions which would get answers.
When you post a question you need to feel 3 fields: title, body, and group. And tags.
1. The Title
A good title should contain the brief description of your problem - it should not be longer than 80-90 symbols.
But brief doesn't mean one word. These are not very good titles for questions: Cache, Ensemble, Peace, World.
Examples of good questions:
Hi,
We are having a problem where sometimes a websocket connection started from a CSP page does not share the same SessionId as the CSP page itself. We are also using ECP and can see that both sessions are often even on different application servers.
Trying to connect Ensemble to RabbitMQ following this article I'm using Java Gateway and encountered the following problem - in all my calls I need to pass connection object, which is always the same but it takes a long time to create. Here's java code:
package com.myorgname.rabbitmq;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.QueueingConsumer;
public class Wrapper {
public void sendMsg(String hostName, String queueName, byte[] msg) throws Exception {
ConnectionFactory