go to post Dmitry Maslennikov · Feb 8, 2016 You want to log, every outputs in csession like in cterm in windows, or just want to log every output for concrete command/routine ?
go to post Dmitry Maslennikov · Feb 8, 2016 Unfortunately not so many information could be found in documentation, yet. But what I know, when ordinary class/classmethod or clientmethod defined in %Dictionary.MethodDefinition, systemmethod defined in %Dictionary.SystemMethodDefinition (link to localhost:57772). Defintion for systemmethod is quite close to method, but with much less parameters.
go to post Dmitry Maslennikov · Feb 1, 2016 Hi Luca, Will there any academic sessions at global summit with Docker ? I think it should be, it will be very helpful, to understand how it works with Cache, how possible to deploy applications. I like docker, and think about it, but still do not understand how it can be used with our applications, and how to make container for it, and connect to Cache's container.
go to post Dmitry Maslennikov · Jan 27, 2016 Yes, it is so. And yes, I'm already have enough rep for editing. But I'm not sure in stackoverflow rules, is it available for such changes? And I'm not sure in my english, that's maybe main reason, why I have not done it yet.
go to post Dmitry Maslennikov · Jan 27, 2016 You can see my example at code.intersystems.com. and with this code, you do such query select * EnsUtil.Message_fetch() or select count(*) EnsUtil.Message_fetch('namespace1,namespace2')
go to post Dmitry Maslennikov · Jan 27, 2016 Looks like, one rss feed works, but with just a few posts
go to post Dmitry Maslennikov · Jan 26, 2016 And even if you don't extend any classes, it any case will be hidden extend with %Library.Base. and %systemInclude still be included.
go to post Dmitry Maslennikov · Jan 26, 2016 I'm very agree, with advertising stackoverflow tags, it is a very good platform for questions. But unfortunately just a few people use it, some more at different google groups , and as I think much more at russian forum sql.ru. But I see that stackoverflow, much better that any others. Unfortunately here as we already know, it is quite difficult to recognize a question in new posts. And very bad that this site still does not have any RSS, i can't wait when it happen. And too difficult to catch any new posts via email subscriptions, which is so ugly yet. You mentioned tag objectscript at stackoverflow, but I don't understand why so many people choose it as relevant to intersystems technologies. It does not, it looks odd, even every last question marked with this tag, depends only with caché. And it looks we should change description for this tag, which will be relevant to Caché.
go to post Dmitry Maslennikov · Jan 23, 2016 Is it your account on github ? Looks like you already know how to create repository and work with github. Just create another repository, and create some readme (in english), license file. Most of projects on InterSystems technologies uses MIT license. In your porject more then one class, so better to export each file separately. Easy to do it with Studio hooks, for example with this project. It can help to export project files automaticaly after compile. And then after publish your project, Evgeny or somebody else who manage intersystems account, will fork it.
go to post Dmitry Maslennikov · Jan 21, 2016 Final method or not it checks only in a compile time. Much helpier would be if you show an error which you get.
go to post Dmitry Maslennikov · Jan 21, 2016 In Cache uses typeless language. So in some cases such as in command IF if varName write "true" else write "false" or any other logical operations any non zero values will be as true values. and '1 will give a 0
go to post Dmitry Maslennikov · Jan 21, 2016 I guess that you writing an function for rule. And your class where you do it extends Ens.Util.FunctionSet where Lookup is located. Lookup is a method and you should call it as a method, now it is as variable. /// Returns the participant code based on MSH-4ClassMethod getParticipant(iSendingFacility As %String) As %String [ Final ]{ set a = $PIECE(iSendingFacility,"^",1) set b = $PIECE(iSendingFacility,"^",2) set sc1 = ..Lookup("ParticipantCodeMap",a) if sc1 = "" { set sc1 = ..Lookup("ParticipantCodeMap",b) } q sc1} And if you want to call it by terminal, it should be so: write ##class(Ens.Util.FunctionSet).Lookup("ParticipantCodeMap","1083601330")
go to post Dmitry Maslennikov · Jan 21, 2016 What do you mean by environment ? In Cache we dont have such term. Maybe you mean System Mode on page "Memory and Startup" Page. If so, that value only stores in global here ^%SYS("SystemMode")
go to post Dmitry Maslennikov · Jan 21, 2016 Well, with this example, I just changed that block, which works for all rest pages in a group except the first one. <masterreference masterReference="rest" pagePosition="rest"><document width="8.5in" height="11in" marginLeft="1.25in" marginRight="1.25in" marginTop="1.0in" marginBottom="1.0in" headerHeight="1.0in"></document><pageheader><table orient="col" layout="fixed" width="6in"><item style="text-align:left" value="Sales Report" /> <item field="@name" width="2in"></item><item style="text-align:right" special="page-number-of-with-xpath" field="@name" /></table></pageheader></masterreference> And it shows Sale rep in a header where page counter was shown before, for exampleSales Report Jack 2 of 5Sales Report Jen 3 of 5You can see my result here. A changed only first section.
go to post Dmitry Maslennikov · Jan 21, 2016 Hi Steve, are you have seen class ZENReports.PageLayouts in SAMPLES namespace? It shows a lot possiblities for ZEN Reports. Page headers as well. And with sample is not so difficult to make a groupped report with a value on ech page at header. For more control on page header in reports, you should look at page pagemaster, masterreference, pageheader
go to post Dmitry Maslennikov · Jan 14, 2016 And every time for any cases, it add only 1 point. And even every view of page, unique or not also give you points.
go to post Dmitry Maslennikov · Jan 14, 2016 Templates in ZEN, is a quite simple as I think. When you doing template page just add <pane paneName="MainContent"/>. And then in a children, you should add XData with the same name "MainContent", which starting with tag <pane>. XData MainContent{<pane xmlns="http://www.intersystems.com/zen"></pane>} You should not rewrite Contects XData in children pages, and such subpanes could in the same class, or in children.
go to post Dmitry Maslennikov · Jan 14, 2016 Yes, here form is required, data could tied with model only via dataController, and form or dataGrid
go to post Dmitry Maslennikov · Jan 13, 2016 In this case, in a table you just add a new column with link <column header="" width="5%" linkCaption="view" link="ZenTutorial.ViewContact.cls?ID=#(%query.ID)#"/> so, now, we got an contact's ID in every row. and then in a ViewContact page, we should add a dataController, to our Model, and define an modelId, from url <dataController id="contactData" modelClass="ZenTutorial.ContactModel" modelId="#(%url.ID)#" /> You can set modelId with URI Parameters as weel, after adding a property: Property ContactID As %ZEN.Datatype.integer(ZENURL = "ID"); and new modelId, which now uses our new Property modelId="#(%page.ContactID)#" and finally form, wich connected with previously added controllerId, and it shows two fields, read only, yet. But it is not so diffucult to add editng. <form id="MyForm" layout="vertical" controllerId="contactData"> <text label="ID:" id="ID" name="ID" dataBinding="%id" size="5" readOnly="true"/> <text label="Name:" id="Name" name="Name" dataBinding="Name" size="30" labelClass="required" required="true"/> </form>