新しい投稿

Encontrar

質問
· 2022年11月24日

Is there a way of masking code in studio, such as password protection or with user rights?

As the title says I want to be able to hide code I deploy to TIe.

3 Comments
ディスカッション (3)1
続けるにはログインするか新規登録を行ってください
記事
· 2022年11月18日 1m read

Jupyter and IRIS - The Simple Version

There are several great articles in the community showing how to use Jupyter and InterSystems IRIS together, and I encourage you to check them out in the link at the end of this article for more in depth understanding.

This is just another one, the difference is on the simplicity. Do you want to just start a container where Jupyter is already connected to an IRIS instance? Then this is for you!

2 Comments
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください
記事
· 2022年11月15日 6m read

How to develop in Logi

Today we will talk about InterSystems Reports. This is a BI system that provides you with tools to create static reports and export them to different file formats. We will see how it works using the DC Analytics public analytical sample as an example. In this article, we will examine how to familiarize yourself with the reports available in the repository, how to make a new report based on a ready-made data structure, and how to prepare a data structure from scratch.

To begin with, you need a licensed copy of InterSystems Reports. 

You can obtain your copy of Logi Designer or Logi Server from WRC:

 Linux (https://wrc.intersystems.com/wrc/WRC.StreamServer.cls?FILE=/wrc/Live/GeneralKits/IRIS/iscreports_designer-19.0.0.4-linux.bin), 

MacOS 

(https://wrc.intersystems.com/wrc/WRC.StreamServer.cls?FILE=/wrc/Live/GeneralKits/IRIS/iscreports_designer-19.0.0.4-osx.tar.gz)

Windows (https://wrc.intersystems.com/wrc/WRC .StreamServer.cls?FILE=/wrc/Live/GeneralKits/IRIS/iscreports_designer-19.0.0.4-windows.exe)

To get access to the WRC, your company should be a client of InterSystems Corporation.

Also, you will need drivers for providing InterSystems Reports JDBC connections to data sources. You can find them here: https://github.com/teccod/Logi-JDBC-drivers. To use those drivers, you can place the lib folder in the root folder of Logi Report Designer's installation directory.

Report files on InterSystems Reports are located in the repository below: https://github.com/intersystems-community/dc-analytics/tree/master/analytic_dashboards/logi%20report

There are 2 folders here. One of them contains a report about activities in the English-speaking community in DC (folder ‘En report’). The second one includes a statement about distribution of English-speaking users across other language communities (folder ‘members by community’).

Each folder retains 4 files. The .pdf file encloses an example of a report generated in InterSystems Reports. The .cat files holds the data structure and all the necessary settings for connecting to Adaptive Analytics. The file with the ‘localhost’ attribute is configured to connect to the Adaptive Analytics instance in Docker container. It deploys from the repository. In the file with the  ‘public_demo’ attribute, the connection to Adaptive Analytics deployed on the demo server is configured. The .cls file incorporates all the visual elements of the report. 

InterSystems Reports is organized in such a way that allows you to open a data structure file first, and then go to any other file with visualizations in the same folder. In this case, if the visualizations are configured for a different data structure, you will receive an error message. This structure gives you an advantage in two situations. The first one is that you can have multiple data sources with the same structure that lets you develop only one report file and simply open it from different .cat files to generate all other reports. The second one is that you can develop multiple reports for one data source, where all queries and formulas that you have created for one report will be immediately available to you in others.

To view the contents of the report, you need to launch InterSystems Reports, click the “Browse” button on the start page. Then use the “Browse…” button in the “Open Report” dialog box to select the path to the .cat file of the report. 

In the Reports tab, you will be offered a .cls file of visualizations. All .cal files that are in the same directory as the .cat file are available in this tab.

After opening the .cls file, you will find yourself in the report editing interface. In order to fill in the report with data and see its output, you need to switch from the Design tab to the View tab in the central window.

After that, InterSystems Reports will start sending queries to the data source and generating a report. The report will be generated page by page as soon as the data is ready.

If you want to save the report in a file, you can go to the File tab on the top menu and find the "Export" button in that tab. You will be offered various report export formats. 

After selecting the format, you will be prompted to a window with export settings. After configuring, the file will be immediately generated on your disk. If you do this procedure from the Design tab, then before generating a report, InterSystems Reports will first request all the necessary data, and only then export the report to a file. At this time, the editing interface “freezes” so you will be able to understand that the file formation is completed when you again get an option to do something in the Design tab (for example, scroll the report layout in it).

If you want to create a report yourself based on public analytics data, you will need to know the structure of data transfer from the source to the widget in the report. The first step is to establish a JDBC connection to Adaptive Analytics. To do this, we should specify the connection settings: a link from the Adaptive Analytics interface, login and password for access to the Adaptive Analytics instance. This will establish a connection to one of the projects in Adaptive Analytics. You can find out what a project is and where to get a link to connect to it in a separate article about Adaptive Analytics.

Once the connection is set up, we can add cubes from Adaptive Analytics to the .cat file, that will look like a table with a set of columns. 

Based on those tables, we can build queries where we can select only the required columns and apply filters to the data.

Inside queries, we can build additional calculated columns, write formulas for data transformation, and do aggregations on data.

Formulas and aggregations done in one query will be available in all other queries based on the same table and containing fields used in formulas and aggregations.

Any widget is based on one of the queries. In this case, InterSystems Reports will create a separate query with a unique name for each widget. You can manually change such queries for each widget or create new ones. When copying a widget, the copy will hang on the same query as the original. Sometimes this leads to problems when creating reports. This is why you should be aware of this.

In summary, there are 2 levels of queries. The first one is created in the .cat file and is responsible for columns and filters that will be used in the query. The second one is assembled in the .cls file and is a copy of the first type query. When generating a report, InterSystems Reports sequentially executes queries of the second type and passes data to the widgets associated with those queries.

When building a widget in a report, fields from a query and formulas behave in the same way - like a data field. Aggregations are usually done based on two fields. For that reason, when you add an aggregation to the same line chart, it will immediately take both: the x-axis and the y-axis.

Once you know how InterSystems Reports works, it will be easier for you to figure out how specific data visualizations are built. You can find all necessary information in the documentation and guide for beginners, which are prepared by the developers of InterSystems Reports.

You can find tutorials for beginners following this link:

https://devnet.logianalytics.com/hc/en-us/articles/4405661266455-Track-1-Creating-Page-Reports

Documentation for the latest version is stored at this link:

https: //devnet.logianalytics.com/hc/en-us/sections/5735298972439-Logi-Report-Designer-v19

There is also an old version of the documentation site, which I find more convenient (probably because I'm used to it). This link only has documentation up to version v18:

https://documentation.logianalytics.com/rsg/content/html/install/issue.htm

In order to save the changes you made in the report, you need to save both files: .cat and .cls. The .cls file is saved on the File tab of the top menu. This tab has a section with a “Save” button. The .cat file is saved on the Home tab. When you click on the “Catalog Manager'' button, a catalog editing window will pop up. In this window, there is a “Save Catalog” button. If you decide to exit the program without saving the changes, you will also get 2 dialogue boxes asking if you want to save the changes in the .cat and .cls file.

For Git, .cat and .cls files are binary. However, all of us know that the .cls extension is also reserved for IRIS classes. Hence, we recommend saving the files for Intersystems Reports in a separate folder in the repository. Remember to change the settings in the .gitattributes file according to the fact that all files in the folder are binary. 

You can find an example of such implementation in the .gitattributes file in the DC-analytics repository.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2022年11月9日

InterSystems IRIS/InterSystems IRIS for Health コミュニティエディションのダウンロード方法

開発者の皆さん、こんにちは!

InterSystems IRIS と InterSystems IRIS for Health のコミュニティエディションですが、InterSystems IRIS ダウンロードページからお好みのプラットフォームのキットを自由にダウンロードいただけます。

この記事では、改めてダウンロードページの使い方をご紹介いたします!

 👈開発者コミュニティのページの左端にこんなリンク集がありますので、「InterSystems IRIS ダウンロードページ」をクリックします。

 

クリック後、ログイン画面が表示されます。

開発者コミュニティのアカウントか、WRCダイレクトのアカウントでログインします。

開発者コミュニティのアカウントはオンラインラーニングのアカウントと共通です。

アカウントをお持ちでない方は、「Register for a new account」のリンクからアカウント登録をお願いします。

以下の流れでアカウント登録が行えます。

  1. お名前、社名、リージョン(Japanを選択)、メールアドレスなどを記入し [Terms and Conditions] ご確認後、チェックボックスをチェック✅し [Continue] ボタンをクリックすると、トークン入力画面に移動します。
  2. 1で登録したメールアドレスにトークンが送付されますので、コピーします。(有効期限は30分です)
  3. トークンを入力します。
  4. パスワード設定画面 [Chooose Password] が表示されるのでパスワードを入力し、[Continue]ボタンをクリックすると、元のページに戻るリンクが表示されるので、クリックします。

 

WRCダイレクトのアカウントでログインした方は、ログイン後の画面に表示される👇以下ロゴ


の [Download Community Edition](黄色い線の)ボタンをクリックすると、ダウンロード画面に移動します。

 

開発者コミュニティのアカウントでログインされた方は、ログイン後、すぐにダウンロード画面が表示されます。

①の選択肢で「InterSystems IRIS Community」と「InterSystems IRIS for Health Community」が表示されます。

医療標準文書(HL7やFHIRなど)に対応する機能をお試しいただく場合は「InterSystems IRIS for Health Community」を選択してください。

後は、①、②、③の項目を選択し、
をチェックしたら、ボタンクリックでダウンロードいただけます。

 

ダウンロード後のインストール方法については、以下ビデオでご紹介しています。ぜひご参照ください。

🎦【はじめての InterSystems IRIS】セルフラーニングビデオ:基本その1:InterSystems IRIS Community Edition をインストールしてみよう!

InterSystems IRIS for Healthも上記ビデオでご紹介している同様の方法でインストールいただけます。

 

コミュニティエディションの制限事項についての最新情報は、以下ドキュメントをご参照ください。

InterSystems IRIS Community Edition Limitations

バージョン2022.2 では、以下の制限があります(2022.1以前の制限から変わっています)。

  • 合計データ:10GB
  • 接続数:8
  • コア数:20

日本語ドキュメント:InterSystems IRIS Community Edition の制限」からも制限事項をご確認いただけますが、時期によっては翻訳が最新情報に追い付いていないこともありますので、最新情報は、英語ドキュメントをご参照ください。

 

はじめて InterSystems IRIS/InterSystems IRIS for Health を操作される方向けに、セルフラーニングビデオチュートリアルを各種ご用意しております。ご興味のある内容から始めてみてください!

🎦 InterSystems 製品を初めて使用する方向け学習コンテンツなど

インストール方法について詳しくは、ビデオでご案内しております。ぜひご参照ください。

🎦【はじめての InterSystems IRIS】セルフラーニングビデオ:基本その1:InterSystems IRIS Community Edition をインストールしてみよう!

操作してみて、疑問に感じたことや 困ったことなどありましたら、ぜひコミュニティにご質問ください!

コミュニティメンバーと一緒に考えて問題を解決していきましょう!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2022年11月9日

SQL gateway connections

Hi Guys,

My understanding is that SQL gateway connection is a way where you can have two ensemble instances where in instance A you can have a class and then you create a connection from instance B and you can run queries for that table from instance A into B?

But as I checked the doc, it says that SQL gateways is a way to just import data from an instance to another?

 

Thanks

1 Comment
ディスカッション (1)1
続けるにはログインするか新規登録を行ってください