<aspect name="mt:myAspect"> <properties> <property name="mt:effectiveDate"> <type>d:date</type> <mandatory>true</mandatory> <default>(I want to use current date here)</default> </property> </properties> </aspect>
Because this property shall be mandatory, the default value cannot be an empty string (the empty string will cause errors). Can you help please?
I imagine that from the model point of view you can set an ISO 8601 date by default.
On the other hand, in the Jeff's line, here you have a small customization for doing similar thing with cm:effectivity aspect and cm:to property (in this case the behaviour is for setting one month from the creation date).