Skip to main content
Apr 14, 2020 7:31 AM UTC
Solved

State definition

In the attached screenshot,you can see String name,style definition for that particular string names which are configured in State definition.In this both String name,style definition are predefined.I am using this State definition in pie chart.I want to pass both string name ,style definition to State definition using service dynamically.Is it possible using thingworx ?If so,can you attach it as a zip file to get a better picture?

 

cmorfinAnswer
Apr 14, 2020 1:12 PM UTC

Hi @krishnakomal123 

 

I'd recommend you check this post.

 

Christophe

4 replies

Apr 14, 2020 9:42 AM UTC

Hi @krishnakomal123 

 

If I get your question right, I don't think it is possible.

I do not see a service that allows to create a state definition programmatically.

There is one for Style definition but can't see one for state.

 

Regards

Christophe

 

Apr 14, 2020 12:08 PM UTC

Could you implement style definition using service.If so,please share zip file?

cmorfinAnswer
Apr 14, 2020 1:12 PM UTC

Hi @krishnakomal123 

 

I'd recommend you check this post.

 

Christophe