New post

Find

Article
· Aug 4, 2024 1m read

1840年12月31日 00:00:00よりも前の日付時刻をサポートする方法

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

既定では、InterSystems製品で表すことのできる日時の最小値は、1840年12月31日 0時0分0秒 です。

USER>write $ZDATETIME("0,0")
12/31/1840 00:00:00

 ですが、アプリ内での用途や、他DBからの登録などで、それよりも前の日付時刻を登録する必要がある場合があります。
その場合には、日付日時のプロパティに、MINVAL(最小値)を設定することでサポートできます。
下記は、%DateTime型、%TeimaStamp型のプロパティに、最小値:西暦1年1月1日0時0分0秒と設定したものです。

Property TestDateTime As %DateTime(MINVAL = "0001-01-01 00:00:00");
Property TestTimeStamp As %TimeStamp(MINVAL = "0001-01-01 00:00:00");

※2023.3および2024.1以降のバージョンでは、%DateTime型のMINVALの設定は必要なく、1840年12月31日 0時0分0秒より前の日時でも問題なく登録できます。%TimeStamp型の場合は、引き続き設定が必要です。

Discussion (0)1
Log in or sign up to continue
Question
· Aug 4, 2024

Unable to login CSP page

Hi Guys,

I've configured my web application and set the Path to where my CSP pages and I can login into my application loads fine with a side menu to links to my CSP pages but when clicking to go any CSP page I got kicked back to the Login page so is there a security setting or configuration that I'm missing ?  

Thanks

Discussion (0)1
Log in or sign up to continue
Article
· Aug 4, 2024 2m read

第十二章 在 Web 服务中定义自定义处理 - 实现 ProcessBody()

[toc]

第十二章 在 Web 服务中定义自定义处理 - 实现 ProcessBody()

实现 ProcessBody()

ProcessBody() 方法具有以下签名:

Discussion (0)1
Log in or sign up to continue
Announcement
· Aug 4, 2024

Key Questions of the Month: July 2024

Hi Community,

It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of July chosen by InterSystems Experts within all Communities:

📌 Error: Invalid Community Edition license, may have exceeded core limit. - Shutting down the system : $zu(56,2)= 0 (Probléme avec : irishealth-community:2024.1) by @Moussa SAMB (FR)

📌 Error iniciar Docker IRIS Community by @Daniel Aguilar (ES)

📌 OnInit() Question - Ens.BusinessOperation (HTTP.OutboundAdapter) by @Scott Roth (EN)

These questions will be highlighted with the #Key Question tag, and their authors will get the Key Question badge on Global Masters (when it's back).

If you find the key question(s) from other communities interesting, just drop us a line in the comments and we will translate the question(s) and the accepted answer(s).

Congrats, and thank you all for your interesting questions. Keep them coming!

See you next month😉

Discussion (0)1
Log in or sign up to continue
Question
· Aug 4, 2024

Convert IRIS DynamicArray to Python list

Hello Community,

How to convert the IRIS %DynamicArray into python list. I got " <THROW>TestDyncArray+1^MyLearn.Pyth.NewClass1.1 *%Exception.PythonException <PYTHON EXCEPTION> 246 <class 'AttributeError'>: <unknown exception data>" error when passing array values to python class.

ClassMethod TestDyncArray()
{
	Do ..DyncArrayInPy([1,2,3,4])
}

ClassMethod DyncArrayInPy(numbers) [ Language = python ]
{
	import iris
	print(type(numbers)) ;<class 'iris.%Library.DynamicArray'> need to be a <class 'list'>
	for num in numbers:
		print(num)
}

Thanks!

3 Comments
Discussion (3)1
Log in or sign up to continue