Announcement Evgeny Shvarov · May 13, 2016 Meet InterSystems Developer Community Twitter! Hi, Community!We've launched Twitter for InterSystems Developer Community!Follow us to be in touch what happens on InterSystems Developer Community. Find valuable postings, hot discussions and best practices links there. You can also retweet and like what you find significant!See how it looks:Join! #Developer Community Official 3 5 0 493
Question Evgeny Shvarov · May 12, 2016 Full series of dates in Time Dimensions in DeepSee Hi!Sometimes, especially when I work with Combined Cubes, I need to have all the dates in Date Dimension, not only members with rows in Fact table.Is there any way to switch it on? #InterSystems IRIS BI (DeepSee) 1 6 0 357
Article Evgeny Shvarov · May 11, 2016 1m read The simplest snippet to read from file in InterSystems IRIS Hi! I believe the simplest is (to work with csv delimited by ";"): set file = ##class(%File).%New( "data.csv" ) set sc = file.Open( "R" ) if $$$ISERR(sc) quit ; or do smth while 'file.AtEnd { set str=file.ReadLine() for i=1:1:$length( str, ";" ) { set id=$piece( str, ";" ,i ) write !, id // or do smth } } do file.Close() Possible options: different variants of error handling with sc code. Embrace while loop into try/catch block. And what's yours? #Code Snippet #CSV #ObjectScript #Caché #InterSystems IRIS 3 16 0 7K
Announcement Evgeny Shvarov · May 5, 2016 Developer Community April 2016 Digest Hi!Here is April digest of most interesting and valuable postings on Developer Community in April 2016.Here we go!News and EventsInterSystems Global Summit 2016 - Session ContentSources for InterSystems Global Summit 2016 Sessions and Expereiences2015.2.3 Maintenance Release #Digest #Object Data Model #Developer Community Official 1 0 0 377
Question Evgeny Shvarov · Apr 24, 2016 Import/export data from InterSystems IRIS Hi! Suppose I have full access to InterSystems IRIS database instance A and want to export a consistent part of the data and import it into another InterSystems IRIS instance B. Classes are equal. What are the most general and convenient options for me? TIA! #Databases #Data Import and Export #Object Data Model #HealthShare #InterSystems IRIS for Health #Health Connect #InterSystems IRIS 0 18 0 7.1K
Article Evgeny Shvarov · Apr 16, 2016 1m read Try catch block I usually use in InterSystems ObjectScript Hi! Want to share with you code snippet of try catch block I usually use in methods which should return %Status. { try { $$$TOE(sc,StatusMethod()) } catch e { set sc=e.AsStatus() do e.Log() } Quit sc } Here $$$TOE is a short form of $$$TROWONERROR macro. Inside macro StatusMethod is any method you call which will return %Status value. This value will be placed into sc variable. #Code Snippet #ObjectScript #Caché #InterSystems IRIS 5 21 2 3.4K
Question Evgeny Shvarov · Apr 16, 2016 Atelier project hidden files. What should I commit? Hi!In every Atelier project you can find following hidden files:.buildpath.version.connection.project.Should I include all of them into commit?I understand that .project is mandatory. But what about the rest? Is there any general rule?F.e. if we work in team and everybody has their own connection on locale machine .connection should not be included. Yes? 1 1 0 390
Article Evgeny Shvarov · Apr 15, 2016 2m read Sources for InterSystems Global Summit 2016 Sessions and Experiences Hi! Please find all the source code Global Summit 2016 Sessions and Experiences in following GitHub repositories: #Global Summit 2016 #ObjectScript #Summit 4 1 0 953
Question Evgeny Shvarov · Apr 5, 2016 How to avoid writing duplicate code in dtl InterSystems Ensemble Hi! There is a question for Ensemble on Stackoverflow:I have the below dtl. In the foreach loop, I am just copying the same code in another part under anif condition. How can I avoid this redundancy? Can I reuse using sub transformation?Here is the dtl class file :https://docs.google.com/document/d/1snJXElyw13hAfb8Lmg5IaySc7md_DE8J40FB79hBaXU/edit?usp=sharing #Ensemble 1 2 0 580
Announcement Evgeny Shvarov · Apr 1, 2016 Developer Community March 2016 Digest Hi, Community!Here is the digest of the most interesting and valuable articles published on Developer Community in March 2016.If we missed something interesting, please feel free to add it in comments.So, here we go!News and EventsCaché and Ensemble 2016.1 ReleaseNew Book, Caché and MUMPS – Part II #Digest #Developer Community Official 3 0 0 404
Question Evgeny Shvarov · Mar 31, 2016 Running total without %CELL Hi!There is an example in Samples which shows how to implement 'running total' measure: "Pareto Chart for Category" dashboard.To calculate running total this pivot uses calculated measure with %Cell expression:Measures.[Revenue as Percent of Total] + %CELL(0,-1) #InterSystems IRIS BI (DeepSee) #Analyzer #MDX 0 3 0 446
Question Evgeny Shvarov · Mar 23, 2016 Get coordinates against street address Hi!Does anyone have an example of subj?I know there is google service for it. Anyone uses it in production? What is the feedback?In case of positive feedback would you please post the code example?TIA! #Caché #Code Snippet 0 5 0 467
Article Evgeny Shvarov · Mar 18, 2016 1m read Developer Community MVP of March and the Winner of GLobal Summit Contest II is ... Hi, Community! The Second InterSystems Global Summit Contest finished yesterday, and we have a new winner! John Murray has won the prize and showed very impressive contribution activity with the result: #Global Summit 2016 #DC Feedback #Summit 2 4 0 324
Announcement Evgeny Shvarov · Mar 10, 2016 Global Summit Contest II - half time review! Hi, Community! The Second Global Summit Free Registration Contest is running and we have only one week to celebrate new winner! Here is current leaderboard amongst non-InterSystems DC Members after a half of the race: #Contest #Global Summit 2016 #Other 3 0 0 165
Article Evgeny Shvarov · Mar 10, 2016 1m read DeepSee Termlist Deployment What is the best way to deploy DeepSee Termlists? #InterSystems IRIS BI (DeepSee) 0 5 0 377
Article Evgeny Shvarov · Mar 9, 2016 2m read How to make posts with code on Developer Community Hi! Here is small "How to" again. Suppose you need to share something with source code. How can we manage it on DC? Sharing code snippets 1. Add normal post (not Code Package). 2. Paste your code in the post and format it with highlighting as it is described here. #Caché #Code Snippet #Coding Guidelines #DC Feedback 3 2 0 512
Announcement Evgeny Shvarov · Mar 2, 2016 Global Summit Free Registration Contest Episode II 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! #Summit 5 8 0 386
Announcement Evgeny Shvarov · Mar 1, 2016 InterSystems Global Summit 2016 Free Registration Contest. And the winner is... Hi Community!I'm pleased to announce that the winner of the Global Summit Free Registration Contest is... #Events #Global Summit 2016 #Summit 4 7 0 499
Announcement Evgeny Shvarov · Feb 28, 2016 Meet InterSystems Data Platform Blog! Hi Community!Meet the new group in Developer Community:InterSystems Data Platform Blog!In this group you'll find technical posts form InterSystems engineers and Community about InterSystems Data Platform technology cases which we consider as good or even best practices.Every article in this blog passes InterSystems engineers' reviewing procedure and only then becomes available. You are very welcome to comment and share it! #Developer Community Official 1 0 0 279
Announcement Evgeny Shvarov · Feb 23, 2016 InterSystems Global Summit 2016 MVP Contest Update! Hi, Community! There are only six days left to win InterSystems Developer Community MVP prize. As it was announced in addition to Free Registration on InterSystems Global Summit winner gets 4 nights stay in the Arizona Baltimore, Waldorf Astoria Resort. We measure contribution to Developer Community on valuable posts and comments and prepared special leaderboard built on InterSystems DeepSee. By default, it shows all the members. We added the filter to the dashboard to show leaderboard without members who are InterSystems employees. So here is current leaderboard without InterSystems members: #Contest #Global Summit 2016 #Other 2 6 0 298