go to post Eduard Lebedyuk · Mar 21, 2019 I once separated one Ensemble database (with code and data) into two databases (one db for code, one db for data) on a running system.It was not difficult actually:Exported code from one databaseCreated new database.Imported code into new database.In a namespace switched code database from old database to a newly created one.Deleted classes from old database.But in my situation the code itself didn't change.
go to post Eduard Lebedyuk · Mar 20, 2019 You're calling an Operation, right?Operations can be called in async mode.
go to post Eduard Lebedyuk · Mar 20, 2019 Another check. Properties can't be SQL reserved words. I often name properties "Date", etc. only to forget that they can't be used in SQL as is only quoted, so I need to go to Class view and rename them to something else.
go to post Eduard Lebedyuk · Mar 20, 2019 The main check we need is parametrization. SQL should not be concattenated from user input, but user input should be passed as an argument.
go to post Eduard Lebedyuk · Mar 20, 2019 Well, what do you want to do with that list? Depending on your use case, the solution may differ.For example to get a list of dashboards execute this query: SELECT * FROM %DeepSee_Dashboard.Definition And to get a list of Pivots execute this one: SELECT * FROM %DeepSee_Dashboard.Pivot And in MDX2JSON project I need to get a list of dashboards visible to the current user. I use custom result set for that (because user may have access to dashes but not to SQL).
go to post Eduard Lebedyuk · Mar 19, 2019 And Tuesday, April 23rd at 11am EDT we would be running an English version of the webinar.Register here.
go to post Eduard Lebedyuk · Mar 18, 2019 Great!Here's zip archive/unarchive support. Maybe you can unite these two projects?
go to post Eduard Lebedyuk · Mar 15, 2019 If it's possible restart the DR Mirror. WIJ should be recreated on startup.
go to post Eduard Lebedyuk · Mar 14, 2019 Right after you get this error, what's in your ^||isc.debug global? zw ^||isc.debug
go to post Eduard Lebedyuk · Mar 14, 2019 The easiest way would be to configure web server on customersdomain.com to act as a reverse proxy. In this case it would proxy requests to yourownserver.com or wherever you need.Another way is to install CSP Gateway on a customersdomain.com. After that connect CSP Gateway to your Cache/Ensemble/InterSystems IRIS instance on yourownserver.com. And connect web server on customersdomain.com to CSP Gateway on customersdomain.com.Advantage of this approach is that static would be served directly from customersdomain.com server.
go to post Eduard Lebedyuk · Mar 14, 2019 Can you try restarting the instance?CSP absolutely should work.Also check this post about clearing cached elements from webserver.
go to post Eduard Lebedyuk · Mar 13, 2019 I never use return unless I really do want to exit from the method while inside some inner loop. So mainly I use quit.
go to post Eduard Lebedyuk · Mar 13, 2019 You can separate a file into structured data using Virtual Document API.
go to post Eduard Lebedyuk · Mar 12, 2019 To import HL7 into Ensemble please refer to these guides.Generally it could look like this: HL7 → Virtual Document → Persistent storage → SQL GateWay → MS SQL Server.
go to post Eduard Lebedyuk · Mar 12, 2019 -Creating SSL/TLS configurations in S1's Healthshare portal (also tried with a %SuperServer... but where and how could I use them ? I haven't found it)Your SSL configuration should be called %SuperServer. Currently it's called AccDirSsl. You need to create new/rename existing configuration to %SuperServer.Also, can you show a screen from the Portal’s System-wide Security Parameters page (System Administration > Security > System Security > System-wide Security Parameters)? For the Superserver SSL/TLS Support choice, you should select Enabled (not Required).Also does HS OS user has access to C:\chr11614pem? I'd try to copy certificates/keys to HS temp directory and modify paths in config accordingly.
go to post Eduard Lebedyuk · Mar 11, 2019 From docs. RETURN and QUIT differ when issued from within a FOR, DO WHILE, or WHILE flow-of-control structure, or a TRY or CATCH block.You can use RETURN to terminate execution of a routine at any point, including from within a FOR, DO WHILE, or WHILE loop or nested loop structure. RETURN always exits the current routine, returning to the calling routine or terminating the program if there is no calling routine. RETURN always behaves the same, regardless of whether it is issued from within a code block. This includes a TRY block or a CATCH block.In contrast, QUIT exits only the current structure when issued from within a FOR loop, a DO WHILE loop, a WHILE loop, or a TRY or CATCH block. QUIT exits the structure block and continues execution of the current routine with the next command outside of that structure block. QUIT exits the current routine when issued outside of a block structure or from within an IF, ELSEIF, or ELSE code block.
go to post Eduard Lebedyuk · Mar 11, 2019 If you already have HL7 message inside Ensemble you can use Caché SQL Gateway which provides access from Caché to external databases via JDBC and ODBC. You can use SQL Gateway (probably in ODBC mode) to update SQL Server table(s).