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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to display notification in Mashup using WebSocket ?

seanccc
17-Peridot

How to display notification in Mashup using WebSocket ?

Hi, 

I need to  implement a notification function.    When certain event get raised from ThingWorx and is captured by the subscription ,  the mashup will display a notification message . 

 

Auto refresh widget may achieve this as a workaround ,  but I think WebSocket is  the best solution,  does ThingWorx provides OOTB function/extension for this kind of need ? 

 

Regards

Sean 

1 ACCEPTED SOLUTION

Accepted Solutions
abjain
13-Aquamarine
(To:seanccc)

@seanccc : Please check this article which might be helpful in this case: https://www.ptc.com/en/support/article/CS269820 

View solution in original post

4 REPLIES 4
abjain
13-Aquamarine
(To:seanccc)

@seanccc : Please check this article which might be helpful in this case: https://www.ptc.com/en/support/article/CS269820 

seanccc
17-Peridot
(To:abjain)

@abjain ,

 

So,  it's still a "Pull"  solution ,  I need to call the service to get the alter information regularly from the Mashup using auto refresh widget.   

 

Is there a "Push"  solution which can send message from ThingWorx server to Mashup ? 

 

Regards,

Sean

abjain
13-Aquamarine
(To:seanccc)

@seanccc : I think you will have to use auto-refresh widget for getting new values by calling services.

seanccc
17-Peridot
(To:abjain)

@abjain ,

 

So I have to pull....  but for such a common function,  it's quite necessary for ThingWorx to provide the "Push" approach I think .

 

Regards,

Sean

Top Tags