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

Creating Groups in ThingWorx using Java SDK

SOLVED
Highlighted
Newbie

Creating Groups in ThingWorx using Java SDK

Hey IoT Community,

Currently I'm trying to use the Java SDK to create a group inside the ThingWorx platform. My attempts have yet to be successful. I was doing some reading in the documentation and it mentions the use of the class VirtualThing. Is it possible to create groups using VirtualThing? or is there another way that groups can be created? any information on this would be greatly appreciated

Use Case:

- Trying to create a new group in ThingWorx when my custom authenticator is being accessed

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Creating Groups in ThingWorx using Java SDK

Once the EMS is successfully connected, depending on the permission settings, all of the REST API is accessible, so you can use services in the model to create the group.

BEST PRACTICE!!!: Create a Service ahead of time that the EMS is allowed to invoke, which will do what is required. Do NOT allow your EMS to invoke actual Entity Services!!!

View solution in original post

2 REPLIES 2
Highlighted

Re: Creating Groups in ThingWorx using Java SDK

Once the EMS is successfully connected, depending on the permission settings, all of the REST API is accessible, so you can use services in the model to create the group.

BEST PRACTICE!!!: Create a Service ahead of time that the EMS is allowed to invoke, which will do what is required. Do NOT allow your EMS to invoke actual Entity Services!!!

View solution in original post

Highlighted

Re: Creating Groups in ThingWorx using Java SDK

Thank you for your input this was quite helpful!

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!