Adding Services, Properties, Configuration Tables, Subscriptions, and Events
To add services, properties, and other annotations to an entity, do the following:
1. In Package Explorer, right-click on the Java file and choose the ThingWorx Source menu.
OR
In the Java editor of the entity, right-click to access the ThingWorx Source menu.
From the submenu, you can choose to add a service, property, configuration table, subscription, or event.
2. Enter the necessary information in the wizard and click Finish.
The Java and metadata.xml files are updated with the necessary annotations and XML elements.
Was this helpful?