2 Replies Latest reply on Jun 17, 2016 4:58 PM by mchang RSS
    mchang Newbie

    How to refresh widgets via a remote thing's event or property change

    I have a mashup that has a database thing service added to it. The service returns data from a external database table. Instead of adding a auto refresh widget to refresh at a set interval, I want the mashup to refresh when new data is added to that external database table. I can raise an event (on a remote thing that binds to a ThingWorx .NET SDK + database SDK) or I can update a boolean property to indicate a refresh is necessary, but how do I make the mashup react to the event?

     

    I assume there's a way to make a loaded mashup respond to external events such as a subscription..?

     

    Thanks,

    Michael