Reading cdt fields into plugin

Hello,

We have a plugin function which accepts a datatype number of a cdt as input and it returns the fields of that cdt, type of that fields and primary key of that cdt. We were achieveing this by utilizing the private jars of Appian like com.appiancorp.type.config.xsd.DatatypeXsdHelper and other. The plugin works in Appian Version 17.4 and lower but in 18.1 it is breaking and giving error :

Error while retrievingXSDSchema for datatype [uuid {urn:persistent:types:BCD}BC_Demo]::com.appiancorp.type.config.xsd.DatatypeXsdHelper.<init>(Lcom/appiancorp/suiteapi/type/Datatype;Lcom/appiancorp/suiteapi/type/TypeService;Lcom/appiancorp/type/model/DatatypeModelRepositoryProvider;)

Is there any other way to read the XSD for datatype in the plugin? Or, any other work aroung to access the cdt fields, their types and property when passed a datatype number as input.

Any help is appreciated!

Thanks

  Discussion posts and replies are publicly visible