cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform: Current date

christoph_kurtz2
Participant
0 Kudos

Hi all,

I am just creating a new smartform and want to integrate a date field in which automatically today's date is set as default value.

Can you help me how to define this? I have tried "new Date()" or @ref(new Date()), but both are not working.

Thanks in advance!

Best regards,

Christoph

Hi Christoph.

Date input does not support Date object methods. You can either choose predefined value to be object's field of type Date (e.g. ServiceCall.DueDateTime) or just date in format dd/mm/yyyy HH:mm.

Here are some docs: https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_smartforms/date-time.html

Best regards,

Adam

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_kurtz2
Participant
0 Kudos

Hi Adam,

Thanks for your reply and sorry for the late response!

Do you know if this will be available in the future? I have just seen that some smartforms features are announced for the next release 2305 and also for 2311.

Best regards,

Christoph