User bio
404 bio not found
Hamburg
Member since Jan 28, 2021
Posts:
Replies:
Hi,
you can use this method to convert an ObjectScript $LIST to a Python list. I'm not sure if this works with %DynamicArray. If not you could try to convert the %DynamicArray to a $LIST first.
set plist = ##class(%SYS.Python).ToList(clist)
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
😀 Thanks.
Open Exchange applications:
Certifications & Credly badges:
Tommy has no Certifications & Credly badges yet.
Global Masters badges:






Followers:
Tommy has no followers yet.
Following:
Hi Robert,
thanks for the advice. I was hoping that the interop production of IRIS is able to handle cases like that but couldn't find anything in the documentation. Anyway I followed your hint and found a lightweight solution.
Here is what one can do to avoid spamming the production log with error messages in case a transformation create objects that violate the uniqe index of the class definition.
Class My.FunctionSet Extends Ens.Rule.FunctionSet [ Abstract, System = 4 ] { ClassMethod IsNewMyClassObject(Prop1,Prop2) As %Boolean [CodeMode = expression, Final] { '##class(MyClass).MyIndexExists(Prop1, Prop2) } }