go to post Alexander Koblov · Jul 31, 2018 Hi Sebastian Maybe you are looking for ^%ISC.ZEN.cssLevel Or the method %OnDetermineCSSLevel paragraph "Zen Pages Uses CSS Level 3" https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...
go to post Alexander Koblov · Jul 20, 2018 David, Have you tried suggestion from https://community.intersystems.com/post/eclipse-could-not-render-atelier... ?
go to post Alexander Koblov · Jul 9, 2018 Shouldn't it be: default.driver: com.intersystems.jdbc.IRISDriver ?
go to post Alexander Koblov · Jul 5, 2018 Might be that %Development resource has 'Public Permission' -- see Management Portal -> System Administration -> Security -> Resources. Might be that %Development resource is granted not to user directly, but to web application. So, I would check that security settings are the same on both 2016.2 and 2017.2 instances
go to post Alexander Koblov · Jul 3, 2018 This message means, that server-side Atelier API -- web-application /api/atelier -- is configured with only Unauthenticated access. So, even though you put Username/Password in Server connection dialog, they are cannot be used, as server-side configuration does not allow this. To allow password authentication, open Management Portal, then go to Menu (top-left corner) -> Manage Web Applications -> [api/atelier]. Put checkbox near Password in "Allowed Authentication Methods". Save the web application
go to post Alexander Koblov · Jul 3, 2018 Dan, also try to put following lines in /configuration/config.ini osgi.module.lock.timeout=600 equinox.statechange.timeout=600
go to post Alexander Koblov · Jul 3, 2018 Hi Dan. There were three questions for error with RuntimeDelegateImpl. Have you looked there? Maybe they have some solutions for your question https://community.intersystems.com/search?search=Runtimedelegateimpl
go to post Alexander Koblov · Jun 29, 2018 If you can’t telnet to that server/port from computer with Studio then something in the middle prevents this connection. This is question for network administrators.
go to post Alexander Koblov · Jun 29, 2018 If Audit is enabled and LoginFailure and Protect events are enabled and there is no audit event recorded when you enter username/password and see error after clicking OK. then I would say that connection attempt from Studio does not reach HealthShare. Can you do telnet on port 1972 from the computer where you have Studio? Instead of server specify IP-address of server with HealthShare C:\temp>telnet server 1972 Connecting To server...
go to post Alexander Koblov · Jun 29, 2018 I believe you can click Cancel on that "Communication link failure" error and then go to File -> Change namespace -> Connect -> choose the instance and then Studio will ask you for credentials
go to post Alexander Koblov · Jun 29, 2018 Scott, try to enable Audit and events Protect and LoginFailure and then check if any events are recorded in Audit log, when you try to login into Studio and see the error. http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Alexander Koblov · Apr 16, 2018 Nael, I think you need to use 4th argument of $zconvert: Set file=##class(%File).%New(..LocalFileName) Do file.Open("R") Set handle="" While 'file.AtEnd { Set Line=$ZCVT(file.Read() , "I", "UTF8", handle) // do something with Line } Do file.Close() Handle "contains the remaining portion of string that could not be converted at the end of $ZCONVERT, and supplies this remaining portion to the next invocation of $ZCONVERT." Please see reference for $zconvert
go to post Alexander Koblov · Feb 22, 2018 Thank you for sharing Mike. Please notice that Dynamic SQL looks for the host variable in the global scope. For example, consider following method: Class Sample.Sqlbindtest [ Abstract ] { ClassMethod test() { set minage = 80 set myquery = 3 set tStatement = ##class(%SQL.Statement).%New() set myquery(1) = "SELECT top 10 %ID AS id, Age , Name, %ODBCOUT(DOB) DOB, Home_State" set myquery(2) = "FROM Sample.Person WHERE Age > :minage" set myquery(3) = "ORDER BY 2" set qStatus = tStatement.%Prepare(.myquery) set tResult = tStatement.%Execute() do tResult.%Display() } } The query will refer to minage variable defined at the variable scope outside of method itself: SAMPLES>d ##class(Sample.Sqlbindtest).test() id Age Name DOB Home_State 0 Rows(s) Affected SAMPLES>set minage=20 // now we define minage SAMPLES>d ##class(Sample.Sqlbindtest).test() id Age Name DOB Home_State 41 21 Beatty,Emily I. 1997-01-21 ID 163 21 Mastrolito,David X. 1996-04-14 AL 32 22 Adam,Sophia V. 1995-12-12 CO 33 22 Xiang,Laura L. 1995-03-02 MN 87 22 Paladino,Violet P. 1995-09-14 MN 139 22 Goncharuk,Stavros D. 1996-01-24 RI 173 22 Zucherro,Dmitry R. 1995-03-28 AK 56 23 Zubik,Quigley N. 1994-03-26 ID 46 24 Rogers,Mo D. 1994-02-16 OR 142 24 Orwell,Zelda M. 1993-07-12 AL 10 Rows(s) Affected
go to post Alexander Koblov · Feb 5, 2018 Zwrite prints all control characters. E.g. USER>set a = "val1" _ $C(1) _ "val2" USER>write a val1val2 USER>zwrite a a="val1"_$c(1)_"val2" Also zzdump: USER>zzdump a 0000: 76 61 6C 31 01 76 61 6C 32 val1.val2 Generally, I would advise to use $ListBuild to separate records
go to post Alexander Koblov · Feb 2, 2018 I'm aware only of Edit -> Advanced item "Expand Commands" (Ctrl-E). It is visible only for routines, but shortcut also works for classes. Select some code, hit Ctrl-E. All commands, functions will be expanded to full name. I usually do Ctrl-A, Ctrl-E. http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Alexander Koblov · Jan 25, 2018 Generally, for long-running queries it makes sense to use external tools. E.g. DBVisualizer or SQuirrel Timeout for CSP Gateway to wait response from Caché is in Management Portal -> System Administration -> Configuration -> CSP Gateway Management. Then Default Parameters -> Server Response Timeout.
go to post Alexander Koblov · Jan 23, 2018 Hi Chris. As I understand %VID implies not the page number, but amount of rows to skip So if you have pages with 10 records on each page and you need to show 3rd page then you should use SELECT TOP (10) ... ... WHERE %VID > 20 -- that is page number 2 multiplied by 10 More info about %VID: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Alexander Koblov · Jan 17, 2018 There is Preferences -> General -> Appearance dialog. Where you can select Dark theme. It seem to work OK.