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

Set default value to date attribute

Former Member
0 Kudos
1,087

Hi Friends, How i can set current date as the default value for new attribute in items file ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi , Please refer the below link

https://wiki.hybris.com/display/forum/How+to+set+defaultValue+for+java.util.Date

and also refer the OOTB implementation for the same requirement, here is the name of class HistoryEntryInterceptor

Answers (0)