Friday, September 09, 2011

Custom datatypes in LiveCycle processes

If you're trying to use custom datatypes from your dsc in the LiveCycle executeScript activity in workbench, you may run into the following error:

ERROR [com.adobe.workflow.AWS] Sourced file: inline evaluation of: ``import some.package.SomeClass; SomeClass pdfg = new SomeClass . . . '' : Typed variable declaration : Class: SomeClass not found in namespace : at Line: 2 : in file: inline evaluation of: ``import some.package.SomeClass; SomeClass pdfg = new SomeClass . . . '' : SomeClass

To resolve it, you not only need to have your class in the DataTypes section of your component.xml, but you also need to have that package defined in the Export Packages of your RunTime section of your component.xml.

No comments:

Post a Comment