cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

ThingWorx Foundation. Can't find method after migration to local machine

MS
5-Regular Member
5-Regular Member

ThingWorx Foundation. Can't find method after migration to local machine

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):

Screenshot_1.pngScreenshot_2.png

How can i fix this?
Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
MS
5-Regular Member
5-Regular Member
(To:MS)

Problem was solved by reinstalling ThingWorx Foundation.

 

View solution in original post

1 REPLY 1
MS
5-Regular Member
5-Regular Member
(To:MS)

Problem was solved by reinstalling ThingWorx Foundation.

 

Top Tags