go to post Dmitry Maslennikov · Oct 11, 2016 Your clarification does not help actually. But any way, deleting any object, leave just ID on a link, and again, everything here depends on your application. In most cases it could cause for some different issues, when application have not expected deleted object. And I would recommend to use some flag like "isDeleted", which can help to hide such objects in most of places, and still have an access to the content of this object, to show if it would be needed. Completely delete object recommended only in case when no any other objects has links to this one.
go to post Dmitry Maslennikov · Oct 11, 2016 It is completely depends on application which you use. Some developers create their own table for users independent from Caché users.Or maybe you talking about HealthShare or TrakCare?
go to post Dmitry Maslennikov · Oct 11, 2016 Thanks for review, and I think you right, and fixed as you offer.
go to post Dmitry Maslennikov · Oct 10, 2016 While your code interrupted when server shutdown, you can't do it directly. But I think you can try to call restart service of cache. So you should look at possiblilties OS, which you use for this server.
go to post Dmitry Maslennikov · Oct 10, 2016 You can't reset query, and loop again on the same result. You should execute as many as you need their results.But I think you can store result somehow, to some you buffer, and use it in next time.
go to post Dmitry Maslennikov · Oct 7, 2016 set url="http://www.intersys.com/main.csp?a=b&QUERY=abc&QUERY=xyz" Do ##class(%Net.URLParser).Parse(url, .aComponents) set query=$lfs($get(aComponents("query")),"&") for i=1:1:$ll(query) { set $lb(name,value)=$lfs($lg(query,i),"=") set index=$order(data(name,""),-1)+1 set data(name,index)=$g(value) set data(name,index,"O")=i } zwrite data data("QUERY",1)="abc" data("QUERY",1,"O")=2 data("QUERY",2)="xyz" data("QUERY",2,"O")=3 data("a",1)="b" data("a",1,"O")=1
go to post Dmitry Maslennikov · Oct 7, 2016 I think you can create some issue in this repoyou can also look at my example of Dockerfile, when I delete installation folder in the same command RUN with installation, which should became in the same layer
go to post Dmitry Maslennikov · Oct 6, 2016 For such task, Caché supports XPath -XML Path Language. And you should use class %XML.XPATH.Document, and in this class you may find some methods with examples.
go to post Dmitry Maslennikov · Oct 5, 2016 When you upgrade Caché from any previous version, every time you should look at Upgrade Checklist in the documentation, and this checklist while upgrade from such old version as 5And even with just a search by documentation you may find this link, with a textSPOOLER Heading Processing ChangedIn this version, a number of changes have been made to the HEADING and FOOTING statements, and general printer/terminal output in this context. Applications that depend on the format of SPOOLed output should be carefully checked to make sure the output still conforms to expectations.
go to post Dmitry Maslennikov · Sep 30, 2016 Have you tried it in cmd.exe instead of PowerShell, or the same troubles there ?Please show screenshots from page Securty, Services
go to post Dmitry Maslennikov · Sep 30, 2016 I've just updated from 245 to 255 but on macOS, and everything is OK.
go to post Dmitry Maslennikov · Sep 28, 2016 Ok, Is terminal working well ?and command ..\bin\cache -s.
go to post Dmitry Maslennikov · Sep 27, 2016 Sorry my mistake, I don't have widows system currently, for windows you should change %Service_Console to check access, you may use this command ..\bin\cache -s. Powershell or cmd does not matter.
go to post Dmitry Maslennikov · Sep 27, 2016 Ok, looks like, it does not matter who tried to connect to cache, any terminal access is forbidden. You should allow Password or Unauthenticated method for %Service_Terminal.
go to post Dmitry Maslennikov · Sep 27, 2016 first sample is correct, but depends on what is login.scr contains. This file should only contains 'answers' for login. so, it is a plain file, with login and password, in each line, and last empty file. login<\n> password<\n> <\n> - it is just a line break, which is required
go to post Dmitry Maslennikov · Sep 22, 2016 I'm just in the begin, I'm working on developing FHIR-based application, and currently it's enough, mostly because so far for production.
go to post Dmitry Maslennikov · Sep 21, 2016 in your code,obj - it is some object, it may have some ID or not, if it just createdname1 - it is a value for property name in that objectbut I completely don't understand why is here name2 and name3, and what do you suppose should be happens after this line ?and how it should save data in other objects which we even don't know which ?you should know somehow which objects you want to update. If you know only some other properties, you can use SQL command UPDATE