Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
I tried to remove a Thing from Network using code below.
Networks["NetworkTest"].RemoveFromNetwork({
name: toolName /* STRING */
});
Then I used IsInNetwork() on this removed Thing, however it returns true.
var result = Networks["NetworkTest"].IsInNetwork({
name: toolName
});
I took a look under the Network Hierarchy tab. Apparently this Thing no longer exists in Network. Not know how to solve this issue. Hope anyone can help. Thanks a lot.
Solved! Go to Solution.
Hi @LL_9777686,
I can reproduce the issue in Thingworx 9.1.0. This is a known issue already reported to R&D and it is expected to be corrected in
Thingworx 8.5.14, 9.0.7 and 9.0.2.
For now, the Network may be manually restarted and saved or ThingWorx Platform restarted for the change to take effect.
Hi @LL_9777686,
I can reproduce the issue in Thingworx 9.1.0. This is a known issue already reported to R&D and it is expected to be corrected in
Thingworx 8.5.14, 9.0.7 and 9.0.2.
For now, the Network may be manually restarted and saved or ThingWorx Platform restarted for the change to take effect.
Hello @LL_9777686
If the previous response helped you to find a solution, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards,
Toolika Dixit