not defined in the xsd
When importing a CDT from an XSD, users come across the following error:
Cause: The type {your:namespace}DATATYPE is referenced, but not defined in the XSD... XSD Parsing Message: XSD: Type reference '{your:namespace}DATATYPE' is unresolved (APNX-2-4047-000)
This error occurs because the XSD is missing import or include statements that allow the parent CDT to have the child CDT as a field. Note that import is used for CDTs that are outside the namespace of the parent while include is used for CDTs that are inside the namespace of the parent.
import
include
Check the following items to ensure namespace integrity:
xmlns
type=
This article applies to all versions of Appian.
Last Reviewed: February 2017