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

How to create stream in eclipse extension?

Highlighted
Aquamarine

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

Re: How to create stream in eclipse extension?

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

Re: How to create stream in eclipse extension?

Thank you for your reply Sushant.

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

Re: How to create stream in eclipse extension?

@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.