AnsweredAssumed Answered

How to assign current date to a d:date type property in a content model?

Question asked by chsun on Nov 16, 2018
Latest reply on Nov 18, 2018 by chsun



I am defining an aspect model:

<aspect name="mt:myAspect">
        <property name="mt:effectiveDate">
            <default>(I want to use current date here)</default>

Because this property shall be mandatory, the default value cannot be an empty string (the empty string will cause errors). Can you help please?


Thank you!