Hi!
Is there any way to export a class package to xml file programmatically which will include all the classes of the package?
Hi!
Is there any way to export a class package to xml file programmatically which will include all the classes of the package?
Hi, Community!
We introduced the monthly digest a few months ago.
Now it consists of articles and questions by tags in the post and only articles in your email.
Do you like it?
How can we make it better?
Should we do it weekly?
Hi, Community!
Let me introduce Dmitry Maslennikov as our new Developer Community Moderator.
Dmitry continuously shows the outstanding contribution to InterSystems Developer Community and we decided to trust Dmitry this role and hope that Dmitry can even help to make the Developer Community better in this new status.
Thanks for your great contribution, Dmitry!
And, we are looking for the new moderators from Community!
InterSystems Developer Community is growing! ![]()
Hi, Community!
Here is the digest of Articles and Questions published on InterSystems Developer Community in October 2016.
Most viewed
Hi, Community!
We deployed the new update on DC and it brings:
The new post subscriptions/favorites model:
with every post you now see the star in the left bottom corner of the widget in the feed or of the post.

Click on it and it turns to yellow which means that you store it in your "Favorites" tab which you can find later in your member's page like it is shown in my one.
Also, that means you automatically subscribed to email notifications on all the changes in this post.
Click it again to unfavorite/unsubscribe the article.
There is an interesting discussion in the Russian forum going.
What is the best solution for the function which returns the max for the set of parameters?
From the listed solutions I like this one:
ClassMethod max(args...) {
for i=1:1:args { s max(+$g(args(i))) = i }
s i="", max=$o(max(i),-1, i) Q $lb(max, i)
}Hi, Community!
This place is getting bigger and today we reached 2.000 of registered members on InterSystems Developer Community!
Recently we introduced online analytics (build on InterSystems DeepSee) of main figures regarding Developer Community.
You can find the analytics in the menu Community->Analytics:
So you can click on the dashboards and cells and drill down to the daily posts, tags or examine the current leaderboard of the most active and helpful members.
Thanks for your participation and contribution!
Hi, Community!
We put in production the new DC update today. With this update we fixed some bugs, like publishing drafts with proper date and RSS fix and introduced the new look to the member page.
Now member's page consists of Posts, Comments, and Favorites: e.g. this is the page of Alexander Koblov:
With this update you can see all the contributions and interests of your favorite author on DC.
Hope you like it!
Next weeks we prepare some new good updates! Stay tuned!
Hi, Community!
I'm glad to announce UK Technology Summit 2016 started!
#ISCTech2016 tag will help be in touch with all is happening in the Summit.
You are very welcome to discuss the Summit here in comments too!
Hi!
Suppose I have a project in Atelier with two classes: Class A and Class B and develop it in my local Caché installation.
If I decide to delete Class A and delete it in Atelier project will it be deleted in Caché automatically or should I do it manually?
Or what is the suggested workflow in this case?
Same question is if I decide to rename Class B to Class C.
Hi, Community!
Here is the digest of Articles and Questions published on InterSystems Developer Community in September 2016.
Most viewed
Mirroring 101: a brief guide and FAQ - 238
NewBie's Corner Session 27 Traversing A Global with $Order Part 1 - 214
Cache for Raspberry Pi? - 209
Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 199
REST in Pieces - 196
User authentication using Arduino with RFID - 146
Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 143
Cache or Caché? - 141
NewBie's Corner Session 28 Various Methods to Traverse a Global - 134
Cache Certification - 128
Most voted
Ensemble and file outbound adapters - a small hint - 11
Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 9
Advanced URL mapping for REST - 6
Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 6
Featured InterSystems Video: OAuth 2.0 Overview - 6
The Art of Mapping Globals to Classes (2 of 3) - 5
Running HealthShare XSLTs from Terminal - 5
Cache or Caché? - 5
Most commented
NewBie's Corner Session 27 Traversing A Global with $Order Part 1 - 16
question on ExternalFreeze on windows platform -- - 14
Cache or Caché? - 12
Mirroring 101: a brief guide and FAQ - 10
Windows 7 performs shutdown too fast for Cache to close and so it gets forced down - 9
Multiple namespaces in web application - 8
cleaning up CSP sessions (aka where/who/what is the %CSP.Daemon?) - 8
NewBie's Corner Session 28 Various Methods to Traverse a Global - 8
Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* - 7
Hi, Community!
We want to introduce tag for the posts, which are related to the newbies.
What is the best tag for it?
Newbie's corner?
Newbie?
Beginner?
Your option?
Hi, Community!
I've introduced new "Developer Community FAQ" tag, which gathers all the posts on "How to make this on Developer Community".
Also, you can find this link in the Learn menu. See the screenshot:
Here is the digest of the most interesting and valuable posts on Developer Community published in August 2016.
Here we go!
News, events, releases
Announcement about the Caché 2016.2 and 2016.3 Field Test Programs
Most viewed
Announcement about the Caché 2016.2 and 2016.3 Field Test Programs - 406
JSON changes in Caché 2016.2 - 306
What is causing the journals to grow rapidly? - 197
Writing forward compatible JSON in 2016.1 - 190
how to connect to the Cache database from node.js ? - 188
Caché MapReduce - introduction to BigData and MapReduce concept - 155
NewBie's Corner Session 17 New command - 153
Global references done internally by Cache - 145
Tips & Tricks - Process-private Globals as a class storage - 118
ZUTILS - 114
Most voted
Improve SQL Performance for Date Queries, AGAIN! - 8
JSON changes in Caché 2016.2 - 8
Caché MapReduce - introduction to BigData and MapReduce concept - 7
Announcement about the Caché 2016.2 and 2016.3 Field Test Programs - 7
Writing forward compatible JSON in 2016.1 - 7
HealthShare's new SDA extensions - 6
The Art of Mapping Globals to Classes 1 of 3 - 6
Enterprise Monitor and HealthShare - 5
What is causing the journals to grow rapidly? - 4
Most commented
Setting ContentType in Rest Service - 13
Use of $ZUTIL(49) is deprecated - 11
CSP CONFIGURATION - 10
Announcement about the Caché 2016.2 and 2016.3 Field Test Programs - 10
Calling javascript method from Zen method, with parameters - 9
how to connect to the Cache database from node.js ? - 7
What is causing the journals to grow rapidly? - 7
Problem in the Property parameters (DISPLAYLIST | VALUELIST) [ SOLVED ] - 7
Hi!
Sometimes you see that call to DeepSee cube building method:
w ##class(%DeepSee.Utils).%BuildCube("CubeName")does nothing.
Here are my 2 cents on possible reasons.
1. Run DeepSee Reset method in certain Namespace:
NAMESPACE> w ##class(%DeepSee.Utils).%Reset()
and try again.
2. Make sure, that all the indices in your base class for the cube are rebuilt, rebuild them and run it again:
w ##class(%DeepSee.Utils).%BuildCube("CubeName")Hope this will save some time for you, and will be helpful as was to me.
Have you tried $Translate for date conversion?
USER>write $Translate("Dd.Mm.WwYy","WwYy-Mm-Dd","2015-08-02")
02.08.2015
Stolen from Russian forum and Alexander Koblov.
Hi, Community!
Here is the digest of the most interesting and valuable posts on Developer Community published in July 2016.
Here we go!
News, events, releases
Do we need tag Performance to mark posts related to recipes of better performance for InterSystems based solutions?
Vote please, if we need it!
Hi!
How do you guys deploy DeepSee pivot variables?
Haven't found it in documentation.
Thank you in advance!
Hi, Community!
You know, that when we build hierarchies in DeepSee dimension all the members of lower level should be the part of one member of the higher level.
If not you'll get some empty results in MDX queries with this hierarchy.
With Time dimensions the obvious valid hierarchy is Year->Month->Day, cause every Month consists of one Year and every day consists of one month.
But be aware of using Year->Month->Week->Day hierarchy. In this case, there are some weeks in the year (most of them), which consist of two months.
Hi, Community!
We want to introduce tag Tips & tricks.
It's not a snippet sometimes, but some small piece of best practice and useful experience.
Please vote if you think it makes sense and we need this tag and we'll introduce it as the first level tag in taxonomy.
Hi, Community!
Today there are two main settings for your email notification subscriptions.
1. Subscribe to all new posts, all comments, all answers
You can do it in your subscription settings in the Content Types. Click on My Account, go to Subscriptions and click on Content types tab:
In this case, you'll get only one notification for every new article or question posted on DC and every answer and comment if you checked this option.
Here are some recipes with this option.
1. Receive all the new posts notifications (without answers and comments in it):
Turn on Post checkbox.
2.
Alex Koblov posted today a #CachéHaiku:
Full command names Make your code more readable Than compact versions
My haiku:
Caché Globals Shows you keys to the value If you $order it
Your variant? ;)
Hi!
There is interesting question in Stackoverflow.
This query works for MS SQL:
SELECT *
FROM
(
SELECT *, ROW_NUMBER() OVER (PARTITION BY client_id ORDER BY date_updated DESC) AS rn
FROM client_address
) a
WHERE a.rn = 1There is one answer there, which solves the task:
SELECT *
FROM
client_address a
LEFT JOIN client_address b
on a.client_id = b.client_id
and a.date_updated < b.date_updated
WHERE
b.client_id is nullBut it goes with comment, that there are no Window functions in Caché SQL.
I wonder, are there any other options to make this query in Caché?
Hi!
Here is the digest of the most interesting and valuable posts on Developer Community published in June 2016.
Here we go!
News, Events, releases
Update to 2016.1.1 Maintenance Release
2016.2 Field Test Kit 2016.2.0.677.0
Most viewed
What is the best way to serialize object/list/array/etc to string?
Caché Open Authorization Framework (OAuth 2.0) implementation - part 1
Hi, Community!
I'm pleased to announce the new Developer Community release today. Meet the changes!
New voting system
Now you can vote for the post or comment with like or dislike buttons to change the post/comment rating.
Previous ratings converted to the new rating with the following rule:
4,5 stars = +1
1,2,3 stars=0.
Improved email notifications
You should receive HTML notifications now on new posts and comments on DC.
Please share your feedback with the recent release.
And vote up this post ;)
Hi!
Here is the question in Russian Forum regarding roots extracting.
In Caché ObjectScript we use exponentiation operator (**) to raise an exponent to power. F.e. let's raise 3 to power of 3:
USER> write 3**3 27
And we use the same operator to extract the root.
USER> write 27**(1/3) 2.999999999999999963
And 2.999999999999999963 is not 3, obviously.
How to extract roots properly in Caché ObjectScript?
Hi, Community!
Want to share with you one debugging approach from the Russian forum.
Suppose I want to debug the application and I want it to stop the execution on a particular line.
I add in code this line:
l +d,-d
When I want to start debugging in this line I block d in terminal
USER> l +d
And execute the app.
The app stops on this line and lets me connect to it with Studio debugger.
To release lock I do in terminal
And what are your debugging practices?
Hi, Community!
If you prepare your longread for DC in Microsoft Word or Google Docs there is one very easy way how to add your formatted text and images in DC post at once.
To make it do the following:
1.Click Create Post on Developer Community.
2. Copy all the text in Word o GDocs to the buffer.
3. Click the button Paste from word (see the shot):

4. Paste the text to the opened window an press OK.
5. See the formatted text with images in your post. Save it as a draft or post it.
Hi!
Here is the digest of the most interesting and valuable posts on Developer Community published in May 2016.
Here we go!
News and Events
Caché and Ensemble 2016.3 field test now available
2016.2 Field Test Kit 2016.2.0.665.0
2016.3 Field Test Kit 2016.3.0.628.0
InterSystems Developer Community Twitter
Announcing New InterSystems Product Documentation UI (beta)
Most viewed
Writing better-performing loops in Caché ObjectScript
Installing Caché Applications Using Projections