DateTime Property in ThingTemplate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
DateTime Property in ThingTemplate
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.
- Labels:
-
Connectivity
-
Design
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.