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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to create stream in eclipse extension?

Sathishkumar_C
17-Peridot

How to create stream in eclipse extension?

Hi All,
I am trying to create stream with eclipse extension. I can't able create a stream. Any suggestions to create stream?

Thanks & Regards,
Sathishkumar C
3 REPLIES 3

Hi @Sathishkumar_C this should allow you to create the stream 

 

// create stream thing
es.CreateThing(streamName, streamDescription, myTag, "Stream");
// search for stream thing
StreamThing myStream = (StreamThing) EntityUtilities.findEntity(streamName, ThingworxRelationshipTypes.Thing);

Thank you for your reply Sushant.

This snippet is help to find entity right. By using this we can't create Stream.

@Sathishkumar_C sorry I somehow missed the first line i wanted to share for both create & search. I have updated the response now. Hope this will help.

Top Tags