Printing a document from a CDM with a TypeDefintion

I print from a CDM, because we want to print relationships. It works, but before we switched to the CDM, I could print the Date of “Today” in a calculation. When I set it in the same way now… (see screenshot)

…, I can save the print model, but when I want to actually print something with it in our application, I get the following error:

Caused by: java.util.concurrent.ExecutionException: com.mgmtp.a12.print.engine.api.exception.PrintCompilerException: unable to find TypeDefinition Anlage_CDM_Datum

How do I resolve this?

You need to directly set the Typedefinition in your CDM. And not import an already existing one.

Ok, that worked. May I suggest then, in order to prevent others from selecting a type definition that one should not actually select, that they are not made available in the print model editor?

It was agreed to file a ticket for this issue: A12-18462