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

Delete entities and its dependent

svisveswaraiya
17-Peridot

Delete entities and its dependent

Hi,

I have a Thing which has multiple datashapes in it. Is it possible that if I delete the Thing all its dependent datashapes should get deleted. Is it possible to do so?

 

Thanks in advance,

Shalini V.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

I don't know any Out of the Box service to do this in Thingworx.

You can create your own service to do that; first get the dependent datashapes with GetImplementedShapes(), and after that delete them.

 

Hope it helps,

Raluca Edu

View solution in original post

3 REPLIES 3

Hi,

 

I don't know any Out of the Box service to do this in Thingworx.

You can create your own service to do that; first get the dependent datashapes with GetImplementedShapes(), and after that delete them.

 

Hope it helps,

Raluca Edu

Hi @svisveswaraiya.

 

If Raluca's response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Hi @svisveswaraiya 

 

I just wanted to follow up with you to see if Raluca's response was helpful for your question? If yes, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Thanks & Regards, 

Vibhuti

Top Tags