Question
Oleksandr Kyrylov · Apr 5

Create new Data Transformation

Hello communty.

I searched a way to transform a HL7 Message to Persistent. I found a way how to create Data Transformation from Mangment Portal -> Data Transformation Interface. But my task is to create somthing similar to that tool in my web site interface. And the question is: Is There way to create something like new instance of Data Transformation class "Ens.DataTransformDTL" using object script?

Thank you!

Product version: IRIS 2020.1
0
0 74
Discussion (2)1
Log in or sign up to continue

I'm not sure your question is clear, but creating a new instance of that class in ObjectScript should be as simple as:

set myDTL = ##class(Ens.DataTransformDTL).%New()

%New() does not work with Ens.DataTransformDTL but I found another approach. 

In my case %Dictionary.ClassDefinition class helped me.