cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to Enable a Thing ?

aniketa
1-Newbie

How to Enable a Thing ?

I have created one extension. From extension one Thing is imported into my composer.

I am unable to change any property of the thing Also unable run any service of the Thing.

I am getting following error :

while updating a property :

Attempt To Write Property <property_name> Failed - Thing Not Running

<br>

while running a service :

context: com.thingworx.webservices.context.HttpExecutionContext@4d1b85ae[message: Thing &lt;Thing-Name&gt; is not running]

2 REPLIES 2
paic
1-Newbie
(To:aniketa)

When you look at the Thing in composer is the Active check box checked?

If it is and it still says not running, try a restart of Tomcat.


However if that solves the issue, then it is likely there is something wrong with your extension or the logic that imports the Thing.


If you are using the CreateThing service, please note you must always use the EnableThing and RestartThing service.



aniketa
1-Newbie
(To:paic)

We are generating Thing from metadata.xml file.

<Thing name="Falkonry" description="Falkonry Thing" thingTemplate="FalkonryTemplate" aspect.isSystemObject="false" active="true"isEnabled="true" isRunning="true">    <avatar/>

</Thing>

How to use EnableThing and RestartThing service using XML ?



Top Tags