DateTime - customize default value

0
Hi Mendix community I’m building an appointment app and one of my entity’s attributes is a DueDate that is typically two weeks from the current appointment. I know that [%CurrentDateTime%] can be used as the default value at creation of a Date and time” attribute type. I would like to know if it is at all possible to have a simple way of creating a custom default value such as “addWeeks([%CurrentDateTime%], 2)” , without using a microflow? Something like below, or is it inevitable to use a microflow for this? Thanks for any help!
asked
2 answers
0

I think this can only be done with a microflow indeed. Either when creating the object or with and after create event.

answered
0

Thanks for the confirmation Maarten!

answered