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
Hello, i got problem after import projects from demo to local server.
When i try to add newly created entity (Thing) to project (link - (http://support.ptc.com/help/thingworx_hc/javadoc/com/thingworx/projects/Project.html#AddEntities-java.lang.String-com.thingworx.types.TagCollection-org.json.JSONObject-)
(Also i found this topic - https://community.ptc.com/t5/ThingWorx-Developers/create-a-thing-dynamically-using-a-service-and-then-configure-it/m-p/580723#M32242)
like this:
Projects["BeerBrew Project"].AddEntities(options);
In local machine i get internal error
InternalError: Can't find method com.thingworx.projects.Project.AddEntities(object). (AddNewBrewingCard#20) |
but in my demo server this method is working (i use same code):
How can i fix this?
Thanks in advance
Solved! Go to Solution.
Problem was solved by reinstalling ThingWorx Foundation.