cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

refreshing the datetime property after pressing Save on the item

JK_10565232
12-Amethyst

refreshing the datetime property after pressing Save on the item

Hello everyone,

I have this problem, I have properties on Thing of the DateTime type and I discovered that even though these properties are marked as persistent, they are refreshed after pressing save with the current date. How to turn it off? Is this a known bug?

 

JK_10565232_0-1698321242336.png

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi, 

I found where is problem. 

 

this happens before property is set for the first time. 

When I set the time on the first property it already held the value. 

 

Thank you for answer.

Jan

View solution in original post

2 REPLIES 2

Hello @JK_10565232 

 

Do you mean to say that when you go to Thing >> datetime property and just save it  than it gives you current date? or is it when you edit and set the current datetime value it change the date for you?

Persisting the property means it will save whatever last value you will set and save it 

 

thanks

Om 

Hi, 

I found where is problem. 

 

this happens before property is set for the first time. 

When I set the time on the first property it already held the value. 

 

Thank you for answer.

Jan

Announcements


Top Tags