Skip to main content
1-Visitor
January 7, 2014
Question

Thing template and thing services name conflict

  • January 7, 2014
  • 1 reply
  • 3838 views

I have a Thing that contains several services that I wanted to "move" to the Thing template. what I have done is create the services in the template with the same name and then save the template.

I then proceeded to the Thing with the intention of deleting the services from the Thing, only to find that several of the services have gone missing. the remaining services I then deleted and tried to save the thing.

I was greeted with the following error message:

save failed, status: "Internal Server Error", message: "Import Failed: A Name Conflict Has Been Detected With Service CMD_BOILER2_OFF in Thing MossleyHollins"

I am now unable to delete the services from either the template or Thing as I get the same error.

any suggestions?


1 reply

1-Visitor
January 7, 2014

Hi James, try the following first. Close the Thingworx composer and then re-open it, open up the Thing and the ThingTemplate and check to see what services are currently listed on either.

Then sort out the conflict issues by first temporarily copying your service code to notepad and removing the service from the Thing and after that creating it in the template.


If the conflict issue persist then it is possible something residual is stuck in the Server memory and you may have to stop and restart Thingworx (or Tomcat) to clear that out.



jhutson1-VisitorAuthor
1-Visitor
January 7, 2014

Hi Pai,

thanks for your reply,

I have tried doing as you suggested and it still won't work. I think the issue is that the Thing service and the Template service have the same name. When I created the service in the Template, a service with the same name already existed in the Thing itself.

do you know of a way to edit the Thing to remove all the services and then re-import it?

1-Visitor
January 7, 2014

If you look at the right side when you have your Thing open, there is a MORE dropdown. From there you can take your Thing and create a ThingTemplate from it. That would be the best way I think.