thingsboard / rule-node-examples

Examples of custom Rule Nodes for ThingsBoard contribution guide
Apache License 2.0
14 stars 52 forks source link

Thingsboard custom rule nodes - Failed to load configuration ui resources #11

Closed marbrune closed 2 years ago

marbrune commented 2 years ago

I created a custom RuleNode following https://thingsboard.io/docs/user-guide/contribution/rule-node-development/ customizing also the component ui starting from rule-node-examples-ui-ngx project. When I deploy and run Thingsboard, the custom RuleNode is visible, but not the form. The error says: "Failed to load configuration ui resources"

In rule-node-examples project I defined directive like this: configDirective = "tbExternalNodeCustomRestApiCallConfig"

In rule-node-examples-ui-ngx project I defined component selector in component ts file like this: selector: 'tb-external-node-custom-rest-api-call-config'

Is it necessary to define directive in other places or something similar?

skewty commented 2 years ago

Is this a duplicate of #3?

marbrune commented 2 years ago

Is this a duplicate of #3?

Maybe, even if I'm not sure the error was exactly the same. Anyway, I'm no longer on the project where I tried this.

skewty commented 2 years ago

@marbrune perhaps you could close out the issue then to help the TB developers prioritise their time?