Skip to main content
8-Gravel
April 11, 2024
Question

How to use the initialization method in the extension can not read the configured parameters

  • April 11, 2024
  • 0 replies
  • 450 views

I created a Thing Template extension using the Java SDK9.5.0, set the configuration parameters, and wanted to be able to read the configuration parameters to update some of the Template's property values,Thingworx always fails. How do I use the initialization method correctly to update properties or how to use this method correctly.

@Override
protected void initializeThing(ContextType contextType) throws Exception {
// TODO Auto-generated method stub
super.initializeThing(contextType);
}