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

Do we have any service to remove or detach Value Stream to Assets?

SOLVED
Highlighted
Garnet

Do we have any service to remove or detach Value Stream to Assets?

Hi All,

 

 

I know we have a service SetValueStream that can be used to add the ValueStream to an Asset. In the same way, Do we have have any service to remove or detach a Value stream to an Assets?

or we have any other options to remove the values.

Please let me know.

Thanks for your reply.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Do we have any service to remove or detach Value Stream to Assets?

Hi @koushal ,

 

As far as I know there is no out of the box service for that, but you can create a custom JavaScript service and use the SetValueStream service with an empty input like this :

me.SetValueStream({
name: "" /* THINGNAME */
});

 

I hope this helps.

View solution in original post

3 REPLIES 3
Highlighted

Re: Do we have any service to remove or detach Value Stream to Assets?

Hi @koushal ,

 

As far as I know there is no out of the box service for that, but you can create a custom JavaScript service and use the SetValueStream service with an empty input like this :

me.SetValueStream({
name: "" /* THINGNAME */
});

 

I hope this helps.

View solution in original post

Highlighted

Re: Do we have any service to remove or detach Value Stream to Assets?

HI @c_lowy,

 

Do we need to enable and restart the Asset Thing after removing the Value Stream?

or Is it fine to remove the ValueStream without restart the Thing?

Tags (1)
Highlighted

Re: Do we have any service to remove or detach Value Stream to Assets?

Hi @koushal ,

 

I believe the SetValueStream service does not require a Restart after it has been called. Service GetValueStream can be used to validate change of assigned Value Stream.

Announcements

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