Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi all!
I'm a Dummy, so when i learn how to use thingworx i have some problem.
They are:
1. how can i bind a custom services to a button widget on a mush up!
2. stopping a timer events and set a custom timestamp for its;
3. How can i trigger an event on other event;
4. Interacting two things's properties in a subscription or a service.
Thank you!
Solved! Go to Solution.
A quick review of the ThingWorx Pub/Sub model:
An Event is a custom-defined message usually used as a Thing publishing the Event when the value of a property changes. Events can be published on other triggers.
A Subscription listens for a specific Event, then executes the Subscription's Javascript code.
An Alert is a quick way to define both an Event and the logic for when the Event is published.
A good place to understand how the pieces fit together is this guide:
https://developer.thingworx.com/resources/guides/thingworx-foundation-quickstart
This guide covers a more complicated example:
https://developer.thingworx.com/resources/guides/data-model-business-logic-guide
A quick review of the ThingWorx Pub/Sub model:
An Event is a custom-defined message usually used as a Thing publishing the Event when the value of a property changes. Events can be published on other triggers.
A Subscription listens for a specific Event, then executes the Subscription's Javascript code.
An Alert is a quick way to define both an Event and the logic for when the Event is published.
A good place to understand how the pieces fit together is this guide:
https://developer.thingworx.com/resources/guides/thingworx-foundation-quickstart
This guide covers a more complicated example:
https://developer.thingworx.com/resources/guides/data-model-business-logic-guide