Article - CS334941

Implemented Shapes defined at Java level using annotation are not exposed in ThingWorx Composer

Modified: 04-Dec-2020   


Applies To

  • ThingWorx Platform 9.0

Description

  • Implemented Shapes defined at Java level with the  @ThingworxImplementedShapeDefinition annotation are not exposed in the composer
  • For example:
@ThingworxBaseTemplateDefinition(name = "GenericThing")
@ThingworxImplementedShapeDefinitions(shapes = { @ThingworxImplementedShapeDefinition(name = "MyThingShape") })
public class MyThingTemplate extends Thing {
	public MyThingTemplate() {
		// TODO Auto-generated constructor stub
	}
}
This is a printer-friendly version of Article 334941 and may be out of date. For the latest version click CS334941