新しい投稿

検索

お知らせ
· 2021年3月26日

Jobs on Developer Community

Hi Developers!

As you may know, InterSystems Developer Community can help you to find a job. There are two options for developers: find a job for yourself or hire staff for your company. Just post an ad on the InterSystems Developer Community and find what you are looking for!

How does it work? Check the details below: 

The "Jobs" section available in the top menu here:

  

What can be found in this section?

  • Job opportunities:

Job opportunity announcements on any position which demands any of InterSystems technology skills.

  • Job wanted:

Announcements of specialists in InterSystems Data Platforms who are looking for a job. The list of skills should contain any of InterSystems technologies.

So, if you:

  • want to offer a position that demands any of InterSystems technology skills OR
  • have experience with InterSystems technology and are looking for a new job,

you can both publish a post in the Developer Community. You just have to add related tags to your announcements:

And here's the easiest way to create a job opportunity:

Go to the Jobs section and click on the "New job opportunity" button, an ad will be automatically created with a special "Job opportunity" tag. This tag will make a vacancy out of your announcement and add it to this section.

So!

You will be able to find new employees or a new job in a quick and easy way with InterSystems Developer Community! 😉

If you have any questions or need some help with the post, don't hesitate to contact us!


Precautionary measures:

  • InterSystems does not guarantee the accuracy of recruitment posts or other information posted on this website.
  • InterSystems assumes no responsibility whatsoever for any losses incurred as a result of the information posted on this website. Please confirm the contents and conditions directly with the recruiter or applicant.
  • For more, please refer to the Developer Community Code of Conduct.
ディスカッション (0)0
続けるにはログインするか新規登録を行ってください
記事
· 2021年3月25日 8m read

将 Python ODBC 连接到 IRIS 数据库 - 第 2 条快速笔记

关键字:PyODBC,unixODBC,IRIS,IntegratedML,Jupyter Notebook,Python 3

目的

几个月前,我简单谈到了关于“将 Python JDBC 连接到 IRIS”的话题。我后来频繁提起它, 因此决定再写一篇 5 分钟的笔记,说明如何“将 Python ODBC 连接到 IRIS”。

在 Windows 客户端中通常很容易设置 ODBC 和 PyODBC,不过我每次在 Linux/Unix 风格的服务器中设置 unixODBC 和 PyODBC 客户端时,都会遇到一些麻烦。

有没有一种简单连贯的方法,可以不安装任何 IRIS,在原版 Linux 客户端中让 PyODBC/unixODBC 针对远程 IRIS 服务器运行?

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

VSCode Tips & Tricks - SOAP Wizard

Another VSCode "Tips & Tricks" entry -

Do you want to see this option in VSCode?

This time we'll focus on how to get the SOAP Wizard as was available in Studio (to define a WSDL-based SOAP Web Service client (and Business Operation), or service).

If you work with Web Services you most probably used the SOAP Wizard in Studio. You would open it via Tools -> Add-Ins

And this opened a "Server Template" -

In VSCode you might be wondering how you can access this.

Well the basic fact you need to understand is that truly this Add-In or Wizard is simply a web page, displayed within Studio per above, and as such can also be accessed in a simple browser. VSCode facilitates the opening of such a browser with the desired content (ultimately constructing the correct URL with the right server name, port, web application, etc.).

The result would be the same as you see an option to open the Management Portal or the Class Reference (with relevant URLs) when you click on the Server Connection on the bottom Status Bar of VSCode, for example:

You will also see an entry for the SOAP Wizard.

You can achieve this by adding a 'links' entry in to your 'conn' object in your Settings JSON of your ObjectScript Extension, and specifying the desired URL (using the relevant variables).

This is mentioned in the VSCode ObjectScript's GitHub Issues discussion under a "SOAP Wizard" issue, with comments by @John Murray and @Ondřej Hoferek, and also referred to in this comment on a Community post by @Timothy Leavitt 
 

The JSON value would be:

"SOAP Wizard": "${serverUrl}/isc/studio/templates/%25ZEN.Template.AddInWizard.SOAPWizard.cls?Namespace=${namespace}${serverAuth}"

 

And this part would look like this:

Once you have this you will see an extra option when you click on the Connection -

And choosing that option will take you to the desired Wizard (opened in a Browser):

Here's a short GIF demonstrating this process (starting from the regular menu when clicking the Connection, and ending with the menu including the SOAP Wizard).

 

Note there are other Wizards (or Templates) you can add this way (like the XSD Wizard for example).

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

RESTでセッション共有化する方法

これは InterSystems FAQ サイトの記事です。

REST アプリケーションはステートレスであることが想定されています。

しかし、複数の REST 呼び出し間でデータを保持したい場合などの理由で、Webセッションを使用したい場合は、UseSession パラメータを使用することができます。

以下のように、Web アプリケーションのディスパッチクラスとして定義された %CSP.REST のサブクラスでUseSession パラメータを指定することで、CSPと同じようにWebセッションを使用することが可能となります。

Class REST.MyServices Extends %CSP.REST
{
 Parameter UseSession As Integer = 1;


詳細は以下のドキュメントをご覧ください。

REST での Web セッションの使用


以下は、UseSession パラメータを使用した簡単なサンプルになります。最初に、2つのクラスを作成してください。


REST.SessionTest.cls

Class REST.SessionTest Extends %CSP.REST
{

Parameter UseSession As Integer = 1;

XData UrlMap
  {
    <Routes>
      <Route Url="/test/" Method="GET" Call="test"/>
    </Routes>
  }

ClassMethod test() As %Status
  {
    write "{""SessionId"":"""_%session.SessionId_"""}"
    quit $$$OK
  }
}


REST.test.cls

Class REST.test Extends %CSP.Page
{
ClassMethod OnPage() As %Status
  {
  &html<
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 
<script type="text/javascript" src="http://code.jquery.com/jquery-2.2.4.js"></script>
<script type="text/javascript">
function go() {
   $.ajax({
     type:'GET',
     dataType:'json',
     url:'/csp/user/rest/test/',
     success:function(data) {
       ans = '';
       for(var i in data) {
           ans = ans + '\n' + JSON.stringify(data[i]);
       }
       alert(ans);
     }
   });
  return;
  }
  </script>

      </head>
      <body>
        <form name="xxx" method="post" action="">
          <input type="button" name="test" onclick="go();" value="push" /></p>
        </form>
        Session ID: #(%session.SessionId)#<br>
      </body>
    </html>


サンプルの使用方法は以下になります。

1. 上記2つのクラスをUSERネームスペースに作成し、コンパイルする

2. ウェブアプリケーション /csp/user/rest を作成、
     ディスパッチクラスに REST.SessionTest を設定、
     セッションCookieパスを /csp/user に変更して保存

 

3. ブラウザで /csp/user/REST.test.cls を開いて、push ボタンを押す

 

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