Skip to main content
17-Peridot
June 8, 2021
Solved

How to display notification in Mashup using WebSocket ?

  • June 8, 2021
  • 1 reply
  • 1543 views

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 

Best answer by abjain

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

1 reply

abjain15-MoonstoneAnswer
15-Moonstone
June 8, 2021

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

seanccc17-PeridotAuthor
17-Peridot
June 9, 2021

@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

15-Moonstone
June 10, 2021

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