Find

Question
· Jul 20, 2022

how to convert a docx file into pdf using Ensemble without using External libraries

we are currently using Libre office to generate a PDF from docx file. but we want generate a PDF file without using the External libraries.

Is there any tool is available with in the Ensemble to covert a file from docx to PDF.

appreciate your help.... 

2 Comments
Discussion (2)2
Log in or sign up to continue
Please note that this post is obsolete.
Announcement
· Jul 19, 2022

Exercício Recém Lançado: Healthcare Action Engine

Olá a todos

Lançamos recentemente uma versão atualizada do Configurando Alertas para Médicos com o Healthcare Action Engine.

Este exercício para clientes de HealthShare permite que você tenha uma gosto das funcionalidades chave do Healthcare Action Engine, que foi recentemente anunciado no Global Summit. Você irá construir um suporte a decisão que resultará em ações clínicas neste exercício.

Sinta-se a vontade para checar se você é um cliente HealthShare!

Discussion (0)1
Log in or sign up to continue
Question
· Jul 12, 2022

IRIS as a backend database for Java application

Hello,

I work on deploying IRIS using Kubernetes operator and Red Hat OpenShift. I encouraged another team working on Java application to consider using IRIS as database. My team deployed IRIS cluster using two mirrored data pods for the other team. The other team asked me for the connection information.

To learn how to use Java with IRIS, I attempted to deploy two apps from Open Exchange:

https://openexchange.intersystems.com/package/CRUD-GLOBALS-IRISNATIVEAPI...

Here I got errors like this:

package com.intersystems.jdbc does not  exist

https://openexchange.intersystems.com/package/springboot-iris-crud

I can view the front end, but I do not know how it interacts with database and where the connection is defined.

I wonder how can I learn to configure Java to connect to IRIS?

1 Comment
Discussion (1)1
Log in or sign up to continue
Article
· Jul 11, 2022 2m read

ルーチンやクラスメソッドをWindowsのコマンドプロンプトから呼び出す方法

iris コマンドを使用することで実行できます。
iris コマンド(iris.exe)は、<インストールディレクトリ>\bin にインストールされています。 書式:

iris run インスタンス名 tag^routine([parameter-list]) ネームスペース名
iris run インスタンス名 ##CLASS(package.class).method([parameter-list]) ネームスペース名

インスタンス名は、管理ポータル(システム管理ポータル)の右上にある [インスタンス:] に表示されている文字列です。


実行する環境に応じて一部の文字 ^ や " をエスケープする必要があります。

Windowsの場合は、以下のようなエスケープが必要となります。

 

 

 

例: USERネームスペースで do info^test(123,"abc") を実行します。

c:\InterSystems\IRIS\bin>iris terminal IRIS info^^test(123,\"abc\") USER

 

例: USERネームスペースで do ##class(Test.Class1).test(123,"abc") を実行します。

c:\InterSystems\IRIS\bin>iris run IRIS ##class(Test.Class1).test(123,\"abc\") USER

 

【注意】

ris run 等でルーチンやクラスメソッドが呼び出せないときは、%Service_Consoleサービスの認証設定をご確認ください。
iris コマンドを使用する場合、通常のパスワード認証を行うことができません。
認証なしで実行するか、オペレーティング・システム認証を使用する必要があり、これを、%Service_Consoleの「許可された認証法」で指定しておく必要があります。[管理ポータル]>システム管理 > セキュリティ管理 > サービス > %Service_Consoleを選択

 

オペレーティング・システム認証の詳細については、関連トピックをご確認ください。

オペレーティング・システム・ベースの認証構成について

Discussion (0)1
Log in or sign up to continue
Article
· Jul 11, 2022 1m read

外部の Pythonファイル を Embedded Python で呼び出す方法

IRISがc:\InterSystems\IRISにインストールされているとします。

(1) a.py を C:\InterSystems\IRIS\lib\python に置きます。

a.py
 

def test():  
  print('Hello World!')

 

(2) それを IRISのクラスから実行します。
 

ClassMethod xx() [ Language = python ]
{
    import a
    a.test()
}

 

USER>do ##class(User.test).xx()
Hello World!

 

もし、a.py を別のディレクトリ C:\temp に置きたい場合は、C:\temp\ をPythonのPATHに指定する必要があります。


以下の方法があります。

 

(A)  管理ポータル>システム管理>構成>追加設定>メモリ詳細>PythonPath

の値に C:\tempを設定し、a.pyをそのディレクトリに置き、 IRISを再起動します。
 

ClassMethod xx() [ Language = python ]
{
   import a
   a.test()
}
Discussion (0)1
Log in or sign up to continue