Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
We was using 10 datetime remote properties in Thing from Thingtemplate in all services. Hereafter those properties wont receive data from device. So we planned to pass new Date() time in all services. Is there any option to set current time in all those properties directly instead of editing all services. ??
Solved! Go to Solution.
You can set them in composer or write a service to fill them in? You can edit the ThingTemplate as well and provide a default value for each of those properties.
You can set them in composer or write a service to fill them in? You can edit the ThingTemplate as well and provide a default value for each of those properties.
Every time when the services invoking those properties, it should fetch the current time. If iam editing the ThingTemplate to provide a default value for each of those properties, the default value which saved only will pass to services everytime. That value becomes a past value in one minute right.