An XML-enabled class has an XMLExport() method that knows how to serialize an instance to XML. To export all instances of a class to a file, I need to instantiate a writer and loop through the extent. Is there no class method like XMLExportToFile() that does this in one go?
I am happy to announce the immediate availability of Caché and Ensemble 2016.1.
The highlights of 2016.1 are
- Significant improvements in JSON support
- Continued advances in SQL performance
- Database scalability improvements
- New REST services for DeepSee
These and other new features are summarized in this video introduction to 2016.1
For complete technical details of what’s changed in 2016.1, review the Caché release notes and the Ensemble release notes.
Straight-forward way to do it is well known and looks like this:
------------------------------------------------------------ sample #1 --------
echo "Try to freeze Cache instance $instance"
rm -f $mydir/db_temp
csession $instance -U%SYS << EOF >/dev/null
zn "%SYS"
set rc=##Class(Backup.General).ExternalFreeze()
set fn="$mydir/db_temp"
o fn:("WNS"):1 if \$t u fn w rc c fn
h
EOF
read rc < db_temp
if [ "$rc" = "1" ]
then
echo "...OK, system is frozen."
else
echo "** Copy ABORTED: freeze rc = $rc"
exit
fi
-----------------------------------------------------------------------------------
Introduction - Analyzing Textual Big Data
Big Data for Enriching Analytical Capabilities - Big data is revolutionizing the world of business intelligence and analytics. Gartner predicts that big data will drive $232 billion in spending through 2016, Wikibon claims that by 2017 big data revenue will have grown to $47.8 billion, and McKinsey Global Institute indicates that big data has the potential to increase the value of the US health care industry by $300 billion and to increase the industry value of Europe's public sector administration by Ä250 billion.
I have a %Net.Request object and I want to get a full URL of the request sent (preferably after all redirects, but even full initial one would be good). For example, I have the following method:
Have you ever needed to find a record for a particular person in your inbound data stream?
Searching messages will enable you to find messages using an array of search capabilities.
I think there should at the very least be a third option; "discussion".
Was this intentional? I don't like it.
How about a default tag for each community? If I'm in the Developer Community Feedback I shouldn't have to also pick a related topic of Developer Community.
This post brought to you by the department of redundancy department.
I want to determine what service (eg. %Service_Console) is used for current process.
I can probably use some workarounds, i.e.
- Is %request object present
- Does $Device contain |TRM|
- etc
But is there any centralised way to get current service?
Here are a few tips that might be useful to people who are running applications in an environment that's configured to use InterSystems mirroring.
- If you configure an ECP connection to a Caché instance that is a mirror member databases then the ECP connection should also have mirroring enabled (tick the mirroring box when defining the connection). More details here. You may also need to increase the number of ECP connections each end accepts, to cater for the way both members of a mirror pair get involved in ECP negotiation.
This latest update was a huge stride in making the community usable. I think you fixed almost all of the major usage gripes I had and it's looking great!
We will be publishing another update to Developer Community tomorrow, March 17th with the following enhancements and fixes:
In the recent march 15 update, there are multiple references to "groups". However in the menus, it still references "Communities" (Connect->Communities)
Shouldn't we update the menus to standardize on the word group(since that seems to be the popular/de facto term)?
Also I was forced to choose a related topic. There is no topic like: "misc", "other", "feedback", "site ui", etc. so I choose online learning
Look at this screenshot from the homepage. The "post" timestamp is the same as the "last comment" one.
Drilling into the item shows the correct amount of time since I created it.
Hello, Community!
We announce the Second Developer Community Contest:
Developer Community MVP of the March!
The rules are the same: win Developer Community MVP award in March and receive a free registration to the Solution Developers Conference at InterSystems Global Summit 2016!
Hello everyone,
Is there a required bandwith between client and server for using Studio on a normal basis ?
Thanks
When adding a new post, you now need to provide one or more tags to categorize the content appropriately. After selecting the tag, please remember to click the Add button to fully select the tag.

When you click on the My Content icon in the navigation bar you see a page with tabs, two of which are "My Content" and the other is "My Collaborations". The formatting of this content is not very good and is inconsistent between the two.
Questions:
1. How many of you are using these pages?
2. What are you using them for?
3. What information do you expect to see here?
4. How can we improve this?
We will soon be implementing a filter that will remove Developer Community feedback from the home page. Please keep the suggestions and comments coming.
You can still access the feedback from the "Browse by Group" section on the home page by clicking on the Developer Community Feedback link.
Should we have a tag cloud on the homepage in place of partial list of tag shown in the Browse by Tag?
or at least a better formatted page than the current tagcloud at:
https://community.intersystems.com/tagclouds/chunk/1
This is a very very hard listing of tags to interact with. It is one giant block of unformatted text.
Maybe turn this in to a full page tagcloud? Or a multi-column bulleted list?
Once again I choose the online learning topic for this post as no appropriate tag is available.
Hi,
posted some weeks ago in the "old" ZEN Google Group, maybe someone here can help to understand how to properly setting up a csp applications and contributing from the build-in caché security mechanism.
I´ve created a webapplication and wan´t to add further security to it using the smp. But... first things first.
I have two Databases let´s say DB1-LOGIN and DB2-Application. Each of this DBs has a resource assigned. DB1-LOGIN has a resource %DB1-LOGIN which has a public permission of 'read'. DB2 has a resource as well %DB2-Application with no public access.
With this release we've done a few things with subscriptions
1. Exposed personalization settings so you can control how and when you receive the email subscription notifications. See the image below
2. The ability to selectively subscribe to email notification for content by Tag. At the top of the "Browse by Tag" page there is a new link to Subscribe with Email.
3. Made RSS feeds available for content based on Tag and based on Group. At the top of the "Browse by Tag" and "Browse by Group" pages you will see the RSS link.
Since the March 15 update, Related Topic is now a mandatory field. My first post since the update was to this Developer Community Feedback group, and I found it hard to choose an appropriate Related Topic. I ended up picking "Online Learning" for that post, and will use the same for this one too.
Among the outputs of our Yuzinji tool are two code metrics that it can be interesting to track over time as a development project proceeds. These are Size and XS. The first is fairly straightforward. As you write more code the size of your codebase increases. The XS metric (pronounced "excess") aims to quantify excessive structural complexity. XS is explained in some detail in this 2006 whitepaper from Headway Software, whose Structure101 toolset Yuzinji leverages.
When I post, I am now required to select a Releated Topic.
However on the homepage I see "Browse By Tag" and can view all tags at https://community.intersystems.com/tagclouds/chunk/1
Shouldn't we use the same naming conventions throughout the Site UI? Change Related Topic to Tag?
Again, I had to choose online learning for the lack of any appropriate tag.
I do not understand the ordering of the topics/tags in the new post interface.
Why are they in this order?
In anyevent I suggest the standard alphabetical ordering ...any else have thoughts?
Here's what I now get (screenshot from Chrome at 75% zoom, yellow markers added to the posts with the wrong font)
:
Look at this. I see the same whether using Firefox or Chrome.
Are titles such as "answer406171" expected?

