Closed vinesh-parthasarathy closed 2 years ago
Hey,
Once an extension entity with a configuration table has been imported, subsequent updates to the extension will not change configuration table values. This is standard thingworx behavior applicable to all extensions.
To change these values with an update, you will need a service to perform these changes.
Regarding the two decorators, use ConfigurationTables to declare configuration tables. You can’t override these in subclasses. Use config to set configuration table values. You can also use this to set values for inherited tables.
Hope this clears it up.
@BogdanMihaiciuc Can you guide as how to add a subscription using typescript to thingworx platform.
Requirement is to update the default value of a template configuration. @ConfigurationTables and @config annotations were used on a thing template and required changes were made . But it throws a Name Conflict error while importing the extension with the changes into thingworx . While checking about the error, we found that template inherits the configuration from a parent template . To set the config value ,value has to be overridden in the child template level. so is there any way to override child template and set the default values in configuration and I also attach the screenshot of error.