Skip to main content
10-Marble
August 11, 2017
Question

Hoe to find where things are used?

  • August 11, 2017
  • 2 replies
  • 1522 views

Dear Team,

I have deleted thing TestRemoteThings. But I am now getting error in application log [context: com.thingworx.webservices.context.HttpExecutionContext@6a50fb16][message: Entity Not Found : [TestRemoteThings]]

How to find which entity  using this thing TestRemoteThings ?

    2 replies

    13-Aquamarine
    August 11, 2017

    Hi Bhuwaneshwar,

    You can find which entity depends on your Thing by clicking on the "Uses this Entity" on the Dependencies tab.

    5-Regular Member
    August 11, 2017

    The trouble here is that the entity reference might be in a Service or a Subscription and those wont show up in the entity dependencies (since it's really just plain text when it's in a service or subscription -- it's not part of the model). So, this is a bit hacky, but it will work.

    Export all entities to XML, open the XML file, and search for the string TestRemoteThings. ​This will find any occurrences that reference that thing name, even if it's in a service or subscription.